From 7a6c04db9e8d830b8729e64834bc5c97277cca4f Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 30 Jan 2020 13:55:13 +0100 Subject: [PATCH] build/altera/quartus: fix fmt_r typo --- litex/build/altera/quartus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/altera/quartus.py b/litex/build/altera/quartus.py index b71dfd73d..813969cdf 100644 --- a/litex/build/altera/quartus.py +++ b/litex/build/altera/quartus.py @@ -33,7 +33,7 @@ def _format_constraint(c, signame, fmt_r): return tpl.format(signame=signame, name=fmt_r, misc=c.misc) else: tpl = "set_instance_assignment -comment \"{name}\" -name {misc} -to {signame}" - return tpl.format(signame=signame, name=fmt.r, misc=c.misc) + return tpl.format(signame=signame, name=fmt_r, misc=c.misc) def _format_qsf_constraint(signame, pin, others, resname): fmt_r = "{}:{}".format(*resname[:2])