Commit 73e961d7 by Zachary Snow

simulation output properly filters VCD log line

parent 8df1e67f
...@@ -32,12 +32,12 @@ simulate() { ...@@ -32,12 +32,12 @@ simulate() {
echo "$iv_output" echo "$iv_output"
fi fi
# run the simulation # run the simulation
$sim_prog > $sim_log $sim_prog > "$sim_log.temp"
assertTrue "simulating $1 failed" $? assertTrue "simulating $1 failed" $?
# remove the date from the VCD # remove the date from the VCD
sed -i.orig -e "1,3d" "$sim_vcd" sed -i.orig -e "1,3d" "$sim_vcd"
# remove the "opened file..." prompt from the log # remove extraneous log lines
sed -i.orig -e "1,1d" "$sim_log" cat "$sim_log.temp" | grep -v "VCD info: dumpfile" > $sim_log
} }
assertConverts() { assertConverts() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment