How can i see the waveform?
I want to use the opencl to design the FPGA.
The OS is CentOS 7.4.
I have already install the Modelsim and read the programming guide.
When i used the command 'aoc -march=simulator -ghdl -board=pac_a10 device/vector_add.cl ', the screen show the error message.
=======================================
error: unknown argument: '-march=simulator'
Error: OpenCL parser FAILED.
=======================================
How can i solve this problem and see the waveform?
What version of Quartus/AOC are you using? This option is only available in the newer versions of the compiler (I think 18.0+). Also note that based on the documentation, this feature is for simulating OpenCL libraries; you cannot simulate standard OpenCL kernels with this. You can emulate standard OpenCL kernels using -march=emulator but that is only functional simulation (not timing-accurate).