Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Lekcyjna committed Oct 7, 2023
1 parent 1a4532b commit 1570bf9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions coreblocks/fu/fu_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def elaborate(self, platform):


class DecoderManager:
""" Class responsible for instruction management."""
"""Class responsible for instruction management."""

"""
Type[IntFlag]
Expand All @@ -54,7 +54,7 @@ class DecoderManager:
Fn: Type[IntFlag]

def get_instructions(self) -> Sequence[tuple]:
""" Method providing list of valid instruction.
"""Method providing list of valid instruction.
Returns
-------
Expand All @@ -66,7 +66,7 @@ def get_instructions(self) -> Sequence[tuple]:
raise NotImplementedError

def get_op_types(self) -> set[OpType]:
""" Method returning op types from listed instructions.
"""Method returning op types from listed instructions.
Returns
-------
Expand All @@ -76,7 +76,7 @@ def get_op_types(self) -> set[OpType]:
return {instr[1] for instr in self.get_instructions()}

def get_decoder(self, gen_params: GenParams) -> Decoder:
""" Method returning auto generated instruction decoder.
"""Method returning auto generated instruction decoder.
Parameters
----------
Expand All @@ -96,7 +96,7 @@ def get_decoder(self, gen_params: GenParams) -> Decoder:
return Decoder(gen_params, self.Fn, self.get_instructions(), check_optype=multiple_op_types)

def get_function(self) -> Value:
""" Method returning Signal Object for decoder, called function in FU blocks
"""Method returning Signal Object for decoder, called function in FU blocks
Returns
-------
Expand Down

0 comments on commit 1570bf9

Please sign in to comment.