From: Clifford Wolf Date: Mon, 19 Aug 2019 11:04:06 +0000 (+0200) Subject: Merge branch 'master' of github.com:YosysHQ/yosys into clifford/pmgen X-Git-Tag: working-ls180~1124^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e3dd0a2da1c8a6a34d2a664f938a90fc83e81a9;p=yosys.git Merge branch 'master' of github.com:YosysHQ/yosys into clifford/pmgen --- 1e3dd0a2da1c8a6a34d2a664f938a90fc83e81a9 diff --cc CHANGELOG index cceb9fc9f,291c8d249..1324b2203 --- a/CHANGELOG +++ b/CHANGELOG @@@ -19,7 -19,9 +19,10 @@@ Yosys 0.9 .. Yosys 0.9-de - Added automatic gzip compression (based on filename extension) for backends - Improve attribute and parameter encoding in JSON to avoid ambiguities between bit vectors and strings containing [01xz]* + - Improvements in pmgen: subpattern and recursive matches + - Added "opt_share" pass, run as part of "opt -full" + - Added "ice40_wrapcarry" to encapsulate SB_LUT+SB_CARRY pairs for techmapping + - Removed "ice40_unlut" Yosys 0.8 .. Yosys 0.8-dev -------------------------- diff --cc passes/pmgen/Makefile.inc index bea21d971,c03606152..790811d4c --- a/passes/pmgen/Makefile.inc +++ b/passes/pmgen/Makefile.inc @@@ -3,15 -4,21 +3,21 @@@ # -------------------------------------- -passes/pmgen/ice40_dsp.o: passes/pmgen/ice40_dsp_pm.h -EXTRA_OBJS += passes/pmgen/ice40_dsp_pm.h -.SECONDARY: passes/pmgen/ice40_dsp_pm.h ++OBJS += passes/pmgen/test_pmgen.o ++passes/pmgen/test_pmgen.o: passes/pmgen/test_pmgen_pm.h ++$(eval $(call add_extra_objs,passes/pmgen/test_pmgen_pm.h)) + -passes/pmgen/ice40_dsp_pm.h: passes/pmgen/pmgen.py passes/pmgen/ice40_dsp.pmg - $(P) mkdir -p passes/pmgen && python3 $< -o $@ -p ice40_dsp $(filter-out $<,$^) ++# -------------------------------------- ++ +OBJS += passes/pmgen/ice40_dsp.o +passes/pmgen/ice40_dsp.o: passes/pmgen/ice40_dsp_pm.h +$(eval $(call add_extra_objs,passes/pmgen/ice40_dsp_pm.h)) # -------------------------------------- - OBJS += passes/pmgen/test_pmgen.o - passes/pmgen/test_pmgen.o: passes/pmgen/test_pmgen_pm.h ++OBJS += passes/pmgen/ice40_wrapcarry.o + passes/pmgen/ice40_wrapcarry.o: passes/pmgen/ice40_wrapcarry_pm.h -EXTRA_OBJS += passes/pmgen/ice40_wrapcarry_pm.h -.SECONDARY: passes/pmgen/ice40_wrapcarry_pm.h - -passes/pmgen/ice40_wrapcarry_pm.h: passes/pmgen/pmgen.py passes/pmgen/ice40_wrapcarry.pmg - $(P) mkdir -p passes/pmgen && python3 $< -o $@ -p ice40_wrapcarry $(filter-out $<,$^) +$(eval $(call add_extra_objs,passes/pmgen/test_pmgen_pm.h)) # --------------------------------------