Skip to content

Commit

Permalink
[script] fix ratio issue
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin committed Apr 18, 2024
1 parent 335dc1d commit e313ef1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions script/src/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ object Main:
s"Can't use $dumpCycle as ratio, use 0 as waveform dump start point"
)
0
else if ratio == 0.0 then
0
else
val cycleRecordFilePath =
os.pwd / ".github" / "cases" / config / "default.json"
Expand Down Expand Up @@ -340,7 +342,7 @@ object Main:
Logger.info(s"Emulator log save to ${emulatorLogPath}")

if (trace.value) then
Logger.info(s"Trace file save to ${outputPath} / trace.fst")
Logger.info(s"Trace file save to ${outputPath}/wave.fst")
end ipemu

@main def subsystememu(
Expand Down Expand Up @@ -400,7 +402,7 @@ object Main:
os.proc(emuArgs).call()

if (trace.value) then
Logger.info(s"Trace file save to ${outputPath} / trace.fst")
Logger.info(s"Trace file save to ${outputPath}/wave.fst")
end subsystememu

@main def listConfig(): Unit =
Expand Down

0 comments on commit e313ef1

Please sign in to comment.