UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor jamese
Visitor
80 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