mirror of
https://github.com/annoyatron255/yosys4gal.git
synced 2024-12-22 18:52:23 +00:00
21 lines
213 B
Coq
21 lines
213 B
Coq
|
module test (
|
||
|
input clk,
|
||
|
|
||
|
output reg [0:7] counter
|
||
|
);
|
||
|
|
||
|
always @ (posedge clk) begin
|
||
|
counter <= counter - 1;
|
||
|
end
|
||
|
|
||
|
endmodule
|
||
|
|
||
|
/*module test (
|
||
|
input [1:0] a, b,
|
||
|
output [2:0] y
|
||
|
);
|
||
|
|
||
|
assign y = a + b;
|
||
|
|
||
|
endmodule*/
|