yosys/tests/various/abstract.ys

15 lines
179 B
Plaintext
Raw Normal View History

2025-01-30 10:26:23 -06:00
read_verilog <<EOT
module half_clock (CLK, Q);
input CLK;
output reg Q;
reg magic;
always @(posedge CLK)
Q <= ~Q;
endmodule
EOT
proc
abstract -state -enablen magic
# show