mirror of https://github.com/YosysHQ/yosys.git
From master
This commit is contained in:
parent
cdedf51c32
commit
5f39c262c2
|
@ -132,13 +132,13 @@ do
|
||||||
fn=$(basename $fn)
|
fn=$(basename $fn)
|
||||||
bn=$(basename $bn)
|
bn=$(basename $bn)
|
||||||
|
|
||||||
|
rm -f ${bn}_ref.fir
|
||||||
if [[ "$ext" == "v" ]]; then
|
if [[ "$ext" == "v" ]]; then
|
||||||
egrep -v '^\s*`timescale' ../$fn > ${bn}_ref.${ext}
|
egrep -v '^\s*`timescale' ../$fn > ${bn}_ref.${ext}
|
||||||
else
|
else
|
||||||
"$toolsdir"/../../yosys -f "$frontend $include_opts" -b "verilog" -o ${bn}_ref.v ../${fn}
|
"$toolsdir"/../../yosys -f "$frontend $include_opts" -b "verilog" -o ${bn}_ref.v ../${fn}
|
||||||
frontend="verilog -noblackbox"
|
frontend="verilog -noblackbox"
|
||||||
fi
|
fi
|
||||||
rm -f ${bn}_ref.fir
|
|
||||||
|
|
||||||
if [ ! -f ../${bn}_tb.v ]; then
|
if [ ! -f ../${bn}_tb.v ]; then
|
||||||
"$toolsdir"/../../yosys -f "$frontend $include_opts" -b "test_autotb $autotb_opts" -o ${bn}_tb.v ${bn}_ref.v
|
"$toolsdir"/../../yosys -f "$frontend $include_opts" -b "test_autotb $autotb_opts" -o ${bn}_tb.v ${bn}_ref.v
|
||||||
|
|
Loading…
Reference in New Issue