yosys/tests/techmap/adff2dff.ys

20 lines
240 B
Plaintext
Raw Normal View History

read_verilog -icells << EOT
module top(...);
input [1:0] D;
input C, R;
output [1:0] Q;
always @(posedge C, posedge R)
if (R)
Q <= 0;
else
Q <= D;
endmodule
EOT
proc
2022-08-30 06:56:05 -05:00
#equiv_opt -assert -async2sync techmap -map +/adff2dff.v