From 3706ed74165d9d26f3f792f0937e9e373a7d34cf Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Wed, 14 Jul 2021 17:50:50 +0200 Subject: [PATCH] openfpgaloader.py: cast int to str --- litex/build/openfpgaloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]