Forum Discussion
HGuer2
New Contributor
7 years agoGenerated code by Intel HLS does not work
I have the following code: hls_always_run_component void Target00(ihc::mm_master<word4_t,ihc::aspace<7>, ihc::awidth<32>, ihc::dwidth<32>, ihc::latency<0>, ihc::waitrequest<true> >& device_5, ihc::...
- 7 years ago
Hi,
The problem was with the avalon_mm_adapter. @HGuer2 will confirm that the message I sent him fixes the issue.
Sincerely
KennyT_altera
Super Contributor
7 years agoI try run your design, where do you put your testbench files?
Testbench files should be automatic generated if you have a int main function. How do you create your own Testbench files? I would suggest you use the int main function in your .cpp code so that the testbench auto created by not using -simulator none
KennyT_altera
Super Contributor
7 years agoBy using this, you will get a testbench in Target00.prj/verification. I would recommend you run a design example <quartus_installation_dir>\hls\examples for the HLS to check on this.
basically, you enable full visibility of all the hdl signal with i++ -ghdl flag
And run the simulation by
vsim test00.prj/verification/vsim.wlf