Skip to content
Snippets Groups Projects
Commit da276b0f authored by Martin's avatar Martin
Browse files

s is the killer of good documentation quality

parent b50a0fdd
No related branches found
No related tags found
1 merge request!40started to seperate state and parameters, ended up doing more work on keeping private variables private
...@@ -72,7 +72,7 @@ class Register(Module): ...@@ -72,7 +72,7 @@ class Register(Module):
def get_state(self) -> dict[str, Any]: def get_state(self) -> dict[str, Any]:
""" """
Returns a dict of the register state. Return a dict of the register state.
These states are changeable via set_states. These states are changeable via set_states.
""" """
...@@ -172,7 +172,7 @@ class IntegerRegister(Register): ...@@ -172,7 +172,7 @@ class IntegerRegister(Register):
def get_parameter(self) -> dict[str, Any]: def get_parameter(self) -> dict[str, Any]:
""" """
Returns a dict of the register parameter. Return a dict of the register parameter, i.e. its bit length.
""" """
parameter = super().get_parameter() parameter = super().get_parameter()
parameter["bit_length"] = self._bit_length parameter["bit_length"] = self._bit_length
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment