projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e3ffd5
)
coolrunner2: Add INVERT parameter to some BUFGs
author
Robert Ou
<rqou@robertou.com>
Mon, 7 Aug 2017 11:01:18 +0000
(
04:01
-0700)
committer
Andrew Zonenberg
<azonenberg@drawersteak.com>
Mon, 14 Aug 2017 19:13:33 +0000
(12:13 -0700)
techlibs/coolrunner2/cells_sim.v
patch
|
blob
|
history
diff --git
a/techlibs/coolrunner2/cells_sim.v
b/techlibs/coolrunner2/cells_sim.v
index d8dca192286f5d51bdd5fc9e3e379a18d4f05069..562fb1efd9ae299befe5f2d40d9b2f4b67d1276b 100644
(file)
--- a/
techlibs/coolrunner2/cells_sim.v
+++ b/
techlibs/coolrunner2/cells_sim.v
@@
-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 = I
NVERT ? ~I : I
;
endmodule
module BUFGTS(I, O);
+ parameter INVERT = 0;
+
input I;
output O;
- assign O = I;
+ assign O = I
NVERT ? ~I : I
;
endmodule
module FDDCP (C, PRE, CLR, D, Q);