This will eventually lead to the following Yosys error:
Generating RTLIL representation for module `\top'.
2.3.1. Analyzing design hierarchy..
Top module: \top
2.3.2. Executing AST frontend in derive mode using pre-parsed AST for module `\M_main'.
Generating RTLIL representation for module `\M_main'.
build.v:322: ERROR: Identifier `\_q_o_subr_data_out' is implicitly declared and `default_nettype is set to none.
build.mk:9: recipe for target 'build.blif' failed
make[2]: *** [build.blif] Error 1
make[2]: Leaving directory '/home/bernd/fpga/silice/2304/Silice/mue/project/test/BUILD_icestick'
Hello,
If a subroutine has an output parameter and this parameter is (accidentally) not set, then this leads to a Yosys error.
Here is an example:
This will eventually lead to the following Yosys error:
Maybe Silice could catch this situation?
Regards, Bernd.