Fix up cxxrtl include paths for new yosys

This commit is contained in:
Luke Wren 2023-12-12 19:00:26 +00:00
parent d4212f8976
commit a693cdd632
2 changed files with 2 additions and 2 deletions

View File

@ -24,4 +24,4 @@ clean::
rm -rf build-$(DOTF) $(TBEXEC)
$(TBEXEC): build-$(DOTF)/dut.cpp tb.cpp
clang++ -O3 -std=c++14 $(addprefix -D,$(CDEFINES) $(CDEFINES_$(DOTF))) -I $(shell yosys-config --datdir)/include -I build-$(DOTF) tb.cpp -o $(TBEXEC)
clang++ -O3 -std=c++14 $(addprefix -D,$(CDEFINES) $(CDEFINES_$(DOTF))) -I $(shell yosys-config --datdir)/include/backends/cxxrtl/runtime -I build-$(DOTF) tb.cpp -o $(TBEXEC)

View File

@ -10,7 +10,7 @@
// Device-under-test model generated by CXXRTL:
#include "dut.cpp"
#include <backends/cxxrtl/cxxrtl_vcd.h>
#include <cxxrtl/cxxrtl_vcd.h>
// There must be a better way
#ifdef __x86_64__