aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ecp5/abc_unmap.v
blob: 0f918c202048e1e62cbbe366d465837c64f72f7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// ---------------------------------------

module \$__ABC_DPR16X4_COMB (input [3:0] A, S, output [3:0] Y);
    assign Y = A;
endmodule

module \$__ABC_DPR16X4_SEQ (
	input  [3:0] DI,
	input  [3:0] WAD,
	input        WRE,
	input        WCK,
	input  [3:0] RAD,
	output [3:0] DO
);
	parameter WCKMUX = "WCK";
	parameter WREMUX = "WRE";
	parameter [63:0] INITVAL = 64'h0000000000000000;

    TRELLIS_DPR16X4 #(
      .WCKMUX(WCKMUX), .WREMUX(WREMUX), .INITVAL(INITVAL)
    ) _TECHMAP_REPLACE_ (
      .DI(DI), .WAD(WAD), .WRE(WRE), .WCK(WCK),
      .RAD(RAD), .DO(DO)
    );
endmodule