update wrappers

This commit is contained in:
Kevin Kim 2023-08-24 09:00:17 -07:00
parent 97593d5a57
commit b8522c4987
3 changed files with 9 additions and 8 deletions

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////// ///////////////////////////////////////////
// drsu.sv // drsuwrapper.sv
// //
// Written: kekim@hmc.edu // Written: kekim@hmc.edu
// Modified:19 May 2023 // Modified:19 May 2023
@ -29,6 +29,7 @@
import cvw::*; import cvw::*;
`include "parameter-defs.vh"
module drsuwrapper ( module drsuwrapper (
input logic clk, input logic clk,
input logic reset, input logic reset,
@ -57,7 +58,7 @@ module drsuwrapper(
); );
//`include "parameter-defs.vh" //`include "parameter-defs.vh"
drsu #(P) d(.*); drsu #(P) drsucore(.*);
endmodule endmodule

View File

@ -30,18 +30,19 @@
import cvw::*; import cvw::*;
`include "parameter-defs.vh"
module wallypipelinedcorewrapper ( module wallypipelinedcorewrapper (
input logic clk, reset, input logic clk, reset,
// Privileged // Privileged
input logic MTimerInt, MExtInt, SExtInt, MSwInt, input logic MTimerInt, MExtInt, SExtInt, MSwInt,
input logic [63:0] MTIME_CLINT, input logic [63:0] MTIME_CLINT,
// Bus Interface // Bus Interface
input logic [AHBW-1:0] HRDATA, input logic [32-1:0] HRDATA,
input logic HREADY, HRESP, input logic HREADY, HRESP,
output logic HCLK, HRESETn, output logic HCLK, HRESETn,
output logic [PA_BITS-1:0] HADDR, output logic [34-1:0] HADDR,
output logic [AHBW-1:0] HWDATA, output logic [32-1:0] HWDATA,
output logic [XLEN/8-1:0] HWSTRB, output logic [32/8-1:0] HWSTRB,
output logic HWRITE, output logic HWRITE,
output logic [2:0] HSIZE, output logic [2:0] HSIZE,
output logic [2:0] HBURST, output logic [2:0] HBURST,
@ -49,7 +50,6 @@ module wallypipelinedcorewrapper (
output logic [1:0] HTRANS, output logic [1:0] HTRANS,
output logic HMASTLOCK output logic HMASTLOCK
); );
`include "parameter-defs.vh"
wallypipelinedcore #(P) core(.*); wallypipelinedcore #(P) core(.*);