Forum Discussion
jnspk
New Contributor
2 years agoModelSim Error - Undefined Variables and Global Declarations are Illegal in Verilog 2001 Syntax
Hello! So I have defined two parameters, "START_ADDR" and "END_ADDR" in a verilog header file, called "audioparams.vh": `ifndef AUDIO_PARAMS
`define AUDIO_PARAMS
parameter START_ADDR = 32'h0000A...
FvM
Super Contributor
2 years agoHi,
you quoted the relevant error message in question title "no global parameters in Verilog". Seeing this error, why do you wonder about follow-ups? You can select SystemVerilog syntax for the respective modules, or use defined macros instead of parameters. Quartus apparently doesn't distinguish different Verilog revisions so strictly, or did you globally enable SV syntax in Quartus?