fixed indentation issue while generating wire definitions for TWI
authorNeel <neelgala@gmail.com>
Wed, 21 Mar 2018 05:03:33 +0000 (10:33 +0530)
committerNeel <neelgala@gmail.com>
Wed, 21 Mar 2018 05:03:33 +0000 (10:33 +0530)
src/pinmux_generator.py

index 07af8b552198494cff146a0a662152639688e28d..64bb373004dba5d43090074bf01a1c3613390cd7 100644 (file)
@@ -168,7 +168,7 @@ with open("./bsv_src/pinmux.bsv", "w") as bsv_file:
         bsv_file.write(
         '''\n      // following wires capture signals to IO CELL if twi-{0} is
       // allotted to it'''.format(i))
-    bsv_file.write(twiwires.format(i))
+        bsv_file.write(twiwires.format(i))
 
     for i in range(0, N_SD):
         bsv_file.write(