Closed rlee287 closed 4 years ago
This is a followup for ghdl/ghdl issue 1342.
ghdl --synth works correctly for the test_unop.vhd testcase within, but the plugin fails to properly import the $red_xor cell:
ghdl --synth
test_unop.vhd
$red_xor
yosys> ghdl --std=08 test_unop.vhd -e test_unop 1. Executing GHDL. Importing module test_unop. ERROR: Unsupported(1): instance \14 of $red_xor. ERROR: Assert `GetSize(ports) >= it.second->port_id' failed in kernel/rtlil.cc:1416.
This pull request adds to the case statements of the plugin to allow the XOR reduce operator to be imported correctly.
Thanks!
This is a followup for ghdl/ghdl issue 1342.
ghdl --synth
works correctly for thetest_unop.vhd
testcase within, but the plugin fails to properly import the$red_xor
cell:This pull request adds to the case statements of the plugin to allow the XOR reduce operator to be imported correctly.