Skip to content

Incorrect wire width in testbench when IO name is a substring of internal net name #108

Description

@chiplet

The following module definition results in a testbench where clock_se signal in the generated testbench takes its width from the internal clock_select signal. This seems to be related with clock_se being a substring of the internal clock_select net name. There is probably something off with the verilog parsing logic, resulting in false positives from the internal nets.

module foo(
  input         clock_se,
  input         clock_diff,
  ...
);

  // internal nets
  wire [2:0] clock_select = ...

endmodule;

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions