mirror of https://github.com/openXC7/prjxray.git
12 lines
163 B
Coq
12 lines
163 B
Coq
|
|
module top(input clk, stb, di, output do);
|
||
|
|
|
||
|
|
reg [31:0] counter = 0;
|
||
|
|
|
||
|
|
assign do = &counter;
|
||
|
|
|
||
|
|
always @(posedge clk) begin
|
||
|
|
counter <= counter + 1;
|
||
|
|
end
|
||
|
|
|
||
|
|
endmodule
|