blob: 91f1ca16d74b0dddc8d5f8bcaec79af3f3763a98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
module uut_always02(clock,
reset, count);
input clock, reset;
output [3:0] count;
reg [3:0] count;
always @(posedge clock) begin
count <= count + 1;
if (reset)
count <= 0;
end
endmodule
|