From: Luke Kenneth Casson Leighton Date: Fri, 29 Jan 2021 22:51:37 +0000 (+0000) Subject: syntax corrections, also size of maxvl was wrong X-Git-Tag: convert-csv-opcode-to-binary~293 X-Git-Url: https://git.libre-soc.org/?p=soc.git;a=commitdiff_plain;h=4d4137e947ebfe79e066166acdc01749d699fa6f syntax corrections, also size of maxvl was wrong --- diff --git a/src/soc/sv/svstate.py b/src/soc/sv/svstate.py index 7307ce60..95df06e4 100644 --- a/src/soc/sv/svstate.py +++ b/src/soc/sv/svstate.py @@ -19,10 +19,10 @@ from nmigen import Record class SVSTATERec(Record): def __init__(self, name=None): - Record.__init__([("maxvl" : 8), - ("vl" : 7), - ("srcstep" : 7), - ("dststep" : 7), - ("subvl" : 2), - ("svstep" : 2), name=name) + Record.__init__(self, layout=[("maxvl" : 7), + ("vl" : 7), + ("srcstep" : 7), + ("dststep" : 7), + ("subvl" : 2), + ("svstep" : 2)], name=name)