Open piso77 opened 3 years ago
Hmm, I'm not sure... for me yosys chokes on the "$signed" function but otherwise compiles everything.
Maybe the cpu16.v file has been modified? It seems like it can't find a cpu module declaration in your test file.
I solved the signed extension this way:
https://github.com/piso77/fpga-fun/commit/3c5045fc2560ed227513f547501629fd59ba57e9
and then it'll complain about some signals not being latched:
https://github.com/piso77/fpga-fun/commit/6f9020ac81f08ad99e5f74bdd04932b59ba0a659
After you apply these two, you get the above error.
While trying to synthesize the cpu16 project, all my toolchains (xilinx ISE and yosys) choke on this:
xilinx ise:
yosys:
Is that a valid Verilog expression at all?