diff --git a/edalize/flows/sim.py b/edalize/flows/sim.py index 4c852707..7911c7e8 100644 --- a/edalize/flows/sim.py +++ b/edalize/flows/sim.py @@ -42,7 +42,7 @@ def configure_tools(self, flow): [ "--vpi", "--public-flat-rw --prefix Vtop", - '-LDFLAGS "-Wl,-rpath,`cocotb-config --lib-dir` -L`cocotb-config --lib-dir` -lcocotbvpi_verilator -lgpi -lcocotb -lgpilog -lcocotbutils -Wl,--unresolved-symbols=ignore-in-shared-libs"', + '-LDFLAGS "-Wl,-rpath,`cocotb-config --lib-dir` -L`cocotb-config --lib-dir` -lcocotbvpi_verilator"', ], ), } diff --git a/tests/flows/sim/with_cocotb/design.vc b/tests/flows/sim/with_cocotb/design.vc index 3afb7aa8..d5fe845d 100644 --- a/tests/flows/sim/with_cocotb/design.vc +++ b/tests/flows/sim/with_cocotb/design.vc @@ -2,7 +2,7 @@ --cc --vpi --public-flat-rw --prefix Vtop --LDFLAGS "-Wl,-rpath,`cocotb-config --lib-dir` -L`cocotb-config --lib-dir` -lcocotbvpi_verilator -lgpi -lcocotb -lgpilog -lcocotbutils -Wl,--unresolved-symbols=ignore-in-shared-libs" +-LDFLAGS "-Wl,-rpath,`cocotb-config --lib-dir` -L`cocotb-config --lib-dir` -lcocotbvpi_verilator" +incdir+. -CFLAGS -I. sv_file.sv