mirror of https://github.com/zachjs/sv2v.git
run new seds in place
This commit is contained in:
parent
57d6d2e9e8
commit
1e86f70219
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Reference in New Issue