Replies: 4 comments 3 replies
-
This should work. What architecture are you targeting and what script are you using? |
Beta Was this translation helpful? Give feedback.
-
my test.v: assign clkg=latch; my script: dfflibmap -liberty sk130_liberty_file |
Beta Was this translation helpful? Give feedback.
-
Your script is not mapping latches ( To map latches you would use an architecture-specific techmap file (e.g. this) and use the commands
|
Beta Was this translation helpful? Give feedback.
-
@nakengelhardt Shouldn't this be done automatically from the liberty file as for dfflibmap? With the same function or a similar one? |
Beta Was this translation helpful? Give feedback.
-
I have a very simple piece of verilog code describing a latch:
always @ (clk or data) begin
if (~clk) latch<=data
end
after yosys synthesis, the netlist looks as below:
always @*
if(!clk) latch=data;
Suppose that this is very simple latch description, yosys should support this, anybody could give me some suggestion? thanks
Beta Was this translation helpful? Give feedback.
All reactions