Merge branch 'sram' of github.com:Ciliphen/DC-CA-SA-Lab into sram
This commit is contained in:
commit
140dad44a8
|
@ -13,19 +13,19 @@ module top_sram_wrapper(
|
||||||
input [31:0] inst_sram_rdata,
|
input [31:0] inst_sram_rdata,
|
||||||
// data sram interface
|
// data sram interface
|
||||||
output data_sram_en,
|
output data_sram_en,
|
||||||
output [ 8:0] data_sram_wen,
|
output [ 7:0] data_sram_wen,
|
||||||
output [31:0] data_sram_addr,
|
output [31:0] data_sram_addr,
|
||||||
output [64:0] data_sram_wdata,
|
output [63:0] data_sram_wdata,
|
||||||
input [64:0] data_sram_rdata,
|
input [63:0] data_sram_rdata,
|
||||||
// trace debug interface
|
// trace debug interface
|
||||||
output debug_commit,
|
output debug_commit,
|
||||||
output [63:0] debug_pc,
|
output [63:0] debug_pc,
|
||||||
output [4:0 ] debug_rf_wnum,
|
output [4:0 ] debug_rf_wnum,
|
||||||
output [63:0] debug_rf_wdata,
|
output [63:0] debug_rf_wdata,
|
||||||
// sram
|
// sram
|
||||||
output [7:0] io_debug_sram_wen,
|
output [7:0] debug_sram_wen,
|
||||||
output [31:0] io_debug_sram_waddr,
|
output [31:0] debug_sram_waddr,
|
||||||
output [63:0] io_debug_sram_wdata
|
output [63:0] debug_sram_wdata
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -54,9 +54,9 @@ PuaCpu core(
|
||||||
.io_debug_rf_wnum (debug_rf_wnum),
|
.io_debug_rf_wnum (debug_rf_wnum),
|
||||||
.io_debug_rf_wdata (debug_rf_wdata),
|
.io_debug_rf_wdata (debug_rf_wdata),
|
||||||
// sram
|
// sram
|
||||||
.io_debug_sram_wen (io_debug_sram_wen),
|
.io_debug_sram_wen (debug_sram_wen),
|
||||||
.io_debug_sram_waddr (io_debug_sram_waddr),
|
.io_debug_sram_waddr (debug_sram_waddr),
|
||||||
.io_debug_sram_wdata (io_debug_sram_wdata)
|
.io_debug_sram_wdata (debug_sram_wdata)
|
||||||
);
|
);
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
Loading…
Reference in New Issue