Debian Codegraph @

legacy/example/example.v

raw
1 module top ( out, clk, reset );
2 output out;
3 input clk, reset;
4 reg out;
5
6 always @(posedge clk, posedge reset)
7 if (reset)
8 out <= 0;
9 else
10 out <= ~out;
11 endmodule