mirror of https://github.com/YosysHQ/yosys.git
15 lines
179 B
Plaintext
15 lines
179 B
Plaintext
|
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
|