Skip to content
Snippets Groups Projects
Commit 98d30cc5 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski
Browse files

wishbone/wb_lm32: drive unused ports in Xilinx primitive to 0 to ensure correct simulation

parent 13a5802c
No related merge requests found
...@@ -70,25 +70,25 @@ DSP48A1 #( ...@@ -70,25 +70,25 @@ DSP48A1 #(
.OPMODE(8'd1), .OPMODE(8'd1),
.A(al), .A(al),
.B(bl), .B(bl),
.C(), .C(48'h0),
.CARRYIN(), .CARRYIN(),
.D(), .D(18'b0),
.CEA(~stall_x), .CEA(~stall_x),
.CEB(~stall_x), .CEB(~stall_x),
.CEC(), .CEC(1'b0),
.CECARRYIN(), .CECARRYIN(1'b0),
.CED(), .CED(1'b0),
.CEM(~stall_m), .CEM(~stall_m),
.CEOPMODE(), .CEOPMODE(1'b0),
.CEP(1'b1), .CEP(1'b1),
.RSTA(rst_i), .RSTA(rst_i),
.RSTB(rst_i), .RSTB(rst_i),
.RSTC(), .RSTC(1'b0),
.RSTCARRYIN(), .RSTCARRYIN(1'b0),
.RSTD(), .RSTD(1'b0),
.RSTM(rst_i), .RSTM(rst_i),
.RSTOPMODE(), .RSTOPMODE(1'b0),
.RSTP() .RSTP(1'b0)
); );
wire [47:0] au_bl_sum; wire [47:0] au_bl_sum;
...@@ -121,23 +121,23 @@ DSP48A1 #( ...@@ -121,23 +121,23 @@ DSP48A1 #(
.B(bl_forward), .B(bl_forward),
.C({31'd0, al_bl[33:17]}), .C({31'd0, al_bl[33:17]}),
.CARRYIN(), .CARRYIN(),
.D(), .D(18'h0),
.CEA(~stall_x), .CEA(~stall_x),
.CEB(), .CEB(1'b0),
.CEC(), .CEC(1'b0),
.CECARRYIN(), .CECARRYIN(1'b0),
.CED(), .CED(1'b0),
.CEM(~stall_m), .CEM(~stall_m),
.CEOPMODE(), .CEOPMODE(1'b0),
.CEP(), .CEP(1'b0),
.RSTA(rst_i), .RSTA(rst_i),
.RSTB(), .RSTB(1'b0),
.RSTC(), .RSTC(1'b0),
.RSTCARRYIN(), .RSTCARRYIN(1'b0),
.RSTD(), .RSTD(1'b0),
.RSTM(rst_i), .RSTM(rst_i),
.RSTOPMODE(), .RSTOPMODE(1'b0),
.RSTP() .RSTP(1'b0)
); );
wire [47:0] r_full; wire [47:0] r_full;
...@@ -169,24 +169,24 @@ DSP48A1 #( ...@@ -169,24 +169,24 @@ DSP48A1 #(
.OPMODE(8'd5), .OPMODE(8'd5),
.A(bu), .A(bu),
.B(al), .B(al),
.C(), .C(48'b0),
.CARRYIN(), .CARRYIN(),
.D(), .D(18'b0),
.CEA(~stall_x), .CEA(~stall_x),
.CEB(~stall_x), .CEB(~stall_x),
.CEC(), .CEC(1'b0),
.CECARRYIN(), .CECARRYIN(1'b0),
.CED(), .CED(1'b0),
.CEM(~stall_m), .CEM(~stall_m),
.CEOPMODE(), .CEOPMODE(1'b0),
.CEP(1'b1), .CEP(1'b1),
.RSTA(rst_i), .RSTA(rst_i),
.RSTB(rst_i), .RSTB(rst_i),
.RSTC(), .RSTC(1'b0),
.RSTCARRYIN(), .RSTCARRYIN(1'b0),
.RSTD(), .RSTD(1'b0),
.RSTM(rst_i), .RSTM(rst_i),
.RSTOPMODE(), .RSTOPMODE(1'b0),
.RSTP(rst_i) .RSTP(rst_i)
); );
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment