mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Currently, `ice40_opt -unlut` would map SB_LUT4 to $lut and convert them back to logic immediately. This is not desirable if the goal is to operate on $lut cells. If this is desirable, the same result as `ice40_opt -unlut` can be achieved by running simplemap and opt after ice40_unlut.
35 lines
1.3 KiB
Makefile
35 lines
1.3 KiB
Makefile
|
|
OBJS += techlibs/ice40/synth_ice40.o
|
|
OBJS += techlibs/ice40/ice40_ffssr.o
|
|
OBJS += techlibs/ice40/ice40_ffinit.o
|
|
OBJS += techlibs/ice40/ice40_opt.o
|
|
OBJS += techlibs/ice40/ice40_unlut.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
|
|
$(Q) mkdir -p techlibs/ice40
|
|
$(P) python3 $<
|
|
$(Q) 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/latches_map.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_gen_share_file,share/ice40,techlibs/ice40/brams_init1.vh))
|
|
$(eval $(call add_gen_share_file,share/ice40,techlibs/ice40/brams_init2.vh))
|
|
$(eval $(call add_gen_share_file,share/ice40,techlibs/ice40/brams_init3.vh))
|
|
|