From: Luke Kenneth Casson Leighton Date: Sun, 12 Jul 2020 12:33:19 +0000 (+0100) Subject: return unsigned int from binary reading X-Git-Tag: div_pipeline~79 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07baacdfae7f9153ea3295714bec7517a6c8dfe1;p=soc.git return unsigned int from binary reading --- diff --git a/src/soc/simulator/program.py b/src/soc/simulator/program.py index ee5ed7d7..16a172bb 100644 --- a/src/soc/simulator/program.py +++ b/src/soc/simulator/program.py @@ -82,7 +82,7 @@ class Program: data = self.binfile.read(4) if not data: break - yield struct.unpack('