把ILM地址从0x8000_0000改为0x6000_0000,需要更改哪些?

oomdy 发表于  2019-11-06 14:33:01

1.  rtl/n201/core/n201_config.v
   `define N201_CFG_ILM_ADDR_WIDTH  16
      `define N201_CFG_ILM_BASE_ADDR   `N201_CFG_ADDR_SIZE'h60000000
2. n200_rls_pkg/riscv-tools/n200-sdk/bsp/nuclei-n200/n200/env/link_ilm.lds
MEMORY
{
  ilm (rxai!w) : ORIGIN = 0x60000000, LENGTH = 64K
  ram (wxa!ri) : ORIGIN = 0x90000000, LENGTH = 64K
}
3. Risc-tools/n200-sdk/Makefile
dasm: software
        $(RISCV_OBJDUMP) -D $(PROGRAM_ELF) >& $(PROGRAM_ELF).dump
        $(RISCV_OBJCOPY) $(PROGRAM_ELF) -O verilog $(PROGRAM_ELF).verilog
        sed -i 's/@600/@000/g' $(PROGRAM_ELF).verilog

单单修改以上三个地方,没法跑起来哦。还需要更改哪些呢?

谢谢!

没有回答
按投票排序 | 按时间排序