mirror of https://github.com/YosysHQ/yosys.git
15 lines
175 B
Coq
15 lines
175 B
Coq
|
module uut_always01(clock,
|
||
|
reset, count);
|
||
|
|
||
|
input clock, reset;
|
||
|
output [3:0] count;
|
||
|
reg [3:0] count;
|
||
|
|
||
|
always @(posedge clock)
|
||
|
count <= reset ?
|
||
|
0 : count + 1;
|
||
|
|
||
|
|
||
|
|
||
|
endmodule
|