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

Moved simple xilinx counter sim example to subdir

This commit is contained in:
Clifford Wolf 2013-10-27 09:30:17 +01:00
parent 02f321b6fc
commit 90b016716b
3 changed files with 0 additions and 0 deletions

View file

@ -1,12 +0,0 @@
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