[Modified] little changes for dpi

This commit is contained in:
2023-05-12 22:58:45 +08:00
parent 70305945e0
commit bc692afda0
2 changed files with 36 additions and 30 deletions

0
lacpu/rtl/cpu/mycpu.h → lacpu/rtl/cpu/mycpu.v Executable file → Normal file
View File

View File

@@ -58,6 +58,11 @@ module soc_lite_top
.debug_wb_rf_wdata(debug_wb_rf_wdata) .debug_wb_rf_wdata(debug_wb_rf_wdata)
); );
`ifdef DPIC
`else
//inst ram //inst ram
inst_ram inst_ram inst_ram inst_ram
( (
@@ -79,6 +84,7 @@ module soc_lite_top
.dina (cpu_data_wdata ), //31:0 .dina (cpu_data_wdata ), //31:0
.douta (cpu_data_rdata ) //31:0 .douta (cpu_data_rdata ) //31:0
); );
`endif
endmodule endmodule