Skip to content

Commit

Permalink
modify .conf file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Gwins7 committed Apr 11, 2024
1 parent 6ede7b5 commit e13c303
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ $(TOP_V): $(SCALA_FILE) # FOR FPGA RUNNING
sed -i '/\/\/ ----- 8< ----- FILE "firrtl_black_box_resource_files\.f" ----- 8< -----/,$$d' $@
sed -n -e '/\/\/ ----- 8< ----- FILE "\.\/DifftestRunaheadEvent\.v" ----- 8< -----/,$$p' $@ > ./build/DifftestRunaheadEvent.v
sed -i '/\/\/ ----- 8< ----- FILE "\.\/DifftestRunaheadEvent\.v" ----- 8< -----/,$$d' $@
sed -n -e '/\/\/ ----- 8< ----- FILE ".*\.conf" ----- 8< -----/,$$p' $@ > $@.conf
sed -n -e '/\/\/ ----- 8< ----- FILE "ext_mem\.conf" ----- 8< -----/,$$p' $@ > ./build/ext_mem.conf
sed -i '/\/\/ ----- 8< ----- FILE "metadata\/seq_mems\.json" ----- 8< -----/,$$d' $@
sed -i '1,2d' $@.conf
sed -i '$$d' $@.conf
./scripts/vlsi_mem_gen $@.conf >> $@
sed -i '1,2d' ./build/ext_mem.conf
sed -i '$$d' ./build/ext_mem.conf
./scripts/vlsi_mem_gen ./build/ext_mem.conf >> $@
@git log -n 1 >> .__head__
@git diff >> .__diff__
@sed -i 's/^/\/\// ' .__head__
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/top/TopMain.scala
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ object TopMain extends App {
:+ FirtoolOption("--disable-annotation-unknown")
:+ FirtoolOption("--lowering-options=noAlwaysComb,disallowPackedArrays,disallowLocalVariables")
:+ FirtoolOption("-repl-seq-mem")
:+ FirtoolOption("--repl-seq-mem-file=TopMain.v.conf")
:+ FirtoolOption("--repl-seq-mem-file=ext_mem.conf")
)
}
}

0 comments on commit e13c303

Please sign in to comment.