Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #116 from SpiNNakerManchester/pylint_fix
Browse files Browse the repository at this point in the history
comment out unused  Decoded from command: operation code
  • Loading branch information
rowleya committed Feb 3, 2022
2 parents a05a204 + 7dcf040 commit 27ddd8a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions data_specification/data_specification_executor_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ class DataSpecificationExecutorFunctions(AbstractExecutorFunctions):

# Decodings of the current command
"__cmd_size",
"__opcode",
"__dest_reg",
"__src1_reg",
"__src2_reg",
Expand Down Expand Up @@ -91,8 +90,6 @@ def __init__(self, spec_reader, memory_space):

#: Decoded from command: size in words
self.__cmd_size = None
#: Decoded from command: operation code
self.__opcode = None
#: Decoded from command: destination register or None
self.__dest_reg = None
#: Decoded from command: first source register or None
Expand All @@ -117,7 +114,6 @@ def __unpack_cmd(self, cmd):
:param int cmd: The command read form the data spec file
"""
self.__cmd_size = (cmd >> 28) & 0x3
self.__opcode = (cmd >> 20) & 0xFF
use_dest_reg = (cmd >> 18) & 0x1 == 0x1
use_src1_reg = (cmd >> 17) & 0x1 == 0x1
use_src2_reg = (cmd >> 16) & 0x1 == 0x1
Expand Down

0 comments on commit 27ddd8a

Please sign in to comment.