Skip to content

Commit d4ce57b

Browse files
authored
Merge pull request #73 from wzab/fix_new_verilator
Modification needed to run the bootstrap in swapforth/j1b/verilator w…
2 parents 06c38c5 + 535d231 commit d4ce57b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

j1b/verilator/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def serialize(self):
4646
for l in lines:
4747
l = l.split()
4848
s += [int(b, 16) for b in l[1:17]]
49-
s = array.array('B', s).tostring().ljust(32768, chr(0xff))
49+
s = array.array('B', s).tobytes().ljust(32768, bytearray((0xff,)))
5050
return array.array('i', s)
5151

5252
if __name__ == '__main__':

0 commit comments

Comments
 (0)