Newer
Older
B-ASIC Simulation Module.
TODO: More info.
"""
from numbers import Number
Angus Lothian
committed
from typing import List, Dict
"""Simulation state of an operation.
TODO: More info.
"""
def __init__(self):
self.output_values = []
self.iteration = 0
Angus Lothian
committed
operation_states: Dict[int, OperationState]
Angus Lothian
committed
op_state = OperationState()
self.operation_states = {1: op_state}
Angus Lothian
committed
# @property
# #def iteration(self):
# return self.iteration
# @iteration.setter
# def iteration(self, new_iteration: int):
# self.iteration = new_iteration
#
# TODO: More stuff