mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-29 01:24:25 +02:00
cxxrtl: add "-print-output" option, test in fmt
This commit is contained in:
committed by
Marcelina Kościelnicka
parent
bfa8b631bf
commit
f9b149fa7b
@@ -47,9 +47,9 @@ test_roundtrip oct_signed -DBASE_HEX -DSIGN="signed"
|
||||
test_roundtrip bin_unsigned -DBASE_HEX -DSIGN=""
|
||||
test_roundtrip bin_signed -DBASE_HEX -DSIGN="signed"
|
||||
|
||||
../../yosys -p "read_verilog always_full.v; write_cxxrtl yosys-always_full.cc"
|
||||
../../yosys -p "read_verilog always_full.v; write_cxxrtl -print-output std::cerr yosys-always_full.cc"
|
||||
${CXX:-g++} -o yosys-always_full -I../.. always_full_tb.cc
|
||||
./yosys-always_full >yosys-always_full.log
|
||||
./yosys-always_full 2>yosys-always_full.log
|
||||
iverilog -o iverilog-always_full always_full.v always_full_tb.v
|
||||
./iverilog-always_full | awk '/<<<BEGIN>>>/,/<<<END>>>/ {print $0}' >iverilog-always_full.log
|
||||
diff iverilog-always_full.log yosys-always_full.log
|
||||
|
||||
Reference in New Issue
Block a user