Skip to content

Verilog attributes not kept when verilog is generated #206

Description

@fjullien

Hi,

I'm working on a case were I use custom Verilog attributes. For example:

...
  wire leaf0_y;
  wire leaf1_y;
  wire leaf2_y;

  (* myattr="test" *)
  wire [5:0]    test_mid;
...

I can see the attribut being present in the ast and I can find the hdlAttributes in the parsed module.
However, we I generate the Verilog, the attributes are not present.

...
    wire leaf0_y;
    wire leaf1_y;
    wire leaf2_y;
    wire[5:0] test_mid;
...

Is this a known behavior?

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions