initial commit

This commit is contained in:
2026-04-12 22:20:18 +08:00
commit 190c2edbb2
155 changed files with 36314 additions and 0 deletions

32
rtl/ip/open-la500/mycpu.h Normal file
View File

@@ -0,0 +1,32 @@
`ifndef MYCPU_H
`define MYCPU_H
// `define BR_BUS_WD 33 //bug5 32->33
// `define FS_TO_DS_BUS_WD 109
// `define DS_TO_ES_BUS_WD 236
// `define ES_TO_MS_BUS_WD 215
// `define MS_TO_WS_BUS_WD 218
// `define WS_TO_RF_BUS_WD 38
// `define ES_TO_DS_FORWARD_BUS 39
// `define MS_TO_DS_FORWARD_BUS 39
// `define HAS_LACC
`define LACC_OP_SIZE 3
`define LACC_OP_WIDTH $clog2(`LACC_OP_SIZE)
`define BR_BUS_WD 33 //bug5 32->33
`define FS_TO_DS_BUS_WD 109
`define DS_TO_ES_BUS_WD (350 \
`ifdef HAS_LACC \
+`LACC_OP_WIDTH+1 \
`endif \
)
`define ES_TO_MS_BUS_WD 425
`define MS_TO_WS_BUS_WD 493
`define WS_TO_RF_BUS_WD 38
`define ES_TO_DS_FORWARD_BUS 39
`define MS_TO_DS_FORWARD_BUS 39
`endif
//`define SIMU