run new seds in place

This commit is contained in:
Zachary Snow 2024-04-20 13:40:21 -04:00
parent 57d6d2e9e8
commit 1e86f70219
1 changed files with 3 additions and 3 deletions

View File

@ -174,9 +174,9 @@ simulateAndCompare() {
simulate $cvv_vcd $cvv_log $cv $tb
# clean log files by removing filenames
sed -E 's#'$ve':[[:digit:]]+#'$ve'#g' $ref_log > $ref_log.tmp && mv $ref_log.tmp $ref_log
sed -E 's#'$cs':[[:digit:]]+#'$ve'#g' $cvs_log > $cvs_log.tmp && mv $cvs_log.tmp $cvs_log
sed -E 's#'$cv':[[:digit:]]+#'$ve'#g' $cvv_log > $cvv_log.tmp && mv $cvv_log.tmp $cvv_log
sed -i.bak -E 's#'$ve':[[:digit:]]+#'$ve'#g' $ref_log
sed -i.bak -E 's#'$cs':[[:digit:]]+#'$ve'#g' $cvs_log
sed -i.bak -E 's#'$cv':[[:digit:]]+#'$ve'#g' $cvv_log
# compare reference verilog to converted succinct
output=`diff $ref_vcd $cvs_vcd`