Test: ./yosys/tests/arch/common/logic.v
The trimmed down version of that test has 3 errors in the plugin code (Visible in the corresponding gate netlist):
There is no "binary bitwise nand" operator in Verilog, so in Surelog I use the "bitwise reduction nand" with 2 operands to model "in[0] ~& in[1]", the plugin should translate to the appropriate Yosys operator or use a "and" and "bitwize negation" operators.
The bitwize nor operator is correct in Surelog, but another operator is used after the plugin (Can't tell which).
Test: ./yosys/tests/arch/common/logic.v The trimmed down version of that test has 3 errors in the plugin code (Visible in the corresponding gate netlist):