def __init__(self, regfile, memory, *args, **kwargs):
        """
        Builds a CPU model.
        :param regfile: regfile object for this CPU.
        :param memory: memory object for this CPU.
        """
        super().__init__(regfile, memory, *args, **kwargs)
        #Segments ('base', 'limit', 'perms', 'gatetype')
        self._segments = {}
def __init__ ( self , regfile , memory , * args , ** kwargs ) : super ( ) . __init__ ( regfile , memory , * args , ** kwargs ) self . _segments = { }
Builds a CPU model.
        :param regfile: regfile object for this CPU.
        :param memory: memory object for this CPU.