Skip to content

Conversation

@meheff
Copy link
Collaborator

@meheff meheff commented Oct 23, 2025

Enable logic module ports like so:

module foo (
logic a,
logic b,
) ...

Expose this functionality on the C API, and add always_comb support to the C API as well.

Enable `logic` module ports like so:

  module foo (
    logic a,
    logic b,
  ) ...

Expose this functionality on the C API, and add always_comb support to the C API as well.
@proppy
Copy link
Member

proppy commented Oct 23, 2025

Related #3104 (and wip #3106), but your solution is probably better and easier to land!

@meheff
Copy link
Collaborator Author

meheff commented Oct 23, 2025

Ah, I didn't see those. Probably the next step is to change codegen (module_builder.cc) to use logic instead of wire and reg. when use_verilog is true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants