Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Questa how to add variable of subpgram to wave

zhenge
Novice
817 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
774 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
739 Views

Hi,


Any further update or concern?


Thanks,

Best Regards,

Sheng


0 Kudos
Reply