Merge branch 'sram' of github.com:Ciliphen/DC-CA-SA-Lab into sram

This commit is contained in:
Liphen 2024-05-11 14:50:03 +08:00
commit 140dad44a8
1 changed files with 9 additions and 9 deletions

View File

@ -13,19 +13,19 @@ module top_sram_wrapper(
input [31:0] inst_sram_rdata,
// data sram interface
output data_sram_en,
output [ 8:0] data_sram_wen,
output [ 7:0] data_sram_wen,
output [31:0] data_sram_addr,
output [64:0] data_sram_wdata,
input [64:0] data_sram_rdata,
output [63:0] data_sram_wdata,
input [63:0] data_sram_rdata,
// trace debug interface
output debug_commit,
output [63:0] debug_pc,
output [4:0 ] debug_rf_wnum,
output [63:0] debug_rf_wdata,
// sram
output [7:0] io_debug_sram_wen,
output [31:0] io_debug_sram_waddr,
output [63:0] io_debug_sram_wdata
output [7:0] debug_sram_wen,
output [31:0] debug_sram_waddr,
output [63:0] debug_sram_wdata
);
@ -54,9 +54,9 @@ PuaCpu core(
.io_debug_rf_wnum (debug_rf_wnum),
.io_debug_rf_wdata (debug_rf_wdata),
// sram
.io_debug_sram_wen (io_debug_sram_wen),
.io_debug_sram_waddr (io_debug_sram_waddr),
.io_debug_sram_wdata (io_debug_sram_wdata)
.io_debug_sram_wen (debug_sram_wen),
.io_debug_sram_waddr (debug_sram_waddr),
.io_debug_sram_wdata (debug_sram_wdata)
);
endmodule