Skip to content

Commit

Permalink
[emulator] remove difftest for memory
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciliphen committed May 26, 2024
1 parent a7e488b commit 6dc2e64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
13 changes: 2 additions & 11 deletions dependencies/rtl/top.v
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@ module top(
output debug_commit,
output [63:0] debug_pc,
output [4:0 ] debug_rf_wnum,
output [63:0] debug_rf_wdata,
// sram
output [7:0] debug_sram_wen,
output [31:0] debug_sram_waddr,
output [63:0] debug_sram_wdata

output [63:0] debug_rf_wdata
);

PuaCpu core(
Expand All @@ -49,11 +44,7 @@ PuaCpu core(
.io_debug_pc (debug_pc),
.io_debug_commit (debug_commit),
.io_debug_rf_wnum (debug_rf_wnum),
.io_debug_rf_wdata (debug_rf_wdata),
// sram
.io_debug_sram_wen (debug_sram_wen),
.io_debug_sram_waddr (debug_sram_waddr),
.io_debug_sram_wdata (debug_sram_wdata)
.io_debug_rf_wdata (debug_rf_wdata)
);

endmodule
7 changes: 0 additions & 7 deletions src/dut/top.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,4 @@ pub struct Top {
pub debug_rf_wnum: [bool; 5],
#[port(output)]
pub debug_rf_wdata: [bool; 64],
// trace memory interface
#[port(output)]
pub debug_sram_wen: [bool; 8],
#[port(output)]
pub debug_sram_waddr: [bool; 32],
#[port(output)]
pub debug_sram_wdata: [bool; 64],
}

0 comments on commit 6dc2e64

Please sign in to comment.