Forum Discussion
AEsqu
Contributor
4 years agoQuartus 21.1: Error (10170): Verilog HDL syntax error at ... near text: "import"; expecting ";".
module ethosu55_sb import ethosu55_pkg::*; import ethosu55_mac_pkg::*; #( parameter npu_config_t CFG = BUILD_CFG(0,0) )
Gives this quartus error: Error (10170): Verilog HDL syntax error at et...
sstrell
Super Contributor
4 years agoI've never used this, but it looks like the import commands need to be inside your module (after the port list and semicolon), not in the module declaration, or completely outside the module.
https://verilogguide.readthedocs.io/en/latest/verilog/package.html