Skip to content

Commit

Permalink
coolrunner2: Add INVERT parameter to some BUFGs
Browse files Browse the repository at this point in the history
ArcaneNibble authored and azonenberg committed Aug 14, 2017
1 parent 1e3ffd5 commit 78fd24f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions techlibs/coolrunner2/cells_sim.v
Original file line number Diff line number Diff line change
@@ -143,17 +143,21 @@ module BUFG(I, O);
endmodule

module BUFGSR(I, O);
parameter INVERT = 0;

input I;
output O;

assign O = I;
assign O = INVERT ? ~I : I;
endmodule

module BUFGTS(I, O);
parameter INVERT = 0;

input I;
output O;

assign O = I;
assign O = INVERT ? ~I : I;
endmodule

module FDDCP (C, PRE, CLR, D, Q);

0 comments on commit 78fd24f

Please sign in to comment.