2024-03-11 07:58:15 -05:00
|
|
|
(* blackbox *)
|
|
|
|
module NX_CKS(CKI, CMD, CKO);
|
|
|
|
input CKI;
|
|
|
|
output CKO;
|
|
|
|
input CMD;
|
|
|
|
parameter ck_edge = 1'b0;
|
|
|
|
endmodule
|
|
|
|
|
2024-03-11 09:26:18 -05:00
|
|
|
(* blackbox *)
|
|
|
|
module NX_DSP(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21
|
|
|
|
, A22, A23, A24, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18
|
|
|
|
, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21
|
|
|
|
, C22, C23, C24, C25, C26, C27, C28, C29, C30, C31, C32, C33, C34, C35, C36, CAI1, CAI2, CAI3, CAI4, CAI5, CAI6
|
|
|
|
, CAI7, CAI8, CAI9, CAI10, CAI11, CAI12, CAI13, CAI14, CAI15, CAI16, CAI17, CAI18, CAO1, CAO2, CAO3, CAO4, CAO5, CAO6, CAO7, CAO8, CAO9
|
|
|
|
, CAO10, CAO11, CAO12, CAO13, CAO14, CAO15, CAO16, CAO17, CAO18, CBI1, CBI2, CBI3, CBI4, CBI5, CBI6, CBI7, CBI8, CBI9, CBI10, CBI11, CBI12
|
|
|
|
, CBI13, CBI14, CBI15, CBI16, CBI17, CBI18, CBO1, CBO2, CBO3, CBO4, CBO5, CBO6, CBO7, CBO8, CBO9, CBO10, CBO11, CBO12, CBO13, CBO14, CBO15
|
|
|
|
, CBO16, CBO17, CBO18, CCI, CCO, CI, CK, CO, CO37, CO49, CZI1, CZI2, CZI3, CZI4, CZI5, CZI6, CZI7, CZI8, CZI9, CZI10, CZI11
|
|
|
|
, CZI12, CZI13, CZI14, CZI15, CZI16, CZI17, CZI18, CZI19, CZI20, CZI21, CZI22, CZI23, CZI24, CZI25, CZI26, CZI27, CZI28, CZI29, CZI30, CZI31, CZI32
|
|
|
|
, CZI33, CZI34, CZI35, CZI36, CZI37, CZI38, CZI39, CZI40, CZI41, CZI42, CZI43, CZI44, CZI45, CZI46, CZI47, CZI48, CZI49, CZI50, CZI51, CZI52, CZI53
|
|
|
|
, CZI54, CZI55, CZI56, CZO1, CZO2, CZO3, CZO4, CZO5, CZO6, CZO7, CZO8, CZO9, CZO10, CZO11, CZO12, CZO13, CZO14, CZO15, CZO16, CZO17, CZO18
|
|
|
|
, CZO19, CZO20, CZO21, CZO22, CZO23, CZO24, CZO25, CZO26, CZO27, CZO28, CZO29, CZO30, CZO31, CZO32, CZO33, CZO34, CZO35, CZO36, CZO37, CZO38, CZO39
|
|
|
|
, CZO40, CZO41, CZO42, CZO43, CZO44, CZO45, CZO46, CZO47, CZO48, CZO49, CZO50, CZO51, CZO52, CZO53, CZO54, CZO55, CZO56, D1, D2, D3, D4
|
|
|
|
, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16, D17, D18, OVF, R, RZ, WE, Z1, Z2, Z3
|
|
|
|
, Z4, Z5, Z6, Z7, Z8, Z9, Z10, Z11, Z12, Z13, Z14, Z15, Z16, Z17, Z18, Z19, Z20, Z21, Z22, Z23, Z24
|
|
|
|
, Z25, Z26, Z27, Z28, Z29, Z30, Z31, Z32, Z33, Z34, Z35, Z36, Z37, Z38, Z39, Z40, Z41, Z42, Z43, Z44, Z45
|
|
|
|
, Z46, Z47, Z48, Z49, Z50, Z51, Z52, Z53, Z54, Z55, Z56);
|
|
|
|
input A1;
|
|
|
|
input A10;
|
|
|
|
input A11;
|
|
|
|
input A12;
|
|
|
|
input A13;
|
|
|
|
input A14;
|
|
|
|
input A15;
|
|
|
|
input A16;
|
|
|
|
input A17;
|
|
|
|
input A18;
|
|
|
|
input A19;
|
|
|
|
input A2;
|
|
|
|
input A20;
|
|
|
|
input A21;
|
|
|
|
input A22;
|
|
|
|
input A23;
|
|
|
|
input A24;
|
|
|
|
input A3;
|
|
|
|
input A4;
|
|
|
|
input A5;
|
|
|
|
input A6;
|
|
|
|
input A7;
|
|
|
|
input A8;
|
|
|
|
input A9;
|
|
|
|
input B1;
|
|
|
|
input B10;
|
|
|
|
input B11;
|
|
|
|
input B12;
|
|
|
|
input B13;
|
|
|
|
input B14;
|
|
|
|
input B15;
|
|
|
|
input B16;
|
|
|
|
input B17;
|
|
|
|
input B18;
|
|
|
|
input B2;
|
|
|
|
input B3;
|
|
|
|
input B4;
|
|
|
|
input B5;
|
|
|
|
input B6;
|
|
|
|
input B7;
|
|
|
|
input B8;
|
|
|
|
input B9;
|
|
|
|
input C1;
|
|
|
|
input C10;
|
|
|
|
input C11;
|
|
|
|
input C12;
|
|
|
|
input C13;
|
|
|
|
input C14;
|
|
|
|
input C15;
|
|
|
|
input C16;
|
|
|
|
input C17;
|
|
|
|
input C18;
|
|
|
|
input C19;
|
|
|
|
input C2;
|
|
|
|
input C20;
|
|
|
|
input C21;
|
|
|
|
input C22;
|
|
|
|
input C23;
|
|
|
|
input C24;
|
|
|
|
input C25;
|
|
|
|
input C26;
|
|
|
|
input C27;
|
|
|
|
input C28;
|
|
|
|
input C29;
|
|
|
|
input C3;
|
|
|
|
input C30;
|
|
|
|
input C31;
|
|
|
|
input C32;
|
|
|
|
input C33;
|
|
|
|
input C34;
|
|
|
|
input C35;
|
|
|
|
input C36;
|
|
|
|
input C4;
|
|
|
|
input C5;
|
|
|
|
input C6;
|
|
|
|
input C7;
|
|
|
|
input C8;
|
|
|
|
input C9;
|
|
|
|
input CAI1;
|
|
|
|
input CAI10;
|
|
|
|
input CAI11;
|
|
|
|
input CAI12;
|
|
|
|
input CAI13;
|
|
|
|
input CAI14;
|
|
|
|
input CAI15;
|
|
|
|
input CAI16;
|
|
|
|
input CAI17;
|
|
|
|
input CAI18;
|
|
|
|
input CAI2;
|
|
|
|
input CAI3;
|
|
|
|
input CAI4;
|
|
|
|
input CAI5;
|
|
|
|
input CAI6;
|
|
|
|
input CAI7;
|
|
|
|
input CAI8;
|
|
|
|
input CAI9;
|
|
|
|
output CAO1;
|
|
|
|
output CAO10;
|
|
|
|
output CAO11;
|
|
|
|
output CAO12;
|
|
|
|
output CAO13;
|
|
|
|
output CAO14;
|
|
|
|
output CAO15;
|
|
|
|
output CAO16;
|
|
|
|
output CAO17;
|
|
|
|
output CAO18;
|
|
|
|
output CAO2;
|
|
|
|
output CAO3;
|
|
|
|
output CAO4;
|
|
|
|
output CAO5;
|
|
|
|
output CAO6;
|
|
|
|
output CAO7;
|
|
|
|
output CAO8;
|
|
|
|
output CAO9;
|
|
|
|
input CBI1;
|
|
|
|
input CBI10;
|
|
|
|
input CBI11;
|
|
|
|
input CBI12;
|
|
|
|
input CBI13;
|
|
|
|
input CBI14;
|
|
|
|
input CBI15;
|
|
|
|
input CBI16;
|
|
|
|
input CBI17;
|
|
|
|
input CBI18;
|
|
|
|
input CBI2;
|
|
|
|
input CBI3;
|
|
|
|
input CBI4;
|
|
|
|
input CBI5;
|
|
|
|
input CBI6;
|
|
|
|
input CBI7;
|
|
|
|
input CBI8;
|
|
|
|
input CBI9;
|
|
|
|
output CBO1;
|
|
|
|
output CBO10;
|
|
|
|
output CBO11;
|
|
|
|
output CBO12;
|
|
|
|
output CBO13;
|
|
|
|
output CBO14;
|
|
|
|
output CBO15;
|
|
|
|
output CBO16;
|
|
|
|
output CBO17;
|
|
|
|
output CBO18;
|
|
|
|
output CBO2;
|
|
|
|
output CBO3;
|
|
|
|
output CBO4;
|
|
|
|
output CBO5;
|
|
|
|
output CBO6;
|
|
|
|
output CBO7;
|
|
|
|
output CBO8;
|
|
|
|
output CBO9;
|
|
|
|
input CCI;
|
|
|
|
output CCO;
|
|
|
|
input CI;
|
|
|
|
input CK;
|
|
|
|
output CO;
|
|
|
|
output CO37;
|
|
|
|
output CO49;
|
|
|
|
input CZI1;
|
|
|
|
input CZI10;
|
|
|
|
input CZI11;
|
|
|
|
input CZI12;
|
|
|
|
input CZI13;
|
|
|
|
input CZI14;
|
|
|
|
input CZI15;
|
|
|
|
input CZI16;
|
|
|
|
input CZI17;
|
|
|
|
input CZI18;
|
|
|
|
input CZI19;
|
|
|
|
input CZI2;
|
|
|
|
input CZI20;
|
|
|
|
input CZI21;
|
|
|
|
input CZI22;
|
|
|
|
input CZI23;
|
|
|
|
input CZI24;
|
|
|
|
input CZI25;
|
|
|
|
input CZI26;
|
|
|
|
input CZI27;
|
|
|
|
input CZI28;
|
|
|
|
input CZI29;
|
|
|
|
input CZI3;
|
|
|
|
input CZI30;
|
|
|
|
input CZI31;
|
|
|
|
input CZI32;
|
|
|
|
input CZI33;
|
|
|
|
input CZI34;
|
|
|
|
input CZI35;
|
|
|
|
input CZI36;
|
|
|
|
input CZI37;
|
|
|
|
input CZI38;
|
|
|
|
input CZI39;
|
|
|
|
input CZI4;
|
|
|
|
input CZI40;
|
|
|
|
input CZI41;
|
|
|
|
input CZI42;
|
|
|
|
input CZI43;
|
|
|
|
input CZI44;
|
|
|
|
input CZI45;
|
|
|
|
input CZI46;
|
|
|
|
input CZI47;
|
|
|
|
input CZI48;
|
|
|
|
input CZI49;
|
|
|
|
input CZI5;
|
|
|
|
input CZI50;
|
|
|
|
input CZI51;
|
|
|
|
input CZI52;
|
|
|
|
input CZI53;
|
|
|
|
input CZI54;
|
|
|
|
input CZI55;
|
|
|
|
input CZI56;
|
|
|
|
input CZI6;
|
|
|
|
input CZI7;
|
|
|
|
input CZI8;
|
|
|
|
input CZI9;
|
|
|
|
output CZO1;
|
|
|
|
output CZO10;
|
|
|
|
output CZO11;
|
|
|
|
output CZO12;
|
|
|
|
output CZO13;
|
|
|
|
output CZO14;
|
|
|
|
output CZO15;
|
|
|
|
output CZO16;
|
|
|
|
output CZO17;
|
|
|
|
output CZO18;
|
|
|
|
output CZO19;
|
|
|
|
output CZO2;
|
|
|
|
output CZO20;
|
|
|
|
output CZO21;
|
|
|
|
output CZO22;
|
|
|
|
output CZO23;
|
|
|
|
output CZO24;
|
|
|
|
output CZO25;
|
|
|
|
output CZO26;
|
|
|
|
output CZO27;
|
|
|
|
output CZO28;
|
|
|
|
output CZO29;
|
|
|
|
output CZO3;
|
|
|
|
output CZO30;
|
|
|
|
output CZO31;
|
|
|
|
output CZO32;
|
|
|
|
output CZO33;
|
|
|
|
output CZO34;
|
|
|
|
output CZO35;
|
|
|
|
output CZO36;
|
|
|
|
output CZO37;
|
|
|
|
output CZO38;
|
|
|
|
output CZO39;
|
|
|
|
output CZO4;
|
|
|
|
output CZO40;
|
|
|
|
output CZO41;
|
|
|
|
output CZO42;
|
|
|
|
output CZO43;
|
|
|
|
output CZO44;
|
|
|
|
output CZO45;
|
|
|
|
output CZO46;
|
|
|
|
output CZO47;
|
|
|
|
output CZO48;
|
|
|
|
output CZO49;
|
|
|
|
output CZO5;
|
|
|
|
output CZO50;
|
|
|
|
output CZO51;
|
|
|
|
output CZO52;
|
|
|
|
output CZO53;
|
|
|
|
output CZO54;
|
|
|
|
output CZO55;
|
|
|
|
output CZO56;
|
|
|
|
output CZO6;
|
|
|
|
output CZO7;
|
|
|
|
output CZO8;
|
|
|
|
output CZO9;
|
|
|
|
input D1;
|
|
|
|
input D10;
|
|
|
|
input D11;
|
|
|
|
input D12;
|
|
|
|
input D13;
|
|
|
|
input D14;
|
|
|
|
input D15;
|
|
|
|
input D16;
|
|
|
|
input D17;
|
|
|
|
input D18;
|
|
|
|
input D2;
|
|
|
|
input D3;
|
|
|
|
input D4;
|
|
|
|
input D5;
|
|
|
|
input D6;
|
|
|
|
input D7;
|
|
|
|
input D8;
|
|
|
|
input D9;
|
|
|
|
output OVF;
|
|
|
|
input R;
|
|
|
|
input RZ;
|
|
|
|
input WE;
|
|
|
|
output Z1;
|
|
|
|
output Z10;
|
|
|
|
output Z11;
|
|
|
|
output Z12;
|
|
|
|
output Z13;
|
|
|
|
output Z14;
|
|
|
|
output Z15;
|
|
|
|
output Z16;
|
|
|
|
output Z17;
|
|
|
|
output Z18;
|
|
|
|
output Z19;
|
|
|
|
output Z2;
|
|
|
|
output Z20;
|
|
|
|
output Z21;
|
|
|
|
output Z22;
|
|
|
|
output Z23;
|
|
|
|
output Z24;
|
|
|
|
output Z25;
|
|
|
|
output Z26;
|
|
|
|
output Z27;
|
|
|
|
output Z28;
|
|
|
|
output Z29;
|
|
|
|
output Z3;
|
|
|
|
output Z30;
|
|
|
|
output Z31;
|
|
|
|
output Z32;
|
|
|
|
output Z33;
|
|
|
|
output Z34;
|
|
|
|
output Z35;
|
|
|
|
output Z36;
|
|
|
|
output Z37;
|
|
|
|
output Z38;
|
|
|
|
output Z39;
|
|
|
|
output Z4;
|
|
|
|
output Z40;
|
|
|
|
output Z41;
|
|
|
|
output Z42;
|
|
|
|
output Z43;
|
|
|
|
output Z44;
|
|
|
|
output Z45;
|
|
|
|
output Z46;
|
|
|
|
output Z47;
|
|
|
|
output Z48;
|
|
|
|
output Z49;
|
|
|
|
output Z5;
|
|
|
|
output Z50;
|
|
|
|
output Z51;
|
|
|
|
output Z52;
|
|
|
|
output Z53;
|
|
|
|
output Z54;
|
|
|
|
output Z55;
|
|
|
|
output Z56;
|
|
|
|
output Z6;
|
|
|
|
output Z7;
|
|
|
|
output Z8;
|
|
|
|
output Z9;
|
|
|
|
parameter raw_config0 = 20'b00000000000000000000;
|
|
|
|
parameter raw_config1 = 19'b0000000000000000000;
|
|
|
|
parameter raw_config2 = 13'b0000000000000;
|
|
|
|
parameter raw_config3 = 7'b0000000;
|
|
|
|
parameter std_mode = "";
|
|
|
|
endmodule
|
|
|
|
|