<?xml version="1.0" encoding="UTF-8"?>
<GPIFIIModel version="3">
  <InterfaceDefination>
    <InterfaceSetting>
      <I2SEnabled>False</I2SEnabled>
      <I2CEnabled>False</I2CEnabled>
      <SPIEnabled>False</SPIEnabled>
      <I2SEnabled>False</I2SEnabled>
      <ADMuxedEnabled>False</ADMuxedEnabled>
      <InterfaceType>Master</InterfaceType>
      <CommunicationType>Synchronous</CommunicationType>
      <ClockSource>Internal</ClockSource>
      <ClockEdge>Positive</ClockEdge>
      <Endianness>LittleEndian</Endianness>
      <DataBusWidth>Bit16</DataBusWidth>
      <AddressBuswidth>0</AddressBuswidth>
    </InterfaceSetting>
  </InterfaceDefination>
  <Signals>
    <Signal ElementId="OUTPUT0" SignalType="Output" SpecialFunction="None">
      <DisplayName>OUTPUT0</DisplayName>
      <GPIOPinNumber>GPIO_26</GPIOPinNumber>
      <IntialValue>Low</IntialValue>
      <Polarity>ActiveHigh</Polarity>
      <Delay>Beta</Delay>
      <AssetionType>Toggle</AssetionType>
    </Signal>
  </Signals>
  <StateMachine>
    <AddressCounter />
    <DataCounter />
    <ControlCounter />
    <AddressComparator />
    <DataComparator />
    <ControlComparator />
    <DRQ />
    <AddrData />
    <State ElementId="STARTSTATE0" StateType="StartState">
      <DisplayName>START</DisplayName>
      <RepeatUntillNextTransition>True</RepeatUntillNextTransition>
      <RepeatCount>0</RepeatCount>
    </State>
    <State ElementId="STATE0" StateType="NormalState">
      <DisplayName>STATE0</DisplayName>
      <RepeatUntillNextTransition>True</RepeatUntillNextTransition>
      <RepeatCount>0</RepeatCount>
      <Action ElementId="DR_DATA0" ActionType="DR_DATA">
        <IsDataCounterConnected>False</IsDataCounterConnected>
        <DataSourceSink>Socket</DataSourceSink>
        <ThreadNumber>Thread3</ThreadNumber>
        <SyncBurstMode>Enable</SyncBurstMode>
        <DriveNewData>DriveNewData</DriveNewData>
        <UpdateSource>True</UpdateSource>
      </Action>
    </State>
    <State ElementId="STATE1" StateType="NormalState">
      <DisplayName>INIT</DisplayName>
      <RepeatUntillNextTransition>True</RepeatUntillNextTransition>
      <RepeatCount>0</RepeatCount>
    </State>
    <State ElementId="STATE4" StateType="NormalState">
      <DisplayName>STATE2</DisplayName>
      <RepeatUntillNextTransition>True</RepeatUntillNextTransition>
      <RepeatCount>0</RepeatCount>
      <Action ElementId="DR_DATA0" ActionType="DR_DATA">
        <IsDataCounterConnected>False</IsDataCounterConnected>
        <DataSourceSink>Socket</DataSourceSink>
        <ThreadNumber>Thread3</ThreadNumber>
        <SyncBurstMode>Enable</SyncBurstMode>
        <DriveNewData>DrivePreviousSetData</DriveNewData>
        <UpdateSource>True</UpdateSource>
      </Action>
    </State>
    <State ElementId="STATE5" StateType="NormalState">
      <DisplayName>STATE5</DisplayName>
      <RepeatUntillNextTransition>True</RepeatUntillNextTransition>
      <RepeatCount>0</RepeatCount>
      <Action ElementId="DR_DATA0" ActionType="DR_DATA">
        <IsDataCounterConnected>False</IsDataCounterConnected>
        <DataSourceSink>Socket</DataSourceSink>
        <ThreadNumber>Thread3</ThreadNumber>
        <SyncBurstMode>Enable</SyncBurstMode>
        <DriveNewData>DrivePreviousSetData</DriveNewData>
        <UpdateSource>True</UpdateSource>
      </Action>
      <Action ElementId="DR_GPIO0" ActionType="DR_GPIO">
        <ControlPinName>OUTPUT0</ControlPinName>
      </Action>
    </State>
    <State ElementId="STATE3" StateType="NormalState">
      <DisplayName>STATE1</DisplayName>
      <RepeatUntillNextTransition>True</RepeatUntillNextTransition>
      <RepeatCount>0</RepeatCount>
      <Action ElementId="DR_DATA0" ActionType="DR_DATA">
        <IsDataCounterConnected>False</IsDataCounterConnected>
        <DataSourceSink>Socket</DataSourceSink>
        <ThreadNumber>Thread3</ThreadNumber>
        <SyncBurstMode>Enable</SyncBurstMode>
        <DriveNewData>DrivePreviousSetData</DriveNewData>
        <UpdateSource>True</UpdateSource>
      </Action>
      <Action ElementId="DR_GPIO0" ActionType="DR_GPIO">
        <ControlPinName>OUTPUT0</ControlPinName>
      </Action>
    </State>
    <State ElementId="STATE6" StateType="NormalState">
      <DisplayName>STATE4</DisplayName>
      <RepeatUntillNextTransition>True</RepeatUntillNextTransition>
      <RepeatCount>0</RepeatCount>
      <Action ElementId="DR_DATA0" ActionType="DR_DATA">
        <IsDataCounterConnected>False</IsDataCounterConnected>
        <DataSourceSink>Socket</DataSourceSink>
        <ThreadNumber>Thread3</ThreadNumber>
        <SyncBurstMode>Enable</SyncBurstMode>
        <DriveNewData>DrivePreviousSetData</DriveNewData>
        <UpdateSource>True</UpdateSource>
      </Action>
    </State>
    <Transition ElementId="TRANSITION0" SourceState="STATE1" DestinationState="STATE0" Equation="DMA_RDY_TH3" />
    <Transition ElementId="TRANSITION1" SourceState="STARTSTATE0" DestinationState="STATE1" Equation="LOGIC_ONE" />
    <Transition ElementId="TRANSITION5" SourceState="STATE0" DestinationState="STATE3" Equation="LOGIC_ONE" />
    <Transition ElementId="TRANSITION6" SourceState="STATE3" DestinationState="STATE4" Equation="LOGIC_ONE" />
    <Transition ElementId="TRANSITION7" SourceState="STATE4" DestinationState="STATE5" Equation="LOGIC_ONE" />
    <Transition ElementId="TRANSITION8" SourceState="STATE5" DestinationState="STATE6" Equation="LOGIC_ONE" />
    <Transition ElementId="TRANSITION9" SourceState="STATE6" DestinationState="STATE0" Equation="DMA_RDY_TH3" />
  </StateMachine>
</GPIFIIModel>