3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-29 03:45:52 +00:00

Add way to disable memory init

This commit is contained in:
Akash Levy 2024-10-01 01:32:29 -07:00
parent 776661ab40
commit dd9687fc4c
2 changed files with 10 additions and 1 deletions

View file

@ -8,6 +8,10 @@ CONFIG := none
# CONFIG := msys2-32
# CONFIG := msys2-64
# silimate features and settings
ENABLE_SLANG := 1
DISABLE_MEM_INIT := 1 # does not preserve logic equivalence!
# features (the more the better)
ENABLE_TCL := 0
ENABLE_ABC := 0
@ -16,7 +20,6 @@ ENABLE_PLUGINS := 0
ENABLE_READLINE := 0
ENABLE_EDITLINE := 1
ENABLE_GHDL := 0
ENABLE_SLANG := 1
ENABLE_VERIFIC := 1
ENABLE_VERIFIC_SYSTEMVERILOG := 1
ENABLE_VERIFIC_VHDL := 0
@ -488,6 +491,10 @@ endif
endif
endif
ifeq ($(DISABLE_MEM_INIT),1)
CXXFLAGS += -DSILIMATE_DISABLE_MEM_INIT
endif
ifeq ($(ENABLE_GHDL),1)
GHDL_PREFIX ?= $(PREFIX)
GHDL_INCLUDE_DIR ?= $(GHDL_PREFIX)/include