AEsqu
Contributor
3 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 ethosu55_sb.sv(22) near text: "import"; expecting ";".
Check for and fix any syntax errors that appear immediately before or at the specified keyword.
The Intel FPGA Knowledge Database contains many articles with specific details on how to resolve this error.
Visit the Knowledge Database at https://www.altera.com/support/support-resources/knowledge-base/search.html and search for this specific error message number.
Synplify has no problem with it.
How to solve this without changing the ARM RTL code?
Kind Regards,
Alex.