summarylogtreecommitdiffstats
path: root/0003-fix-xc7-synth.tcl-run-fix_xc7_carry.py-directly.patch
diff options
context:
space:
mode:
authorXiretza2022-06-01 11:55:58 +0200
committerXiretza2022-06-01 11:57:50 +0200
commit9b8ac2de5a3561cdc790db6a474d9a3eac7bd57b (patch)
tree8ec2a5ecf82210ec74e2b273b1064655fb129de0 /0003-fix-xc7-synth.tcl-run-fix_xc7_carry.py-directly.patch
parent342d6a792c3f1760ea69db97fc2aeefba7736a5d (diff)
downloadaur-f4pga-arch-defs-nightly-bin.tar.gz
Rename to f4pga-arch-defs-nightly-bin, update
Diffstat (limited to '0003-fix-xc7-synth.tcl-run-fix_xc7_carry.py-directly.patch')
-rw-r--r--0003-fix-xc7-synth.tcl-run-fix_xc7_carry.py-directly.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0003-fix-xc7-synth.tcl-run-fix_xc7_carry.py-directly.patch b/0003-fix-xc7-synth.tcl-run-fix_xc7_carry.py-directly.patch
new file mode 100644
index 00000000000..035804d04dc
--- /dev/null
+++ b/0003-fix-xc7-synth.tcl-run-fix_xc7_carry.py-directly.patch
@@ -0,0 +1,25 @@
+From cdf9496a23197128a33573fb13346ab8a4b35c84 Mon Sep 17 00:00:00 2001
+From: Xiretza <xiretza@xiretza.xyz>
+Date: Sun, 29 May 2022 16:24:04 +0200
+Subject: [PATCH 3/3] fix(xc7/synth.tcl): run fix_xc7_carry.py directly
+
+---
+ xc/xc7/yosys/synth.tcl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xc/xc7/yosys/synth.tcl b/xc/xc7/yosys/synth.tcl
+index 6944fabb..ac858c6d 100644
+--- a/xc/xc7/yosys/synth.tcl
++++ b/xc/xc7/yosys/synth.tcl
+@@ -144,7 +144,7 @@ techmap -map $::env(TECHMAP_PATH)/carry_map.v
+ clean_processes
+ write_json $::env(OUT_JSON).carry_fixup.json
+
+-exec $::env(PYTHON3) $::env(UTILS_PATH)/fix_xc7_carry.py < $::env(OUT_JSON).carry_fixup.json > $::env(OUT_JSON).carry_fixup_out.json
++exec $::env(UTILS_PATH)/fix_xc7_carry.py < $::env(OUT_JSON).carry_fixup.json > $::env(OUT_JSON).carry_fixup_out.json
+ design -push
+ read_json $::env(OUT_JSON).carry_fixup_out.json
+
+--
+2.36.1
+