diff --git a/litex/build/openfpgaloader.py b/litex/build/openfpgaloader.py index 7af084905..a25e8a0d5 100644 --- a/litex/build/openfpgaloader.py +++ b/litex/build/openfpgaloader.py @@ -19,7 +19,7 @@ class OpenFPGALoader(GenericProgrammer): if cable: self.cmd += ["--cable", cable] if freq: - self.cmd += ["--freq", int(freq)] + self.cmd += ["--freq", str(int(freq))] def load_bitstream(self, bitstream_file): self.cmd += ["--bitstream", bitstream_file]