Skip to content

Commit

Permalink
auto update vmem path in TLROT (#110)
Browse files Browse the repository at this point in the history
Co-authored-by: zhang dongrong <[email protected]>
  • Loading branch information
jinyue110 and zhang dongrong authored Sep 3, 2024
1 parent d02db9c commit 8acd724
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ else
@sed -i 's/\(soc\.bootrom_disable\s*:=\s*\).*\.B/\1true.B/' src/test/scala/top/SimTop.scala
@echo "Run in Bootrom disable mode"
endif
@sed -i 's|parameter RomCtrlBootRomInitFile = ".*"|parameter RomCtrlBootRomInitFile = "$(ROT_VMEM_DIR)"|' \
src/main/resources/TLROT/src/lowrisc_systems_rot_top_0.1/rtl/rot_top.sv
@echo "Change ROT vmem init file to $(ROT_VMEM_DIR)"
mkdir -p $(@D)
@echo "\n[mill] Generating Verilog files..." > $(@D)/time.log
@date -R | tee -a $(@D)/time.log
Expand Down

0 comments on commit 8acd724

Please sign in to comment.