mirror of https://github.com/YosysHQ/yosys.git
tests/memfile: Fix chparam -set
This commit is contained in:
parent
1248af1e02
commit
2cee76bfd5
|
|
@ -8,27 +8,27 @@ cp content1.dat temp/content2.dat
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
echo "Running from the parent directory with content1.dat"
|
echo "Running from the parent directory with content1.dat"
|
||||||
../yosys -qp "read_verilog -defer memfile/memory.v; chparam -set MEMFILE \"content1.dat\" memory"
|
../yosys -qp "read_verilog -defer memfile/memory.v; chparam -setstr MEMFILE \"content1.dat\" memory"
|
||||||
echo "Running from the parent directory with temp/content2.dat"
|
echo "Running from the parent directory with temp/content2.dat"
|
||||||
../yosys -qp "read_verilog -defer memfile/memory.v; chparam -set MEMFILE \"temp/content2.dat\" memory"
|
../yosys -qp "read_verilog -defer memfile/memory.v; chparam -setstr MEMFILE \"temp/content2.dat\" memory"
|
||||||
echo "Running from the parent directory with memfile/temp/content2.dat"
|
echo "Running from the parent directory with memfile/temp/content2.dat"
|
||||||
../yosys -qp "read_verilog -defer memfile/memory.v; chparam -set MEMFILE \"memfile/temp/content2.dat\" memory"
|
../yosys -qp "read_verilog -defer memfile/memory.v; chparam -setstr MEMFILE \"memfile/temp/content2.dat\" memory"
|
||||||
|
|
||||||
cd memfile
|
cd memfile
|
||||||
|
|
||||||
echo "Running from the same directory with content1.dat"
|
echo "Running from the same directory with content1.dat"
|
||||||
../../yosys -qp "read_verilog -defer memory.v; chparam -set MEMFILE \"content1.dat\" memory"
|
../../yosys -qp "read_verilog -defer memory.v; chparam -setstr MEMFILE \"content1.dat\" memory"
|
||||||
echo "Running from the same directory with temp/content2.dat"
|
echo "Running from the same directory with temp/content2.dat"
|
||||||
../../yosys -qp "read_verilog -defer memory.v; chparam -set MEMFILE \"temp/content2.dat\" memory"
|
../../yosys -qp "read_verilog -defer memory.v; chparam -setstr MEMFILE \"temp/content2.dat\" memory"
|
||||||
|
|
||||||
cd temp
|
cd temp
|
||||||
|
|
||||||
echo "Running from a child directory with content1.dat"
|
echo "Running from a child directory with content1.dat"
|
||||||
../../../yosys -qp "read_verilog -defer ../memory.v; chparam -set MEMFILE \"content1.dat\" memory"
|
../../../yosys -qp "read_verilog -defer ../memory.v; chparam -setstr MEMFILE \"content1.dat\" memory"
|
||||||
echo "Running from a child directory with temp/content2.dat"
|
echo "Running from a child directory with temp/content2.dat"
|
||||||
../../../yosys -qp "read_verilog -defer ../memory.v; chparam -set MEMFILE \"temp/content2.dat\" memory"
|
../../../yosys -qp "read_verilog -defer ../memory.v; chparam -setstr MEMFILE \"temp/content2.dat\" memory"
|
||||||
echo "Running from a child directory with content2.dat"
|
echo "Running from a child directory with content2.dat"
|
||||||
../../../yosys -qp "read_verilog -defer ../memory.v; chparam -set MEMFILE \"temp/content2.dat\" memory"
|
../../../yosys -qp "read_verilog -defer ../memory.v; chparam -setstr MEMFILE \"temp/content2.dat\" memory"
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue