3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-28 03:15:50 +00:00

Renamed techlibs/xilinx7 to techlibs/xilinx

This commit is contained in:
Clifford Wolf 2013-10-26 22:29:40 +02:00
parent 4007b41d40
commit d635f8adaa
8 changed files with 0 additions and 0 deletions

12
techlibs/xilinx/counter.v Normal file
View file

@ -0,0 +1,12 @@
module counter (clk, rst, en, count);
input clk, rst, en;
output reg [3:0] count;
always @(posedge clk)
if (rst)
count <= 4'd0;
else if (en)
count <= count + 4'd1;
endmodule