cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
539 Views
Registered: ‎03-06-2019

HLS error: can't read "::AESL_CSIM::gLogfl"

I have a very simple bit of code I'm trying to simulate, but when I try and run the simulation I get the following messages in the Console window:

can't read "::AESL_CSIM::gLogfl": no such variable
    while executing
"source C:/Projects/HLS/xxxxxxxx/solution1/csim.tcl"
    invoked from within
"hls::main C:/Projects/HLS/xxxxxxxx/solution1/csim.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 hls::main {*}$args"
    (procedure "hls_proc" line 5)
    invoked from within
"hls_proc $argv"
Finished C simulation.

Below to my code (with a few edits).

#include <iostream>
//

using std::cout; using std::endl;

int main(int argc, char* argv[])
{
    cout << "Hello World" << endl;

return 0;
}

0 Kudos
2 Replies
Highlighted
Adventurer
Adventurer
422 Views
Registered: ‎10-09-2019

Hi, I get a similar error on a simple introductory project also:

@E [SIM-1] CSim failed with errors.

can't read "::AESL_CSIM::gLogfl": no such variable

while executing

"csim_design -setup -clean -quiet"

(file "C:/Zynq_Book/hls/tut3A/matrix_mult_prj/solution1/csim.tcl" line 8)

Can anyone help?

 

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
410 Views
Registered: ‎02-27-2019

Please refer to https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_1/ug902-vivado-high-level-synthesis.pdf

You can open an example design to view the design flow.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos