Skip to content

How to link a QT GUI to Verilator

Alexandre Dumont aka Adlx edited this page Oct 6, 2019 · 1 revision

QT Project File

In our QT project file, we need to reference the verilator files:

In hrmcpu.pro:

INCLUDEPATH += ../verilog/obj_dir
INCLUDEPATH += /home/adumont/toolchain/share/verilator/include
#INCLUDEPATH += /home/adumont/toolchain/share/verilator/include/vltstd

LIBS += ../verilog/obj_dir/*.o

Makefile

Clone this wiki locally