summaryrefslogtreecommitdiffstats
path: root/libtoprammer/chips/microchip8/makeSip6.py
diff options
context:
space:
mode:
Diffstat (limited to 'libtoprammer/chips/microchip8/makeSip6.py')
-rwxr-xr-x[-rw-r--r--]libtoprammer/chips/microchip8/makeSip6.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtoprammer/chips/microchip8/makeSip6.py b/libtoprammer/chips/microchip8/makeSip6.py
index 8a72d0c..0abf7ba 100644..100755
--- a/libtoprammer/chips/microchip8/makeSip6.py
+++ b/libtoprammer/chips/microchip8/makeSip6.py
@@ -36,9 +36,9 @@ def substitute(input, oldSocket, newSocket):
input = re.sub('(^\s*description).+"(.*)".*', lambda m:'{} = "{} - ICD",'.format(m.group(1), m.group(2)), input)
input = re.sub('(^\s*bitfile).*', lambda m:'{} = "microchip01sip6",'.format(m.group(1)), input)
input = re.sub("{}".format(oldSocket), "{}".format(newSocket), input)
+ input = re.sub("{}".format(oldSocket.upper()), "{}".format(newSocket.upper()), input)
return input
-
-
+
def makeSip():
inputFileName = '__init__.py'
fin = open(inputFileName)
bues.ch cgit interface