Merge pull request #970 from trabucayre/openfpgaloader_check_type
openfpgaloader: improves freq conversion type
This commit is contained in:
commit
1bf7abfc8a
|
@ -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", str(int(freq))]
|
self.cmd += ["--freq", str(int(float(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 New Issue