Open iDoka opened 1 year ago
It seems src/controller.v
have several issues as well:
$ iverilog -o test.out src/controller.v
src/controller.v:119: warning: macro OPCODE_LDA undefined (and assumed null) at this point.
src/controller.v:145: warning: macro OPCODE_LDAI undefined (and assumed null) at this point.
src/controller.v:163: warning: macro OPCODE_LDB undefined (and assumed null) at this point.
src/controller.v:189: warning: macro OPCODE_LDBI undefined (and assumed null) at this point.
src/controller.v:207: warning: macro OPCODE_LDO undefined (and assumed null) at this point.
src/controller.v:233: warning: macro OPCODE_LDOI undefined (and assumed null) at this point.
src/controller.v:251: warning: macro OPCODE_MOVA undefined (and assumed null) at this point.
src/controller.v:266: warning: macro OPCODE_ADD undefined (and assumed null) at this point.
src/controller.v:281: warning: macro OPCODE_SUB undefined (and assumed null) at this point.
src/controller.v:298: warning: macro OPCODE_JNZ undefined (and assumed null) at this point.
src/controller.v:326: warning: macro OPCODE_HLT undefined (and assumed null) at this point.
src/controller.v:119: syntax error
src/controller.v:145: syntax error
src/controller.v:163: syntax error
src/controller.v:189: syntax error
src/controller.v:207: syntax error
src/controller.v:233: syntax error
src/controller.v:251: syntax error
src/controller.v:266: syntax error
src/controller.v:281: syntax error
src/controller.v:298: syntax error
src/controller.v:326: syntax error
src/controller.v:327: warning: Extra digits given for sized binary constant.
src/controller.v:335: warning: Extra digits given for sized binary constant.
src/controller.v:326: error: Malformed conditional expression.
src/controller.v:298: error: Malformed conditional expression.
src/controller.v:281: error: Malformed conditional expression.
src/controller.v:266: error: Malformed conditional expression.
src/controller.v:251: error: Malformed conditional expression.
src/controller.v:233: error: Malformed conditional expression.
src/controller.v:207: error: Malformed conditional expression.
src/controller.v:189: error: Malformed conditional expression.
src/controller.v:163: error: Malformed conditional expression.
src/controller.v:145: error: Malformed conditional expression.
src/controller.v:119: error: Malformed conditional expression.
Verification has failed on main branch:
Used icarus version from https://github.com/YosysHQ/oss-cad-suite-build (build 2023-04-28):