Align ghdl simulators with others based on
@@ -67,10 +67,9 @@ analyse: $(VHDL_SOURCES) $(SIM_BUILD) $(CUSTOM_COMPILE_DEPS)
$(COCOTB_RESULTS_FILE): analyse $(COCOTB_LIBS) $(COCOTB_VPI_LIB) $(CUSTOM_SIM_DEPS)
-@rm -f $(COCOTB_RESULTS_FILE)
- cd $(SIM_BUILD); \
MODULE=$(MODULE) \
TESTCASE=$(TESTCASE) TOPLEVEL=$(TOPLEVEL) TOPLEVEL_LANG=$(TOPLEVEL_LANG) COCOTB_SIM=1 \
- $(CMD) -r $(GHDL_ARGS) --work=$(RTL_LIBRARY) $(TOPLEVEL) --vpi=$(LIB_DIR)/libcocotbvpi_ghdl.$(LIB_EXT) $(SIM_ARGS) $(PLUSARGS)
+ $(CMD) -r $(GHDL_ARGS) --workdir=$(SIM_BUILD) --work=$(RTL_LIBRARY) $(TOPLEVEL) --vpi=$(LIB_DIR)/libcocotbvpi_ghdl.$(LIB_EXT) $(SIM_ARGS) $(PLUSARGS)
$(call check_for_results_file)
