-
Hi, I am trying to find a way to automatically convert GHDL's PSL asserts to a HW-ready checker. I can import VHDL file with embedded PSL to yosys, and it seems that all asserts are routed to $assert cells. As the $assert prototype doesn't have any output, I cannot just map it to another representation with output (or can I ?) The wanted outcome is to route the inputs (assert and enable) of $assert to a wire (through and port) and route that wire to a new external port. Can this be achieved without manual intervention? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The
|
Beta Was this translation helpful? Give feedback.
-
By the way, #3610 adds a pass to do the same thing while keeping the hierarchy intact and routing the signals up through multiple levels to outputs on the top module. |
Beta Was this translation helpful? Give feedback.
The
expose -evert
command can in fact do that, and I think the following yosys script using it might do what you're asking for: