OpenSTA icon indicating copy to clipboard operation
OpenSTA copied to clipboard

Verilog assign and SPEF annotation

Open shalan opened this issue 2 years ago • 4 comments

Does OpenSTA handle assign statements in the netlist while loading SPEF files?

Loading a SPEF file to annotate a netlist that has assign statements emits warnings about nets being not connected. For example:

Warning: ~/spef/xyz-nom-t.spef line 6060, *2803 not connected to net gpio_clock_1_shifted\[0\].

The net represented by *2803 is connected to gpio_clock_1_shifted\[0\] using an assign statement in the netlist.

I confirmed that the annotation did not take place on these nets. OpenSTA does report any delay for this net.

shalan avatar Aug 18 '22 10:08 shalan

You should provide a test case

maliberty avatar Aug 18 '22 13:08 maliberty

Short of providing a testcase can you at least describe what nets the assign connects? Input? Outputs? Hierarchical module ports? The probability of fixing the problem you have is much smaller if I have to guess what the netlist looks like.

jjcherry56 avatar Aug 21 '22 22:08 jjcherry56

@shalan is this a hierarchical spef flow? If not it would be good to get the testcase so it can be fixed.

tspyrou avatar Sep 26 '22 22:09 tspyrou

I tried to reproduce this with the attached verilog/spef but it worked as expected. Maybe you can modify the attached test case to reproduce your issue.

sta113.zip

jjcherry56 avatar Sep 30 '22 18:09 jjcherry56