build/altera/quartus: fix fmt_r typo
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 30 Jan 2020 12:55:13 +0000 (13:55 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 30 Jan 2020 12:55:13 +0000 (13:55 +0100)
litex/build/altera/quartus.py

index b71dfd73de2a17ee6e6e7a6d3e3b79767b314b9b..813969cdf0535b3d23bb02ab36a7e4f845b8ebac 100644 (file)
@@ -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])