From 4d4137e947ebfe79e066166acdc01749d699fa6f Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 29 Jan 2021 22:51:37 +0000 Subject: [PATCH] syntax corrections, also size of maxvl was wrong --- src/soc/sv/svstate.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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) -- 2.30.2