def __init__(self, chain):
        """Create a new CommandQueue to manage, compile, and run Primitives.

        Args:
            chain: A JTAGScanChain instance that this queue will be associated with.
        """
        self.queue = []
        self._fsm = JTAGStateMachine()
        self._chain = chain
def __init__ ( self , chain ) : self . queue = [ ] self . _fsm = JTAGStateMachine ( ) self . _chain = chain
Create a new CommandQueue to manage, compile, and run Primitives.

        Args:
            chain: A JTAGScanChain instance that this queue will be associated with.