global: more pep8

we will have to continue the work... volunteers are welcome :)
This commit is contained in:
Florent Kermarrec 2015-04-13 21:33:44 +02:00
parent 89bb90fe2a
commit d83e170872
3 changed files with 17 additions and 17 deletions

View File

@ -7,5 +7,5 @@ class USBBlaster(GenericProgrammer):
needs_bitreverse = False needs_bitreverse = False
def load_bitstream(self, bitstream_file, port=0): def load_bitstream(self, bitstream_file, port=0):
usb_port = "[USB-"+str(port)+"]" usb_port = "[USB-"+str(port) + "]"
subprocess.call(["quartus_pgm", "-m", "jtag", "-c", "USB-Blaster"+usb_port, "-o", "p;"+bitstream_file]) subprocess.call(["quartus_pgm", "-m", "jtag", "-c", "USB-Blaster" + usb_port, "-o", "p;" + bitstream_file])