mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-22 16:45:32 +00:00
16 lines
181 B
Text
16 lines
181 B
Text
read_verilog -icells << EOT
|
|
module top(...);
|
|
|
|
input [1:0] D;
|
|
input C;
|
|
output [1:0] Q;
|
|
|
|
always @(posedge C)
|
|
Q <= D;
|
|
|
|
endmodule
|
|
EOT
|
|
|
|
proc
|
|
|
|
equiv_opt -assert techmap -map +/dff2ff.v
|