projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e22d4b
)
build/xilinx/vivado: add vivado_build_args/vivado_build_argdict for yosys synthesis...
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Mon, 7 Oct 2019 08:37:16 +0000
(10:37 +0200)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Mon, 7 Oct 2019 08:37:16 +0000
(10:37 +0200)
litex/build/xilinx/vivado.py
patch
|
blob
|
history
diff --git
a/litex/build/xilinx/vivado.py
b/litex/build/xilinx/vivado.py
index 9546391f5d80d09868f4984e6b841e9012d2ee4a..01fd8075b16def51092dc94b92d08586b4938a4c 100644
(file)
--- a/
litex/build/xilinx/vivado.py
+++ b/
litex/build/xilinx/vivado.py
@@
-270,3
+270,10
@@
class XilinxVivadoToolchain:
def add_false_path_constraint(self, platform, from_, to):
if (to, from_) not in self.false_paths:
self.false_paths.add((from_, to))
+
+def vivado_build_args(parser):
+ parser.add_argument("--synth-mode", default=None, help="synthesis mode (vivado or yosys)")
+
+
+def vivado_build_argdict(args):
+ return {"synth_mode": args.synth_mode}