File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ void dump_memory()
69
69
{
70
70
errno = 0 ;
71
71
std::ofstream mem_file;
72
- svLogicVecVal addr = {0 };
72
+ svLogicVecVal addr = {0 , 0 };
73
73
74
74
mem_file.exceptions (std::ofstream::failbit | std::ofstream::badbit);
75
75
try {
@@ -84,7 +84,7 @@ void dump_memory()
84
84
85
85
std::cout << " finished dumping memory" << std::endl;
86
86
87
- } catch (std::ofstream::failure e) {
87
+ } catch (std::ofstream::failure & e) {
88
88
std::cerr << " exception opening/reading/closing file memory_dump.bin\n " ;
89
89
}
90
90
}
Original file line number Diff line number Diff line change @@ -55,12 +55,15 @@ VSRC = dp_ram.sv \
55
55
../../rtl/riscv_decoder.sv \
56
56
../../rtl/riscv_int_controller.sv \
57
57
../../rtl/riscv_ex_stage.sv \
58
+ ../../rtl/riscv_ff_one.sv \
59
+ ../../rtl/riscv_fetch_fifo.sv \
58
60
../../rtl/riscv_hwloop_controller.sv \
59
61
../../rtl/riscv_hwloop_regs.sv \
60
62
../../rtl/riscv_id_stage.sv \
61
63
../../rtl/riscv_if_stage.sv \
62
64
../../rtl/riscv_load_store_unit.sv \
63
65
../../rtl/riscv_mult.sv \
66
+ ../../rtl/riscv_popcnt.sv \
64
67
../../rtl/riscv_prefetch_buffer.sv \
65
68
../../rtl/riscv_prefetch_L0_buffer.sv \
66
69
../../rtl/riscv_register_file.sv \
Original file line number Diff line number Diff line change @@ -65,20 +65,19 @@ module top
65
65
# (
66
66
.PULP_CLUSTER (PULP_CLUSTER ),
67
67
.FPU (FPU ),
68
- .PULP_ZFINX (PULP_ZFINX ),
69
- .DM_HALTADDRESS (DM_HALTADDRESS )
68
+ .PULP_ZFINX (PULP_ZFINX )
70
69
)
71
70
riscv_core_i
72
71
(
73
72
.clk_i ( clk_i ),
74
73
.rst_ni ( rstn_i ),
75
74
76
75
.clock_en_i ( 1'b1 ),
77
- .test_en_i ( 1'b0 ),
76
+ .scan_cg_en_i ( 1'b0 ),
78
77
79
78
.boot_addr_i ( BOOT_ADDR ),
80
- .core_id_i ( 4'h0 ),
81
- .cluster_id_i ( 6 'h0 ),
79
+ .dm_halt_addr_i ( DM_HALTADDRESS ),
80
+ .hart_id_i ( 32 'h0 ),
82
81
83
82
.instr_addr_o ( instr_addr ),
84
83
.instr_req_o ( instr_req ),
@@ -118,9 +117,7 @@ module top
118
117
.debug_req_i ( debug_req_i ),
119
118
120
119
.fetch_enable_i ( fetch_enable_i ),
121
- .core_busy_o ( core_busy_o ),
122
-
123
- .fregfile_disable_i ( 1'b0 ));
120
+ .core_busy_o ( core_busy_o ));
124
121
125
122
// Instantiate the memory
126
123
You can’t perform that action at this time.
0 commit comments