diff options
| author | Clifford Wolf <clifford@clifford.at> | 2019-04-22 09:09:27 +0200 |
|---|---|---|
| committer | Clifford Wolf <clifford@clifford.at> | 2019-04-22 09:09:27 +0200 |
| commit | 913659d644c9a74497a387a86326aeafc0a99216 (patch) | |
| tree | 87c8cc930157c0931b2e80b5b9423c720dec8a97 /techlibs/gowin/cells_map.v | |
| parent | cf1ba46fa029468869fb3af468d18ad72c8a9c4a (diff) | |
| parent | f9272fc56d7179f04a9f776bf056eedfc33dd358 (diff) | |
| download | yosys-913659d644c9a74497a387a86326aeafc0a99216.tar.gz yosys-913659d644c9a74497a387a86326aeafc0a99216.tar.bz2 yosys-913659d644c9a74497a387a86326aeafc0a99216.zip | |
Merge branch 'master' of https://github.com/dh73/yosys_gowin into dh73-master
Diffstat (limited to 'techlibs/gowin/cells_map.v')
| -rw-r--r-- | techlibs/gowin/cells_map.v | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/techlibs/gowin/cells_map.v b/techlibs/gowin/cells_map.v index e1f85effa..ebdc88a0a 100644 --- a/techlibs/gowin/cells_map.v +++ b/techlibs/gowin/cells_map.v @@ -1,5 +1,9 @@ module \$_DFF_N_ (input D, C, output Q); DFFN _TECHMAP_REPLACE_ (.D(D), .Q(Q), .CLK(C)); endmodule -module \$_DFF_P_ (input D, C, output Q); DFF _TECHMAP_REPLACE_ (.D(D), .Q(Q), .CLK(C)); endmodule +module \$_DFF_P_ #(parameter INIT = 1'b0) (input D, C, output Q); DFF #(.INIT(INIT)) _TECHMAP_REPLACE_ (.D(D), .Q(Q), .CLK(C)); endmodule + +module \$__DFFS_PN0_ (input D, C, R, output Q); DFFR _TECHMAP_REPLACE_ (.D(D), .Q(Q), .CLK(C), .RESET(!R)); endmodule +module \$__DFFS_PP0_ (input D, C, R, output Q); DFFR _TECHMAP_REPLACE_ (.D(D), .Q(Q), .CLK(C), .RESET(R)); endmodule +module \$__DFFS_PP1_ (input D, C, R, output Q); DFFR _TECHMAP_REPLACE_ (.D(D), .Q(Q), .CLK(C), .RESET(R)); endmodule module \$lut (A, Y); parameter WIDTH = 0; |
