Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
720 Discussions

Intel HLS - simulating the design with ModelSim

Mopplikus
Beginner
1,426 Views

Hello,

I have generated a design using Intel HLS, and now I'd like to look at the corresponding wave graphs in ModelSim / QuestaSim. Since for the co-simulation a test-bench has already been generated, I normally shouldn't need to create a new one, so how do I go about 'hijacking' the existing test-bench to get to the wave graph?

By the way, I'm using version 21.4.0 of the HLS.

Thanks in advance!

-Mopplikus

0 Kudos
5 Replies
hareesh
Employee
1,388 Views

Hi,


I am working on this issue. please give me time.


0 Kudos
Mopplikus
Beginner
1,371 Views

Hello,


I found the solution to my issue. For instance, I needed to add the -ghdl flag to the i++ command, which then generates a .wlf file in the verification folder, which I can then open with ModelSim. For future reference, to get the wave graph, you have to choose the instance of your top level component, and then in the Objects tab you can add the waves for the signals you need.

 

I'm encountering another issue now however; for instance, no matter the target frequency I specify, in the wave graph it is always set to 1000MHz, even if I override it with the --clock flag when compiling or for the individual components with hls_scheduler_target_fmax_mhz(). How could I fix this?

 

-Mopplikus

0 Kudos
hareesh
Employee
1,338 Views

Hi,


in bellow article you can see setting target frequency details. please go through the document.


https://www.intel.com/content/www/us/en/docs/programmable/683349/22-2/component-target-frequency.html


if you are facing the same issue after following the steps please share the details with screenshots.


0 Kudos
hareesh
Employee
1,304 Views

can you please update the status of issue?


0 Kudos
hareesh
Employee
1,277 Views

As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


0 Kudos
Reply