switch pspec from dict to PipelineSpec
[ieee754fpu.git] / src / ieee754 / pipeline.py
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 # See Notices.txt for copyright information
3
4
5 class PipelineSpec:
6 """ Pipeline Specification base class.
7
8 :attribute width: FIXME: document
9 :attribute id_width: FIXME: document
10 :attribute opcode_width: FIXME: document
11 """
12
13 def __init__(self, width, id_width, opcode_width):
14 """ Create a PipelineSpec. """
15 self.width = width
16 self.id_width = id_width
17 self.opcode_width = opcode_width