Skip to content

Commit

Permalink
quicklogic: Generate bram_types_sim.v at build time
Browse files Browse the repository at this point in the history
  • Loading branch information
povik committed Dec 4, 2023
1 parent 8738143 commit e0fc48e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 73,375 deletions.
5 changes: 4 additions & 1 deletion techlibs/quicklogic/Makefile.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
%_pm.h: passes/pmgen/pmgen.py %.pmg
$(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/ql_bram_merge.o
OBJS += techlibs/quicklogic/ql_bram_types.o
Expand All @@ -10,7 +13,7 @@ OBJS += techlibs/quicklogic/ql_dsp_io_regs.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
$(eval $(call add_extra_objs,techlibs/quicklogic/ql_dsp_macc_pm.h))

Expand Down
1 change: 1 addition & 0 deletions techlibs/quicklogic/qlf_k6n10f/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bram_types_sim.v
Loading

0 comments on commit e0fc48e

Please sign in to comment.