diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-08-07 16:27:24 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-08-07 16:29:38 -0700 |
commit | 675c1d42182b871ff4706b992eb005ed9d3d6f02 (patch) | |
tree | e8902f35fba57c7d22af04907bef7dd1a926c006 /passes/pmgen/Makefile.inc | |
parent | cc331cf70d9e9f7095e335fc217fd3dbbbe92a93 (diff) | |
download | yosys-675c1d42182b871ff4706b992eb005ed9d3d6f02.tar.gz yosys-675c1d42182b871ff4706b992eb005ed9d3d6f02.tar.bz2 yosys-675c1d42182b871ff4706b992eb005ed9d3d6f02.zip |
Add ice40_wrapcarry pass, rename $__ICE40_FULL_ADDER -> CARRY_WRAPPER
Diffstat (limited to 'passes/pmgen/Makefile.inc')
-rw-r--r-- | passes/pmgen/Makefile.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/passes/pmgen/Makefile.inc b/passes/pmgen/Makefile.inc index 7911132db..c03606152 100644 --- a/passes/pmgen/Makefile.inc +++ b/passes/pmgen/Makefile.inc @@ -1,4 +1,5 @@ OBJS += passes/pmgen/ice40_dsp.o +OBJS += passes/pmgen/ice40_wrapcarry.o OBJS += passes/pmgen/peepopt.o # -------------------------------------- @@ -12,6 +13,15 @@ passes/pmgen/ice40_dsp_pm.h: passes/pmgen/pmgen.py passes/pmgen/ice40_dsp.pmg # -------------------------------------- +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 $<,$^) + +# -------------------------------------- + passes/pmgen/peepopt.o: passes/pmgen/peepopt_pm.h EXTRA_OBJS += passes/pmgen/peepopt_pm.h .SECONDARY: passes/pmgen/peepopt_pm.h |