diff options
| author | Miodrag Milanovic <mmicko@gmail.com> | 2023-03-18 18:11:50 +0100 |
|---|---|---|
| committer | myrtle <gatecat@ds0.me> | 2023-03-20 09:58:41 +0100 |
| commit | ff9f1fb86e41eb59a92590efe03423f15a3d9cc0 (patch) | |
| tree | 342b946a62ff3172c0f43817b8e21a3af2f0306b /techlibs/machxo2/cells_map.v | |
| parent | 4d7e9e2e5d34a899d0ebff2b666b0fccfa9405bc (diff) | |
| download | yosys-ff9f1fb86e41eb59a92590efe03423f15a3d9cc0.tar.gz yosys-ff9f1fb86e41eb59a92590efe03423f15a3d9cc0.tar.bz2 yosys-ff9f1fb86e41eb59a92590efe03423f15a3d9cc0.zip | |
Start unification effort for machxo2 and ecp5
Diffstat (limited to 'techlibs/machxo2/cells_map.v')
| -rw-r--r-- | techlibs/machxo2/cells_map.v | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/techlibs/machxo2/cells_map.v b/techlibs/machxo2/cells_map.v index 9c370f246..33328df5f 100644 --- a/techlibs/machxo2/cells_map.v +++ b/techlibs/machxo2/cells_map.v @@ -25,10 +25,6 @@ module \$lut (A, Y); endmodule // DFFs -module \$_DFF_P_ (input D, C, output Q); FACADE_FF #(.CEMUX("1"), .CLKMUX("CLK"), .LSRMUX("LSR"), .REGSET("RESET")) _TECHMAP_REPLACE_ (.CLK(C), .LSR(1'b0), .DI(D), .Q(Q)); endmodule +module \$_DFF_P_ (input D, C, output Q); TRELLIS_FF #(.CEMUX("1"), .CLKMUX("CLK"), .LSRMUX("LSR"), .REGSET("RESET")) _TECHMAP_REPLACE_ (.CLK(C), .LSR(1'b0), .DI(D), .Q(Q)); endmodule -// IO- "$__" cells for the iopadmap pass. -module \$__FACADE_OUTPAD (input I, output O); FACADE_IO #(.DIR("OUTPUT")) _TECHMAP_REPLACE_ (.PAD(O), .I(I), .T(1'b0)); endmodule -module \$__FACADE_INPAD (input I, output O); FACADE_IO #(.DIR("INPUT")) _TECHMAP_REPLACE_ (.PAD(I), .O(O)); endmodule -module \$__FACADE_TOUTPAD (input I, T, output O); FACADE_IO #(.DIR("OUTPUT")) _TECHMAP_REPLACE_ (.PAD(O), .I(I), .T(T)); endmodule -module \$__FACADE_TINOUTPAD (input I, T, output O, inout B); FACADE_IO #(.DIR("BIDIR")) _TECHMAP_REPLACE_ (.PAD(B), .I(I), .O(O), .T(T)); endmodule +`include "cells_io.vh" |
