mirror of https://github.com/YosysHQ/yosys.git
Oops forgot these files
This commit is contained in:
parent
dd59375a66
commit
5f00d335d4
|
@ -1,14 +1,19 @@
|
||||||
OBJS += passes/pmgen/ice40_dsp.o
|
OBJS += passes/pmgen/ice40_dsp.o
|
||||||
|
OBJS += passes/pmgen/xilinx_dsp.o
|
||||||
OBJS += passes/pmgen/peepopt.o
|
OBJS += passes/pmgen/peepopt.o
|
||||||
|
|
||||||
# --------------------------------------
|
# --------------------------------------
|
||||||
|
|
||||||
|
passes/pmgen/%.o: passes/pmgen/%_pm.h
|
||||||
passes/pmgen/ice40_dsp.o: passes/pmgen/ice40_dsp_pm.h
|
passes/pmgen/ice40_dsp.o: passes/pmgen/ice40_dsp_pm.h
|
||||||
|
passes/pmgen/xilinx_dsp.o: passes/pmgen/xilinx_dsp_pm.h
|
||||||
EXTRA_OBJS += passes/pmgen/ice40_dsp_pm.h
|
EXTRA_OBJS += passes/pmgen/ice40_dsp_pm.h
|
||||||
|
EXTRA_OBJS += passes/pmgen/xilinx_dsp_pm.h
|
||||||
.SECONDARY: passes/pmgen/ice40_dsp_pm.h
|
.SECONDARY: passes/pmgen/ice40_dsp_pm.h
|
||||||
|
.SECONDARY: passes/pmgen/xilinx_dsp_pm.h
|
||||||
|
|
||||||
passes/pmgen/ice40_dsp_pm.h: passes/pmgen/pmgen.py passes/pmgen/ice40_dsp.pmg
|
passes/pmgen/%_pm.h: passes/pmgen/pmgen.py passes/pmgen/%.pmg
|
||||||
$(P) mkdir -p passes/pmgen && python3 $< -o $@ -p ice40_dsp $(filter-out $<,$^)
|
$(P) mkdir -p passes/pmgen && python3 $< -o $@ -p $* $(filter-out $<,$^)
|
||||||
|
|
||||||
# --------------------------------------
|
# --------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@ $(eval $(call add_share_file,share/xilinx,techlibs/xilinx/arith_map.v))
|
||||||
$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/ff_map.v))
|
$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/ff_map.v))
|
||||||
$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/lut_map.v))
|
$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/lut_map.v))
|
||||||
$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/mux_map.v))
|
$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/mux_map.v))
|
||||||
|
$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/dsp_map.v))
|
||||||
|
|
||||||
$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/abc_xc7.box))
|
$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/abc_xc7.box))
|
||||||
$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/abc_xc7.lut))
|
$(eval $(call add_share_file,share/xilinx,techlibs/xilinx/abc_xc7.lut))
|
||||||
|
|
|
@ -329,6 +329,10 @@ struct SynthXilinxPass : public ScriptPass
|
||||||
run("memory_map");
|
run("memory_map");
|
||||||
run("dffsr2dff");
|
run("dffsr2dff");
|
||||||
run("dff2dffe");
|
run("dff2dffe");
|
||||||
|
if (help_mode || !nodsp) {
|
||||||
|
run("techmap -map +/xilinx/dsp_map.v", "(skip if '-nodsp')");
|
||||||
|
run("xilinx_dsp", " (skip if '-nodsp')");
|
||||||
|
}
|
||||||
if (help_mode) {
|
if (help_mode) {
|
||||||
run("simplemap t:$mux", " ('-widemux' only)");
|
run("simplemap t:$mux", " ('-widemux' only)");
|
||||||
run("muxcover <internal options>, ('-widemux' only)");
|
run("muxcover <internal options>, ('-widemux' only)");
|
||||||
|
|
Loading…
Reference in New Issue