From 07baacdfae7f9153ea3295714bec7517a6c8dfe1 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 12 Jul 2020 13:33:19 +0100 Subject: [PATCH] return unsigned int from binary reading --- src/soc/simulator/program.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('