build/altera/quartus: fix fmt_r typo

This commit is contained in:
Florent Kermarrec 2020-01-30 13:55:13 +01:00
parent c6b9676db8
commit 7a6c04db9e
1 changed files with 1 additions and 1 deletions

View 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])