Merge remote-tracking branch 'origin/master' into xc7dsp
[yosys.git] / techlibs / ecp5 / abc_map.v
1 // ---------------------------------------
2
3 module TRELLIS_DPR16X4 (
4 input [3:0] DI,
5 input [3:0] WAD,
6 input WRE,
7 input WCK,
8 input [3:0] RAD,
9 output [3:0] DO
10 );
11 parameter WCKMUX = "WCK";
12 parameter WREMUX = "WRE";
13 parameter [63:0] INITVAL = 64'h0000000000000000;
14 wire [3:0] \$DO ;
15
16 TRELLIS_DPR16X4 #(
17 .WCKMUX(WCKMUX), .WREMUX(WREMUX), .INITVAL(INITVAL)
18 ) _TECHMAP_REPLACE_ (
19 .DI(DI), .WAD(WAD), .WRE(WRE), .WCK(WCK),
20 .RAD(RAD), .DO(\$DO )
21 );
22
23 \$__ABC_DPR16X4_COMB do (.A(\$DO ), .S(RAD), .Y(DO));
24 endmodule