build/efinix: Fix typo.

This commit is contained in:
Florent Kermarrec 2022-07-08 10:12:17 +02:00
parent 358b669ba9
commit 9e43ff4722

View file

@ -182,7 +182,7 @@ class EfinityToolchain(GenericToolchain):
inst.append(self._create_gpio_instance(sig, pins))
if len(pins) > 1:
for i, p in enumerate(pins):
conf.append(_format_conf_constraint("{}[{}]".format(sig, i), p, others, resname))
conf.append(self._format_conf_constraint("{}[{}]".format(sig, i), p, others, resname))
else:
conf.append(self._format_conf_constraint(sig, pins[0], others, resname))
if self.named_pc: