Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16755 Discussions

Problem regarding defparam and generate loop

Altera_Forum
Honored Contributor II
1,038 Views

Hi everyone, 

 

I am trying to override a parameter hierarchically by calling 

 

defparam Inst0.FSM[0].Inst.IMem_def.MEM_INIT_FILE = "someString"; 

 

The hierarchy is Top -> Inst0 -> FSM[x].Inst -> IMem_def 

 

So within the Inst0 module there is a generate statement for multiple instantiations. 

 

Quartus comes up with an error saying: 

"FSM[0].Inst" instantiated with unknown parameter "Inst.IMem_def.MEM_INIT_FILE" 

 

Interestingly though it works when I call the defparam from within Inst0 like this: 

 

defparam FSM[0].Inst.IMem_def.MEM_INIT_FILE = "someString"; 

 

Also it doesn't have the problem for instances that are not in the generate loop. 

 

Any clues? Different hierarchy delimiters? I am puzzled? 

 

Thanks, 

 

Raphael
0 Kudos
0 Replies
Reply