platform/de10nano: fix programmer (thanks @Godtec, see https://github.com/enjoy-digital/litex/pull/811).

This commit is contained in:
Florent Kermarrec 2021-02-12 15:23:17 +01:00
parent 52d5787ade
commit 9baa9d5d83
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class Platform(AlteraPlatform):
self.add_extension(_mister_sdram_module_io) self.add_extension(_mister_sdram_module_io)
def create_programmer(self): def create_programmer(self):
return USBBlaster() return USBBlaster(cable_name="DE-SoC", device_id=2)
def do_finalize(self, fragment): def do_finalize(self, fragment):
AlteraPlatform.do_finalize(self, fragment) AlteraPlatform.do_finalize(self, fragment)