mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
openfpgaloader.py: cast int to str
This commit is contained in:
parent
c984a4dbc8
commit
3706ed7416
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class OpenFPGALoader(GenericProgrammer):
|
||||||
if cable:
|
if cable:
|
||||||
self.cmd += ["--cable", cable]
|
self.cmd += ["--cable", cable]
|
||||||
if freq:
|
if freq:
|
||||||
self.cmd += ["--freq", int(freq)]
|
self.cmd += ["--freq", str(int(freq))]
|
||||||
|
|
||||||
def load_bitstream(self, bitstream_file):
|
def load_bitstream(self, bitstream_file):
|
||||||
self.cmd += ["--bitstream", bitstream_file]
|
self.cmd += ["--bitstream", bitstream_file]
|
||||||
|
|
Loading…
Reference in a new issue