mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 21:27:00 +00:00
Initialization support for all iCE40 bram modes
This commit is contained in:
parent
b4d7a590e8
commit
752851954b
8 changed files with 65 additions and 28 deletions
|
@ -2,9 +2,27 @@
|
|||
OBJS += techlibs/ice40/synth_ice40.o
|
||||
OBJS += techlibs/ice40/ice40_ffssr.o
|
||||
|
||||
GENFILES += techlibs/ice40/brams_init1.vh
|
||||
GENFILES += techlibs/ice40/brams_init2.vh
|
||||
GENFILES += techlibs/ice40/brams_init3.vh
|
||||
|
||||
EXTRA_OBJS += techlibs/ice40/brams_init.mk
|
||||
.SECONDARY: techlibs/ice40/brams_init.mk
|
||||
|
||||
techlibs/ice40/brams_init.mk: techlibs/ice40/brams_init.py
|
||||
cd techlibs/ice40 && python brams_init.py
|
||||
touch techlibs/ice40/brams_init.mk
|
||||
|
||||
techlibs/ice40/brams_init1.vh: techlibs/ice40/brams_init.mk
|
||||
techlibs/ice40/brams_init2.vh: techlibs/ice40/brams_init.mk
|
||||
techlibs/ice40/brams_init3.vh: techlibs/ice40/brams_init.mk
|
||||
|
||||
$(eval $(call add_share_file,share/ice40,techlibs/ice40/arith_map.v))
|
||||
$(eval $(call add_share_file,share/ice40,techlibs/ice40/cells_map.v))
|
||||
$(eval $(call add_share_file,share/ice40,techlibs/ice40/cells_sim.v))
|
||||
$(eval $(call add_share_file,share/ice40,techlibs/ice40/brams.txt))
|
||||
$(eval $(call add_share_file,share/ice40,techlibs/ice40/brams_map.v))
|
||||
$(eval $(call add_share_file,share/ice40,techlibs/ice40/brams_init1.vh))
|
||||
$(eval $(call add_share_file,share/ice40,techlibs/ice40/brams_init2.vh))
|
||||
$(eval $(call add_share_file,share/ice40,techlibs/ice40/brams_init3.vh))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue