3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-08 04:01:25 +00:00

Added blackbox $__COUNT_ cell model

This commit is contained in:
Andrew Zonenberg 2017-08-29 14:17:29 -07:00
parent 80aaf50302
commit fc0c7f74dc
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,17 @@
module \$__COUNT_ (CE, CLK, OUT, POUT, RST, UP);
input wire CE;
input wire CLK;
output reg OUT;
output reg[WIDTH-1:0] POUT;
input wire RST;
input wire UP;
parameter COUNT_TO = 1;
parameter RESET_MODE = "RISING";
parameter HAS_POUT = 0;
parameter HAS_CE = 0;
parameter WIDTH = 8;
parameter DIRECTION = "DOWN";
endmodule