Merge pull request #4050 from povik/ql-bram_types-gen

quicklogic: Generate `bram_types_sim.v` at build time
This commit is contained in:
Martin Povišer 2023-12-04 20:04:20 +01:00 committed by GitHub
commit b1bbb5827a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 73375 deletions

View File

@ -1,6 +1,9 @@
%_pm.h: passes/pmgen/pmgen.py %.pmg %_pm.h: passes/pmgen/pmgen.py %.pmg
$(P) mkdir -p pmgen && $(PYTHON_EXECUTABLE) $< -o $@ -p $(subst _pm.h,,$(notdir $@)) $(filter-out $<,$^) $(P) mkdir -p pmgen && $(PYTHON_EXECUTABLE) $< -o $@ -p $(subst _pm.h,,$(notdir $@)) $(filter-out $<,$^)
techlibs/quicklogic/qlf_k6n10f/bram_types_sim.v: techlibs/quicklogic/qlf_k6n10f/generate_bram_types_sim.py
$(P) $(PYTHON_EXECUTABLE) $^ $@
OBJS += techlibs/quicklogic/synth_quicklogic.o OBJS += techlibs/quicklogic/synth_quicklogic.o
OBJS += techlibs/quicklogic/ql_bram_merge.o OBJS += techlibs/quicklogic/ql_bram_merge.o
OBJS += techlibs/quicklogic/ql_bram_types.o OBJS += techlibs/quicklogic/ql_bram_types.o
@ -10,7 +13,7 @@ OBJS += techlibs/quicklogic/ql_dsp_io_regs.o
# -------------------------------------- # --------------------------------------
OBJS += techlibs/quicklogic/ql_dsp_macc.o OBJS += techlibs/quicklogic/ql_dsp_macc.o
GENFILES += techlibs/quicklogic/ql_dsp_macc_pm.h GENFILES += techlibs/quicklogic/ql_dsp_macc_pm.h techlibs/quicklogic/qlf_k6n10f/bram_types_sim.v
techlibs/quicklogic/ql_dsp_macc.o: techlibs/quicklogic/ql_dsp_macc_pm.h techlibs/quicklogic/ql_dsp_macc.o: techlibs/quicklogic/ql_dsp_macc_pm.h
$(eval $(call add_extra_objs,techlibs/quicklogic/ql_dsp_macc_pm.h)) $(eval $(call add_extra_objs,techlibs/quicklogic/ql_dsp_macc_pm.h))

View File

@ -0,0 +1 @@
/bram_types_sim.v

File diff suppressed because it is too large Load Diff