Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added blackbox $__COUNT_ cell model
Browse files Browse the repository at this point in the history
azonenberg committed Aug 29, 2017
1 parent 8b05822 commit a596413
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions techlibs/greenpak4/Makefile.inc
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
OBJS += techlibs/greenpak4/synth_greenpak4.o
OBJS += techlibs/greenpak4/greenpak4_dffinv.o

$(eval $(call add_share_file,share/greenpak4,techlibs/greenpak4/cells_blackbox.v))
$(eval $(call add_share_file,share/greenpak4,techlibs/greenpak4/cells_latch.v))
$(eval $(call add_share_file,share/greenpak4,techlibs/greenpak4/cells_map.v))
$(eval $(call add_share_file,share/greenpak4,techlibs/greenpak4/cells_sim.v))
17 changes: 17 additions & 0 deletions techlibs/greenpak4/cells_blackbox.v
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a596413

Please sign in to comment.