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

Questa how to add variable of subpgram to wave

zhenge
Novice
762 Views

Hi,

I am only able to add variable in the top-level of my testbench to wave.

Questa Intel 2021.2

Any variable in a subprogram (within a procedure call in a BFM file) add to wave, I will get:

 

 

 

 

 

# Cannot log variable_in_subpgram Process proc_name is currently executing a subpgram.

 

 

 

 

 

I can only view the variable in the Locals pane during simulation, but it can't be logged.

Tried compile option: "Use vopt flow", "Disable optimizations by using -O0", no difference.

 

Please comment,

 

Thanks,

0 Kudos
2 Replies
ShengN_Intel
Employee
719 Views

Hi,

 

Try to link any variable or signal in a subprogram within a procedure call to top level entity and testbench so that can be add wave. Attached a sample design for your reference.

 

Thanks,

Best Regards,

Sheng

p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer.

 

0 Kudos
ShengN_Intel
Employee
684 Views

Hi,


Any further update or concern?


Thanks,

Best Regards,

Sheng


0 Kudos
Reply