Open mithro opened 6 years ago
This ultimately depends on support for these in a parser/elaborator that gives us useful output. At the moment Yosys isn't even able to ignore them, let alone handle them (see Yosys #506).
I think Icarus Verilog is the only open source tool at the moment that supports them, but I don't know if we can get any output from that in a useful form. Maybe it would be easier and cleaner to add support for them in Yosys (e.g. so it dumped them as attributes or similar in the JSON) in the long run though.
Please take a look at https://github.com/YosysHQ/yosys/pull/510 as a starting point. (Parsing done, but no AST created).
Verilog To Routing supports Post Implementation Timing Simulation by generating a "Standard Delay Fromat (SDF)" file. Maybe we should use that file format instead?
Currently we are using Verilog attributes for timing information because Yosys doesn't support
specify
blocks.specify
blocks are actually the proper way to provide timing information in Verilog, see below;From http://verilog.renerta.com/source/vrg00044.htm;