Removed one more genout bit.

This commit is contained in:
Ross Thompson 2021-09-11 18:42:47 -05:00
parent 00b0e6a7aa
commit 6f9983628e

View File

@ -50,13 +50,17 @@ module wallypipelinedsocwrapper (
output HMASTLOCK, output HMASTLOCK,
output HREADY, output HREADY,
// I/O Interface // I/O Interface
input [31:0] GPIOPinsIn, input [3:0] GPIOPinsIn_IO,
output [31:0] GPIOPinsOut, GPIOPinsEn, output [4:0] GPIOPinsOut_IO,
input UARTSin, input UARTSin,
output UARTSout, output UARTSout,
input ddr4_calib_complete input ddr4_calib_complete
); );
wire [31:0] GPIOPinsEn;
wire [31:0] GPIOPinsIn;
wire [31:0] GPIOPinsOut;
// to instruction memory *** remove later // to instruction memory *** remove later
wire [`XLEN-1:0] PCF; wire [`XLEN-1:0] PCF;
@ -74,10 +78,14 @@ module wallypipelinedsocwrapper (
wire [15:0] rd2; // bogus, delete when real multicycle fetch works wire [15:0] rd2; // bogus, delete when real multicycle fetch works
wire [31:0] InstrF; wire [31:0] InstrF;
assign GPIOPinsOut_IO = GPIOPinsOut[4:0];
assign GPIOPinsIn = {28'b0, GPIOPinsIn_IO};
// wrapper for fpga // wrapper for fpga
wallypipelinedsoc wallypipelinedsoc wallypipelinedsoc wallypipelinedsoc
(.clk(clk), (.clk(clk),
.reset(reset | ~ddr4_calib_complete), .reset(reset),
.HRDATAEXT(HRDATAEXT), .HRDATAEXT(HRDATAEXT),
.HREADYEXT(HREADYEXT), .HREADYEXT(HREADYEXT),
.HRESPEXT(HRESPEXT), .HRESPEXT(HRESPEXT),