diff options
| author | Friedrich Beckmann <friedrich.beckmann@hs-augsburg.de> | 2024-05-15 06:43:58 +0200 | 
|---|---|---|
| committer | Friedrich Beckmann <friedrich.beckmann@hs-augsburg.de> | 2024-05-15 06:43:58 +0200 | 
| commit | 8c6f69e2fead5f85b8098bca6c1c4606676a880e (patch) | |
| tree | a492d8f3959694c8c45425b1f00614e413e96b36 | |
| parent | 1b09cc725908bbec8ec2e416ebeb09d8a84ac2a6 (diff) | |
sim/makefile: added synth step to sim
The --synth step finds std_ulogic violations with
several drivers
| -rw-r--r-- | sim/makefile | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/makefile b/sim/makefile index 2d78311..7404189 100644 --- a/sim/makefile +++ b/sim/makefile @@ -33,6 +33,7 @@ wave : t_$(PROJECT).ghw  #==== SIMULATION ====#  t_$(PROJECT).ghw : .compile.done +	$(GHDL_CMD) --synth --out=none $(GHDL_OPTIONS) $(PROJECT)  	# If ghdl exits with an error code, remove the .ghw file  	$(GHDL_CMD) -r $(GHDL_OPTIONS) t_$(PROJECT) --wave=t_$(PROJECT).ghw \  	  || (rm -f t_$(PROJECT).ghw; exit 1) @@ -58,7 +59,7 @@ synthcheck : .compile.done  	@echo "---- $@"  >> $(LOG_FILE) 2>&1  	@$(TIME_STAMP_LOG_FILE)  	@echo "Synthesis Check ..."  >> $(LOG_FILE) 2>&1 -	@$(GHDL_CMD) --synth --out=none $(GHDL_OPTIONS) $(PROJECT) 2>&1 | tee -a $(LOG_FILE) +	$(GHDL_CMD) --synth --out=none $(GHDL_OPTIONS) $(PROJECT) 2>&1 | tee -a $(LOG_FILE)  	@$(TIME_STAMP) > .synth.done  warnings: $(LOG_FILE)  | 
