mirror of
git://projects.qi-hardware.com/xue.git
synced 2025-01-12 06:20:16 +02:00
fixed xil2kc.py error
This commit is contained in:
parent
ef72b751a5
commit
a8ff17c52f
@ -66,10 +66,9 @@ def main():
|
|||||||
|
|
||||||
m = {}
|
m = {}
|
||||||
for i in xrange(len(pins)):
|
for i in xrange(len(pins)):
|
||||||
if m.has_key(pins[i][4]):
|
if not m.has_key(pins[i][4]):
|
||||||
m[pins[i][4]].append(i)
|
|
||||||
else:
|
|
||||||
m[pins[i][4]] = []
|
m[pins[i][4]] = []
|
||||||
|
m[pins[i][4]].append(i)
|
||||||
|
|
||||||
xl = KcLibrary (outputfile)
|
xl = KcLibrary (outputfile)
|
||||||
|
|
||||||
@ -107,6 +106,7 @@ def main():
|
|||||||
un.right_pins.append(signal)
|
un.right_pins.append(signal)
|
||||||
|
|
||||||
xl.write()
|
xl.write()
|
||||||
|
|
||||||
#end-main
|
#end-main
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user