<?xml version="1.0" encoding="UTF-8"?>
<Clock xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" savedConfig="false" xsi:noNamespaceSchemaLocation="../../../../../../../doc/V4/Development/Specifications/db/MCU_Clock.xsd">
    <Background  imageName="hidemux3inputs" name="hideUSART3"  x="1223" y="1063">
        <Condition Diagnostic="" Expression="!USART3_Exist"/>
    </Background>
    <Background  imageName="blackline2" name="hideUSART3cross"  x="1350" y="1135">
        <Condition Diagnostic="" Expression="!USART3_Exist"/>
    </Background>
    <Background  imageName="hidemux3inputs" name="hideUART4"  x="1223" y="1273">
        <Condition Diagnostic="" Expression="!UART4_Exist"/>
    </Background>
    <Background  imageName="blackline2" name="hideUART4cross"  x="1350" y="1345">
        <Condition Diagnostic="" Expression="!UART4_Exist"/>
    </Background>
    <Background  imageName="hidemux3inputs" name="hideUART5"  x="1223" y="1493">
        <Condition Diagnostic="" Expression="!UART5_Exist"/>
    </Background>
    <Background  imageName="blackline2" name="hideUART5cross"  x="1350" y="1565">
        <Condition Diagnostic="" Expression="!UART5_Exist"/>
    </Background>
    
    <Background  imageName="hidemux3inputs" name="hideI2C4"  x="723" y="1643">
        <Condition Diagnostic="" Expression="!I2C4_Exist"/>
    </Background>
    <Background  imageName="blackline2" name="hideI2C4cross"  x="850" y="1715">
        <Condition Diagnostic="" Expression="!I2C4_Exist"/>
    </Background>
       <Tree id="ClockTree">
        <!--Divers source-->
        <Element id="HSIRC" type="fixedSource" isKey="true" refParameter="HSI_VALUE" x="295" y="455">
            <Output signalId="HSI" to="SYSCLKSource"/>
            <Output signalId="HSI" to="PLLSource"/>
            <Output signalId="HSI" to="MCOMult"/>
            <Output signalId="HSI" to="USART1Mult"/>
            <Output signalId="HSI" to="USART3Mult"/>
            <Output signalId="HSI" to="USART2Mult"/>
            <Output signalId="HSI" to="LPUART1Mult"/>
            <Output signalId="HSI" to="LPTIM1Mult"/>
            <Output signalId="HSI" to="I2C1Mult"/>
            <Output signalId="HSI" to="I2C2Mult"/>
            <Output signalId="HSI" to="I2C3Mult"/>
            <Output signalId="HSI" to="I2C4Mult"/>            
            <Output signalId="HSI" to="ADC12Mult"/>
            <Output signalId="HSI" to="ADC345Mult"/>
            <Output signalId="HSI" to="QSPIMult"/>
        </Element>
        
        <Element id="HSI48RC" type="fixedSource" isKey="true" refParameter="HSI48_VALUE" x="295" y="598" refEnable="EnableCRS,USBEnable,RNGEnable,MCOEnable">
            <Output signalId="HSI48" to="MCOMult"/>
            <Output signalId="HSI48" to="CK48Mult"/>            
        </Element>
        
        <Element id="CRSCLKoutput" type="output" refParameter="CRSFreq_Value" x="935" y="650" refEnable="EnableCRS">
            <Input signalId="HSI48" from="HSI48RC"/>
        </Element>


        <Element id="HSEOSC" type="variedSource" x="200" y="495" refParameter="HSE_VALUE">
            <Output signalId="HSE" to="SysClkSource"/>
            <Output signalId="HSE" to="HSERTCDevisor"/>
            <Output signalId="HSE" to="PLLSource"/>
            <Output signalId="HSE" to="MCOMult"/>
            <Output signalId="HSE" to="SAI1Mult"/>
            <Output signalId="HSE" to="FDCANMult"/>
           
        </Element>
        <Element id="LSIRC" type="fixedSource" refParameter="LSI_VALUE" x="295" y="234">
            <Output signalId="LSI" to="IWDGOutput"/>
            <Output signalId="LSI" to="RTCClkSource"/>
            <Output signalId="LSI" to="LPTIM1Mult"/>
            <Output signalId="LSI" to="MCOMult"/>
            <Output signalId="LSI" to="LSCOMult"/>

        </Element>
        <Element id="LSEOSC" type="variedSource" refParameter="LSE_VALUE" x="200" y="194">
            <Output signalId="LSE" to="RTCClkSource"/>
            <Output signalId="LSE" to="MCOMult"/>
            <Output signalId="LSE" to="USART1Mult"/>
            <Output signalId="LSE" to="USART3Mult"/>
            <Output signalId="LSE" to="USART2Mult"/>
            <Output signalId="LSE" to="UART4Mult"/>
            <Output signalId="LSE" to="UART5Mult"/>
            <Output signalId="LSE" to="LPUART1Mult"/>
            <Output signalId="LSE" to="LPTIM1Mult"/>
            <Output signalId="LSE" to="LSCOMult"/>
        </Element>

		
        <!--System clock-->
        <Element id="SysClkSource" type="multiplexor" refParameter="SYSCLKSource" x="795" y="343">            
            <Input signalId="HSI"     from="HSIRC"     refValue="RCC_SYSCLKSOURCE_HSI"    />
            <Input signalId="HSE"     from="HSEOSC" refValue="RCC_SYSCLKSOURCE_HSE"    />
            <Input signalId="PLLCLK"  from="PLLR"   refValue="RCC_SYSCLKSOURCE_PLLCLK" />
            <Output signalId="SYSCLKInput" to="SysCLKOutput"/>
           
        </Element>
        <Element id="SysCLKOutput" type="output" refParameter="SYSCLKFreq_VALUE" x="842" y="377">
            <Input signalId="SYSCLKInput" from="SysClkSource"/>
            <Output signalId="SYSCLK" to="AHBPrescaler"/>
            <Output signalId="SYSCLK" to="PWRCLKoutput"/>
            <Output signalId="SYSCLK" to="USART1Mult"/>
            <Output signalId="SYSCLK" to="USART3Mult"/>
            <Output signalId="SYSCLK" to="UART4Mult"/>
            <Output signalId="SYSCLK" to="UART5Mult"/>
            <Output signalId="SYSCLK" to="USART2Mult"/>
            <Output signalId="SYSCLK" to="LPUART1Mult"/>
            <Output signalId="SYSCLK" to="I2C1Mult"/>
            <Output signalId="SYSCLK" to="I2C2Mult"/>
            <Output signalId="SYSCLK" to="I2C3Mult"/>
            <Output signalId="SYSCLK" to="I2C4Mult"/>
            <Output signalId="SYSCLK" to="ADC12Mult"/>
            <Output signalId="SYSCLK" to="ADC345Mult"/>
            <Output signalId="SYSCLK" to="QSPIMult"/>
            <Output signalId="SYSCLK" to="MCOMult"    />
            <Output signalId="SYSCLK" to="SAI1Mult"/>
            
        </Element>
        <!--Main PLL source-->
        <Element id="PLLSource" type="multiplexor" refParameter="PLLSourceVirtual" orientation="LEFT" x="408" y="463">
            <Input signalId="HSI" from="HSIRC"  refValue="RCC_PLLSOURCE_HSI"/>
            <Input signalId="HSE" from="HSEOSC" refValue="RCC_PLLSOURCE_HSE"/>
            <Output signalId="PLLSRC" to="PLLM"    />
        </Element>
        <Element id="PLLM" type="devisor" refParameter="PLLM" x="442" y="478">
            <Input signalId="PLLSRC" from="PLLSource"/>
            <Output signalId="VCOInput" to="PLLN"/>
        </Element>
    
      
        <!--IP clock-->
        <Element id="HSERTCDevisor" type="devisor" refParameter="RCC_RTC_Clock_Source_FROM_HSE" x="429" y="163" refEnable="EnableHSERTCDevisor,EnableHSELCDDevisor">
            <Input signalId="HSE" from="HSEOSC"/>
            <Output signalId="HSE_RTC"  to="RTCClkSource" />
        </Element>
        <Element id="RTCClkSource" type="multiplexor" refParameter="RTCClockSelection" x="540" y="166" refEnable="RTCEnable,LCDEnable">
            <Input signalId="HSE_RTC" from="HSERTCDevisor"    refValue="RCC_RTCCLKSOURCE_HSE_DIV32"                     />
            <Input signalId="LSE"     from="LSEOSC"           refValue="RCC_RTCCLKSOURCE_LSE"/>
            <Input signalId="LSI"     from="LSIRC"  	      refValue="RCC_RTCCLKSOURCE_LSI"/>
            <Output signalId="RTCCLK" to="RTCOutput"/>
			<Output signalId="RTCCLK"  to="LCDOutput"/>
        </Element>
        <Element id="RTCOutput" type="output" refParameter="RTCFreq_Value" x="613" y="197" refEnable="RTCEnable">
            <Input signalId="RTCCLK" from="RTCClkSource"/>
        </Element>
		<Element id="LCDOutput" type="output" refParameter="LCDFreq_Value" x="613" y="165" refEnable="LCDEnable">
            <Input signalId="RTCCLK" from="RTCClkSource"/>
        </Element>
        <Element id="IWDGOutput" type="output" refParameter="WatchDogFreq_Value" x="613" y="281" refEnable="IWDGEnable" >
            <Input signalId="LSI" from="LSIRC"/>
        </Element>
    
        <Element id="USART1Mult" type="multiplexor" refParameter="USART1CLockSelection" orientation="LEFT" x="1304" y="532" refEnable="USART1Enable">
            <Input signalId="PCLK2"    from="APB2Prescaler"  refValue="RCC_USART1CLKSOURCE_PCLK2"/>
            <Input signalId="SYSCLK"   from="SysCLKOutput"   refValue="RCC_USART1CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"      from="HSIRC"          refValue="RCC_USART1CLKSOURCE_HSI"   />
            <Input signalId="LSE"      from="LSEOSC"         refValue="RCC_USART1CLKSOURCE_LSE"/>
            <Output signalId="USART1CLK" to="USART1output"/>
        </Element>
        <Element id="USART1output" type="activeOutput" refParameter="USART1Freq_Value" x="1358" y="562"  refEnable="USART1Enable">
            <Input signalId="USART1CLK" from="USART1Mult"/>
        </Element>
        
        <Element id="USART3Mult" type="multiplexor" refParameter="USART3CLockSelection" orientation="LEFT"  x="1184" y="947" refEnable="USART3Enable">
            <Condition Diagnostic="" Expression="USART3_Exist"/>
            <Input signalId="PCLK1"    from="APB1Prescaler"  refValue="RCC_USART3CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK"   from="SysCLKOutput"   refValue="RCC_USART3CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"      from="HSIRC"          refValue="RCC_USART3CLKSOURCE_HSI"   />
            <Input signalId="LSE"      from="LSEOSC"         refValue="RCC_USART3CLKSOURCE_LSE"/>
            <Output signalId="USART3CLK" to="USART3output"/>
        </Element>
        <Element id="USART3output" type="activeOutput" refParameter="USART3Freq_Value" x="1358" y="980"  refEnable="USART3Enable">
            <Condition Diagnostic="" Expression="USART3_Exist"/>
            <Input signalId="USART3CLK" from="USART3Mult"/>
        </Element>
        
        <Element id="UART4Mult" type="multiplexor" refParameter="UART4CLockSelection" orientation="LEFT" x="1184" y="1102" refEnable="UART4Enable">
            <Condition Diagnostic="" Expression="UART4_Exist"/>
            <Input signalId="PCLK1"    from="APB1Prescaler"  refValue="RCC_UART4CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK"   from="SysCLKOutput"   refValue="RCC_UART4CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"      from="HSIRC"          refValue="RCC_UART4CLKSOURCE_HSI"   />
            <Input signalId="LSE"      from="LSEOSC"         refValue="RCC_UART4CLKSOURCE_LSE"/>
            <Output signalId="UART4CLK" to="UART4output"/>
        </Element>
        <Element id="UART4output" type="activeOutput" refParameter="UART4Freq_Value" x="1358" y="1135"  refEnable="UART4Enable">
            <Condition Diagnostic="" Expression="UART4_Exist"/>
            <Input signalId="UART4CLK" from="UART4Mult"/>
        </Element>
        
        <Element id="UART5Mult" type="multiplexor" refParameter="UART5CLockSelection" orientation="LEFT" x="1184" y="1267" refEnable="UART5Enable">
            <Condition Diagnostic="" Expression="UART5_Exist"/>
            <Input signalId="PCLK1"    from="APB1Prescaler"  refValue="RCC_UART5CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK"   from="SysCLKOutput"   refValue="RCC_UART5CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"      from="HSIRC"          refValue="RCC_UART5CLKSOURCE_HSI"   />
            <Input signalId="LSE"      from="LSEOSC"         refValue="RCC_UART5CLKSOURCE_LSE"/>
            <Output signalId="UART5CLK" to="UART5output"/>
        </Element>
        <Element id="UART5output" type="activeOutput" refParameter="UART5Freq_Value" x="1358" y="1300"  refEnable="UART5Enable">
            <Condition Diagnostic="" Expression="UART5_Exist"/>
            <Input signalId="UART5CLK" from="UART5Mult"/>
        </Element>
        
        <Element id="USART2Mult" type="multiplexor" refParameter="USART2CLockSelection" orientation="LEFT" x="1302" y="692" refEnable="USART2Enable">
            <Input signalId="PCLK1"  from="APB1Prescaler" refValue="RCC_USART2CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK" from="SysCLKOutput"  refValue="RCC_USART2CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"    from="HSIRC"         refValue="RCC_USART2CLKSOURCE_HSI"   />
            <Input signalId="LSE"    from="LSEOSC"        refValue="RCC_USART2CLKSOURCE_LSE"/>
            <Output signalId="USART2CLK" to="USART2output"/>
        </Element>
        <Element id="USART2output" type="activeOutput" refParameter="USART2Freq_Value" x="1358" y="725"  refEnable="USART2Enable">
            <Input signalId="USART2CLK" from="USART2Mult"/>
        </Element> 


        <Element id="I2SMult" type="multiplexor" refParameter="I2SCLockSelection" orientation="LEFT" x="1302" y="869" refEnable="I2SEnable">
            <Input signalId="SYSCLK"   from="SysCLKOutput" refValue="RCC_I2SCLKSOURCE_SYSCLK"/>
            <Input signalId="PLLQCLK"             from="PLLQ"    refValue="RCC_I2SCLKSOURCE_PLL"  />
            <Input signalId="HSI"      from="HSIRC"   refValue="RCC_I2SCLKSOURCE_HSI"   />
            <Input signalId="I2SExtClock"         from="I2S_CKIN"   refValue="RCC_I2SCLKSOURCE_EXT"/>
            <Output signalId="I2SCLK" to="I2Soutput"/>
        </Element>
        <Element id="I2Soutput" type="activeOutput" refParameter="I2SFreq_Value" x="1358" y="902"  refEnable="I2SEnable">
            <Input signalId="I2SCLK" from="I2SMult"/>
        </Element>
        
        
        <Element id="SAI1Mult" type="multiplexor" refParameter="SAI1CLockSelection" orientation="LEFT" x="1302" y="1030" refEnable="SAI1Enable">
            <Input signalId="SYSCLK" from="SysCLKOutput" refValue="RCC_SAI1CLKSOURCE_SYSCLK"/>
            <Input signalId="PLLQCLK"             from="PLLQ"    refValue="RCC_SAI1CLKSOURCE_PLL"  />
            <Input signalId="HSI"    from="HSIRC"   refValue="RCC_SAI1CLKSOURCE_HSI"   />
            <Input signalId="I2SExtClock"         from="I2S_CKIN"   refValue="RCC_SAI1CLKSOURCE_EXT"/>
            <Output signalId="SAI1CLK" to="SAI1output"/>
        </Element>
        <Element id="SAI1output" type="activeOutput" refParameter="SAI1Freq_Value" x="1358" y="1063"  refEnable="SAI1Enable">
            <Input signalId="SAI1CLK" from="SAI1Mult"/>
        </Element>
        
         <Element id="QSPIMult" type="multiplexor" refParameter="QSPICLockSelection" orientation="LEFT" x="1302" y="1190" refEnable="QSPIEnable">
            <Input signalId="SYSCLK"               from="SysCLKOutput" refValue="RCC_QSPICLKSOURCE_SYSCLK"/>
            <Input signalId="PLLQCLK"             from="PLLQ"    refValue="RCC_QSPICLKSOURCE_PLL"  />
            <Input signalId="HSI"                 from="HSIRC"   refValue="RCC_QSPICLKSOURCE_HSI"   />
            <Output signalId="QSPICLK" to="QSPIoutput"/>
        </Element>
        <Element id="QSPIoutput" type="activeOutput" refParameter="QSPIFreq_Value" x="1358" y="1223"  refEnable="QSPIEnable">
            <Input signalId="QSPICLK" from="QSPIMult"/>
        </Element>
        
          
        <Element id="FDCANMult" type="multiplexor" refParameter="FDCANCLockSelection" orientation="LEFT" x="1302" y="1355" refEnable="FDCANEnable">
            <Input signalId="PCLK1"               from="APB1Prescaler" refValue="RCC_FDCANCLKSOURCE_PCLK1"/>
            <Input signalId="PLLQCLK"             from="PLLQ"    refValue="RCC_FDCANCLKSOURCE_PLL"  />
            <Input signalId="HSE"                 from="HSEOSC"   refValue="RCC_FDCANCLKSOURCE_HSE"   />
            <Output signalId="FDCANCLK" to="FDCANoutput"/>
        </Element>
        <Element id="FDCANoutput" type="activeOutput" refParameter="FDCANFreq_Value" x="1358" y="1385"  refEnable="FDCANEnable">
            <Input signalId="FDCANCLK" from="FDCANMult"/>
        </Element>  

        <Element id="LPUART1Mult" type="multiplexor" refParameter="LPUART1CLockSelection" orientation="LEFT" x="1184" y="604" refEnable="LPUART1Enable">
            <Input signalId="PCLK1"  from="APB1Prescaler"   refValue="RCC_LPUART1CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK" from="SysCLKOutput"  refValue="RCC_LPUART1CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"    from="HSIRC"         refValue="RCC_LPUART1CLKSOURCE_HSI"   />
            <Input signalId="LSE"    from="LSEOSC"        refValue="RCC_LPUART1CLKSOURCE_LSE"/>
            <Output signalId="LPUART1CLK" to="LPUART1output"/>
        </Element>
        <Element id="LPUART1output" type="activeOutput" refParameter="LPUART1Freq_Value" x="1358" y="637"  refEnable="LPUART1Enable">
            <Input signalId="LPUART1CLK" from="LPUART1Mult"/>
        </Element>
        <Element id="LPTIM1Mult" type="multiplexor" refParameter="LPTIM1CLockSelection" orientation="LEFT" x="1184" y="765" refEnable="LPTIM1Enable">
            <Input signalId="PCLK1"  from="APB1Prescaler"  refValue="RCC_LPTIM1CLKSOURCE_PCLK1"/>
            <Input signalId="LSI"   from="LSIRC"         refValue="RCC_LPTIM1CLKSOURCE_LSI"  />
            <Input signalId="HSI"   from="HSIRC"         refValue="RCC_LPTIM1CLKSOURCE_HSI"   />
            <Input signalId="LSE"   from="LSEOSC"        refValue="RCC_LPTIM1CLKSOURCE_LSE"/>
            <Output signalId="LPTIM1CLK" to="LPTIM1output"/>
        </Element>
        <Element id="LPTIM1output" type="activeOutput" refParameter="LPTIM1Freq_Value" x="1358" y="798"  refEnable="LPTIM1Enable">
            <Input signalId="LPTIM1CLK" from="LPTIM1Mult"/>
        </Element>

        		
        <Element id="ADC12Mult" type="multiplexor" refParameter="ADC12CLockSelection" orientation="LEFT" x="788" y="717" refEnable="ADC12Enable">
            <Input signalId="SYSCLK"       from="SysCLKOutput"     refValue="RCC_ADC12CLKSOURCE_SYSCLK"   />            
            <Input signalId="PLLPCLK"      from="PLLP"   refValue="RCC_ADC12CLKSOURCE_PLL"/>
            <Output signalId="ADC12CLK" to="ADC12output"/>
        </Element>
        <Element id="ADC12output" type="activeOutput" refParameter="ADC12Freq_Value" x="935" y="730"  refEnable="ADC12Enable">
            <Input signalId="ADC12CLK" from="ADC12Mult"/>
        </Element>
        
        <Element id="ADC345Mult" type="multiplexor" refParameter="ADC345CLockSelection" orientation="LEFT" x="788" y="820" refEnable="ADC345Enable">
            <Input signalId="SYSCLK"       from="SysCLKOutput"     refValue="RCC_ADC345CLKSOURCE_SYSCLK"   />            
            <Input signalId="PLLPCLK"      from="PLLP"   refValue="RCC_ADC345CLKSOURCE_PLL"/>
            <Output signalId="ADC345CLK" to="ADC345output"/>
        </Element>
        <Element id="ADC345output" type="activeOutput" refParameter="ADC345Freq_Value" x="935" y="835"  refEnable="ADC345Enable">
            <Input signalId="ADC345CLK" from="ADC345Mult"/>
        </Element>

        <Element id="CK48Mult" type="multiplexor" refParameter="CK48CLockSelection" orientation="LEFT" x="788" y="570" refEnable="USBEnable,RNGEnable">
            <Input  signalId="PLLQCLK"     from="PLLQ"     refValue="RCC_USBCLKSOURCE_PLL"/>
            <Input  signalId="HSI48"       from="HSI48RC"  refValue="RCC_USBCLKSOURCE_HSI48"/>
            <Output signalId="CK48CLK" to="RNGoutput"/>
            <Output signalId="CK48CLK" to="CK48output"/>       
        </Element>
        
        <Element id="CK48output" type="activeOutput"  refParameter="USBFreq_Value"   x="935" y="560" refEnable="USBEnable">
            <Input signalId="CK48CLK" from="CK48Mult"/>
        </Element>

        <Element id="RNGoutput" type="activeOutput"   refParameter="RNGFreq_Value"   x="935" y="614" refEnable="RNGEnable">
            <Input signalId="CK48CLK" from="CK48Mult"/>
        </Element>
       
        <Element id="I2C1Mult" type="multiplexor" refParameter="I2C1CLockSelection" orientation="LEFT" x="788" y="972" refEnable="I2C1Enable">
            <Input signalId="PCLK1"  from="APB1Prescaler" refValue="RCC_I2C1CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK" from="SysCLKOutput"  refValue="RCC_I2C1CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"    from="HSIRC"         refValue="RCC_I2C1CLKSOURCE_HSI"   />
            <Output signalId="I2C1CLK" to="I2C1output"/>
        </Element>
        <Element id="I2C1output" type="activeOutput" refParameter="I2C1Freq_Value" x="935" y="1005"  refEnable="I2C1Enable">
            <Input signalId="I2C1CLK" from="I2C1Mult"/>
        </Element>
        
        
        <Element id="I2C2Mult" type="multiplexor" refParameter="I2C2CLockSelection" orientation="LEFT" x="788" y="1100" refEnable="I2C2Enable">
            <Input signalId="PCLK1"  from="APB1Prescaler" refValue="RCC_I2C2CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK" from="SysCLKOutput"  refValue="RCC_I2C2CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"    from="HSIRC"         refValue="RCC_I2C2CLKSOURCE_HSI"   />
            <Output signalId="I2C2CLK" to="I2C2output"/>
        </Element>
        <Element id="I2C2output" type="activeOutput" refParameter="I2C2Freq_Value" x="935" y="1133"  refEnable="I2C2Enable">
            <Input signalId="I2C2CLK" from="I2C2Mult"/>
        </Element>
        
        
        <Element id="I2C3Mult" type="multiplexor" refParameter="I2C3CLockSelection" orientation="LEFT" x="788" y="1240" refEnable="I2C3Enable">
            <Input signalId="PCLK1"  from="APB1Prescaler" refValue="RCC_I2C3CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK" from="SysCLKOutput"  refValue="RCC_I2C3CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"    from="HSIRC"         refValue="RCC_I2C3CLKSOURCE_HSI"   />
            <Output signalId="I2C3CLK" to="I2C3output"/>
        </Element>
        <Element id="I2C3output" type="activeOutput" refParameter="I2C3Freq_Value" x="935" y="1272"  refEnable="I2C3Enable">
            <Input signalId="I2C3CLK" from="I2C3Mult"/>
        </Element>
        
        
        <Element id="I2C4Mult" type="multiplexor" refParameter="I2C4CLockSelection" orientation="LEFT" x="788" y="1380" refEnable="I2C4Enable">
            <Condition Diagnostic="" Expression="I2C4_Exist"/>
            <Input signalId="PCLK1"  from="APB1Prescaler" refValue="RCC_I2C4CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK" from="SysCLKOutput"  refValue="RCC_I2C4CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"    from="HSIRC"         refValue="RCC_I2C4CLKSOURCE_HSI"   />
            <Output signalId="I2C4CLK" to="I2C4output"/>
        </Element>
        <Element id="I2C4output" type="activeOutput" refParameter="I2C4Freq_Value" x="935" y="1412"  refEnable="I2C4Enable">
            <Condition Diagnostic="" Expression="I2C4_Exist"/>
            <Input signalId="I2C4CLK" from="I2C4Mult"/>
        </Element>

                
        <!-- ExtPin-->
        <Element id="I2S_CKIN" type="variedSource" x="200" y="890" refParameter="EXTERNAL_CLOCK_VALUE" refEnable="ExtClockEnable">
            <Output signalId="I2SExtClock" to="I2SMult"/>
        </Element>
        <!--MCO Mux-->
        <Element id="MCOMult" type="multiplexor" refParameter="RCC_MCO1Source" x="495" y="670" refEnable="MCOEnable">
            <Input signalId="LSE"    from="LSEOSC"       refValue="RCC_MCO1SOURCE_LSE"/>
            <Input signalId="LSI"    from="LSIRC"        refValue="RCC_MCO1SOURCE_LSI"/>
            <Input signalId="HSE"    from="HSEOSC"       refValue="RCC_MCO1SOURCE_HSE"/>
            <Input signalId="HSI"    from="HSIRC"        refValue="RCC_MCO1SOURCE_HSI"   />
            <Input signalId="PLLCLK" from="PLLR"         refValue="RCC_MCO1SOURCE_PLLCLK"/>
            <Input signalId="SYSCLK" from="SysCLKOutput" refValue="RCC_MCO1SOURCE_SYSCLK"   />
            <Input signalId="HSI48"  from="HSI48RC"      refValue="RCC_MCO1SOURCE_HSI48"   />
            <Output signalId="MCO1DivInput" to="MCODiv"/>
        </Element>
        <Element id="MCODiv" type="devisor" refParameter="RCC_MCODiv" x="390" y="752" refEnable="MCOEnable">
            <Input signalId="MCO1DivInput" from="MCOMult"/>
            <Output signalId="MCO1DivOuput" to="MCOPin"/>
        </Element>
        <Element id="MCOPin" type="output" refParameter="MCO1PinFreq_Value" x="310" y="750" refEnable="MCOEnable">
            <Input signalId="MCO1DivOuput" from="MCODiv"/>
        </Element>
		<!--LSCO Mux-->
        <Element id="LSCOMult" type="multiplexor" refParameter="LSCOSource1" x="495" y="975" refEnable="LSCOEnable">
            <Input signalId="LSI"    from="LSIRC"        refValue="RCC_LSCOSOURCE_LSI"/>
			<Input signalId="LSE"    from="LSEOSC"       refValue="RCC_LSCOSOURCE_LSE"/>
            
            
            <Output signalId="LSCOInput" to="LSCOOutput"/>
        </Element>
		<Element id="LSCOOutput" type="output" refParameter="LSCOPinFreq_Value" x="310" y="990" refEnable="LSCOEnable">
            <Input signalId="LSCOInput" from="LSCOMult"/>
        </Element>
    
        <!--AHB, APB1 main block-->
        <Element id="AHBPrescaler" type="devisor" refParameter="AHBCLKDivider" x="950" y="379">
            <Input signalId="SYSCLK" from="SysCLKOutput"/>
            <Output signalId="HCLK" to="AHBOutput"/>
        </Element>
        <Element id="HRTIM1CLKoutput" type="activeOutput" refParameter="HRTIM1Freq_Value" x="1360" y="490" refEnable="HRTIM1Enable">
            <Input signalId="HRTIM1CLK" from="TimPrescOut2"/>
        </Element>
        <Element id="PWRCLKoutput" type="activeOutput" refParameter="PWRFreq_Value" x="1360" y="174">
            <Input signalId="SYSCLK" from="SysCLKOutput"/>
        </Element>
        <Element id="AHBOutput" type="activeOutput" isKey="true" refParameter="HCLKFreq_Value" x="1030" y="377">
            <Input signalId="HCLK" from="AHBPrescaler"/>
            <Output signalId="AHBCLK" to="CortexPrescaler"  />
            <Output signalId="AHBCLK" to="HCLKOutput"       />
            <Output signalId="AHBCLK" to="FCLKCortexOutput" />
            <Output signalId="AHBCLK" to="APB1Prescaler"    />
            <Output signalId="AHBCLK" to="APB2Prescaler"    />
        </Element>
        <Element id="HCLKOutput" type="activeOutput" refParameter="AHBFreq_Value" x="1360" y="205">
            <Input signalId="AHBCLK" from="AHBOutput"/>
        </Element>
        <Element id="CortexPrescaler" type="devisor" refParameter="Cortex_Div" x="1200" y="238">
            <Input signalId="AHBCLK" from="AHBOutput"/>
            <Output signalId="AHBCLK2" to="CortexSysOutput" />
        </Element>
        <Element id="CortexSysOutput" type="activeOutput" refParameter="CortexFreq_Value" x="1360" y="238">
            <Input signalId="AHBCLK2" from="CortexPrescaler"/>
        </Element>
        <Element id="FCLKCortexOutput" type="activeOutput" refParameter="FCLKCortexFreq_Value" x="1360" y="272">
            <Input signalId="AHBCLK" from="AHBOutput"/>
        </Element>
        <Element id="APB1Prescaler" type="devisor" refParameter="APB1CLKDivider" x="1120" y="379">
            <Input signalId="AHBCLK" from="AHBOutput"/>
            <Output signalId="PCLK1" to="APB1Output" />
            <Output signalId="PCLK1" to="TimPrescalerAPB1" />
            <Output signalId="PCLK1" to="USART2Mult"/>
            <Output signalId="PCLK1" to="USART3Mult"/>
            <Output signalId="PCLK1" to="UART4Mult"/>
            <Output signalId="PCLK1" to="UART5Mult"/>
            <Output signalId="PCLK1" to="LPUART1Mult"/>
            <Output signalId="PCLK1" to="LPTIM1Mult"/>
            <Output signalId="PCLK1" to="I2C1Mult"/>         
            <Output signalId="PCLK1" to="I2C2Mult"/>
            <Output signalId="PCLK1" to="I2C3Mult"/>
            <Output signalId="PCLK1" to="I2C4Mult"/>
            <Output signalId="PCLK1" to="FDCANMult"/>
        </Element>		
        <Element id="APB1Output" type="activeOutput" refParameter="APB1Freq_Value" x="1360" y="329">
            <Input signalId="PCLK1" from="APB1Prescaler"/>
        </Element>
        <Element id="TimPrescalerAPB1" type="multiplicator" refParameter="APB1TimCLKDivider"  x="1215" y="375">
            <Input signalId="PCLK1" from="APB1Prescaler"/>
            <Output signalId="TimCLK" to="TimPrescOut1"/>
        </Element>
        <Element id="TimPrescOut1" type="activeOutput" refParameter="APB1TimFreq_Value" x="1360" y="377">
            <Input signalId="TimCLK" from="TimPrescalerAPB1"/>
        </Element>
        
        <Element id="APB2Prescaler" type="devisor" refParameter="APB2CLKDivider" x="1120" y="462">
            <Input signalId="AHBCLK" from="AHBOutput"/>
            <Output signalId="PCLK2" to="APB2Output" />
            <Output signalId="PCLK2" to="TimPrescalerAPB2" />
            <Output signalId="PCLK2" to="USART1Mult" />            
        </Element>
        <Element id="APB2Output" type="activeOutput" refParameter="APB2Freq_Value" x="1360" y="412">
            <Input signalId="PCLK2" from="APB2Prescaler"/>
        </Element>
        <Element id="TimPrescalerAPB2" type="multiplicator" refParameter="APB2TimCLKDivider" x="1215" y="463">
            <Input signalId="PCLK2" from="APB2Prescaler"/>
            <Output signalId="PeriphCLK" to="TimPrescOut2"/>
        </Element>
        <Element id="TimPrescOut2" type="activeOutput" refParameter="APB2TimFreq_Value" x="1360" y="460">
            <Input signalId="PeriphCLK" from="TimPrescalerAPB2"/>
            <Output signalId="HRTIM1CLK" to="HRTIM1CLKoutput"/>
        </Element>
 
        <!--Main PLL-->
        <Tree id="PLL">
            <Element id="PLLN" type="multiplicator" refParameter="PLLN" x="509" y="478" >
                <Input signalId="VCOInput" from="PLLM"/>
                <Output signalId="VCOOutput" to="PLLQ"/>
                <Output signalId="VCOOutput" to="PLLP"/>
                <Output signalId="VCOOutput" to="PLLR"/>
            </Element> 
            <Element id="PLLP" type="devisor" refParameter="PLLP" x="575" y="554" refEnable="CodegenDisableForPeriph,ADC12Enable,ADC345Enable">
                <Input signalId="VCOOutput" from="PLLN"/>
                <Output signalId="PLLPCLK" to="PLLPoutput"/>                
                <Output signalId="PLLPCLK" to="ADC12Mult"/>
                <Output signalId="PLLPCLK" to="ADC345Mult"/>
         
            </Element>
            <Element id="PLLPoutput" type="output" refParameter="PLLPoutputFreq_Value" x="641" y="553" refEnable="CodegenDisableForPeriph,ADC12Enable,ADC345Enable">
                <Input signalId="PLLPCLK" from="PLLP"/>
            </Element>

            <Element id="PLLQ" type="devisor" refParameter="PLLQ" x="575" y="516" refEnable="CodegenDisableForPeriph,RNGEnable,USBEnable,I2SEnable,SAI1Enable,FDCANEnable,QSPIEnable">
                <Input signalId="VCOOutput" from="PLLN"/>
                <Output signalId="PLLQCLK" to="CK48Mult"/>
                <Output signalId="PLLQCLK" to="I2SMult"/>
                <Output signalId="PLLQCLK" to="SAI1Mult"/>
                <Output signalId="PLLQCLK" to="PLLQoutput"/>
                <Output signalId="PLLQCLK" to="FDCANMult"/>
                <Output signalId="PLLQCLK" to="QSPIMult"/>
            </Element>
            <Element id="PLLQoutput" type="output" refParameter="PLLQoutputFreq_Value" x="641" y="515" refEnable="CodegenDisableForPeriph,RNGEnable,USBEnable,I2SEnable,SAI1Enable,FDCANEnable,QSPIEnable">
                <Input signalId="PLLQCLK" from="PLLQ"/>
            </Element>
				

            <Element id="PLLR" type="devisor" refParameter="PLLR" x="575" y="478" >
                <Input signalId="VCOOutput" from="PLLN"/>
                <Output signalId="PLLCLK" to="SysClkSource"/>
                <Output signalId="PLLCLK" to="MCOMult"/>

       
            </Element>
        </Tree>
    </Tree>
    <Signals>
        <Signal id="HSE" refParameter="HSE_VALUE"/>
        <Signal id="LSI" refParameter="LSI_VALUE"/>
        <Signal id="LSE" refParameter="LSE_VALUE"/>
        <Signal id="HSI" refParameter="HSI_VALUE"/>
        <Signal id="HSI48" refParameter="HSI48_VALUE"/>

        <Signal id="SYSCLKInput"/>
        <Signal id="SYSCLK"/>
        <Signal id="PLLSRC"/>
        <Signal id="HSE_RTC"/>
        <Signal id="RTCCLK"/>
        <Signal id="USART1CLK"/>
        <Signal id="USART3CLK"/>
        <Signal id="UART4CLK"/>
        <Signal id="UART5CLK"/>
        <Signal id="USART2CLK"/>
        <Signal id="I2SCLK"/>
        <Signal id="SAI1CLK"/>
        <Signal id="FDCANCLK"/>
        <Signal id="QSPICLK"/>
        <Signal id="LPUART1CLK"/>
        <Signal id="LPTIM1CLK"/>
        <Signal id="CECCLK"/>
        <Signal id="I2C1CLK"/>
        <Signal id="I2C2CLK"/>
        <Signal id="I2C3CLK"/>
        <Signal id="I2C4CLK"/>
        <Signal id="ADC12CLK"/>
        <Signal id="ADC345CLK"/>
        <Signal id="CK48CLK"/>

        <Signal id="MCO1DivInput"/>
        <Signal id="MCO1DivOuput"/>
        <Signal id="HCLK"/>
        <Signal id="AHBCLK"/>
        <Signal id="AHBCLK2"/>
        <Signal id="PCLK1"/>
        <Signal id="PCLK2"/>
        <Signal id="TimCLK"/>
        <Signal id="LSCOInput"/>
        <Signal id="PeriphCLK"/>
        <Signal id="VCOInput"      refParameter="VCOInputFreq_Value"/>
        <Signal id="VCOOutput"     refParameter="VCOOutputFreq_Value"/>
        <Signal id="PLLPCLK"       refParameter="PLLPoutputFreq_Value"/>
        <Signal id="PLLQCLK"       refParameter="PLLQoutputFreq_Value"/>
        <Signal id="PLLCLK"        refParameter="PLLRCLKFreq_Value"/>
        <Signal id="I2SExtClock"   refParameter="EXTERNAL_CLOCK_VALUE"/>
        <Signal id="HSI_CEC"/>
        <Signal id="APB1Prescaler" refParameter="APB1Freq_Value"/>
        <Signal id="APB2Prescaler" refParameter="APB2Freq_Value"/>
        <Signal id="HRTIM1CLK"/>

    </Signals>
    <!-- PLLs output 	label -->
    <Label id="PLLQPoutputLabel"     type="info" text="PLLQ"         posX="651" posY="503"/>
    <Label id="PLLPPoutputLabel"     type="info" text="PLLP"         posX="651" posY="542"/>


    <!-- freq value label -->
    <Label id="HRTIMER1" type="SpecialInfo" posX="1420" posY="493" text="To HRTIMER1 (MHz)" refEnable="HRTIM1Enable"/>
    <Label id="Power" type="SpecialInfo" posX="1420" posY="180" text="To Power (MHz)"/>
    <Label id="HCLK1" type="SpecialInfo" posX="1420" posY="213" text="HCLK to AHB bus, core, memory and DMA (MHz)"/>
    <Label id="HCLK2" type="SpecialInfo" posX="1420" posY="247" text="To Cortex System timer (MHz)"/>
    <Label id="HCLK3" type="SpecialInfo" posX="1420" posY="280" text="FCLK Cortex clock (MHz)"/>

    <Label id="HCLK6" type="SpecialInfo" posX="1420" posY="333" text="APB1 peripheral clocks (MHz)"/>
    <Label id="HCLK7" type="SpecialInfo" posX="1420" posY="383" text="APB1 timer clocks (MHz)"/>
    <Label id="HCLK6" type="SpecialInfo" posX="1420" posY="415" text="APB2 peripheral clocks (MHz)"/>
    <Label id="HCLK7" type="SpecialInfo" posX="1420" posY="463" text="APB2 timer clocks (MHz)"/>
	
    <!--RTC labels-->
	<Label id="RTCMux" type="muxLabel" posX="511" posY="144" text="RTC/LCD Source Mux" refEnable="RTCEnable,LCDEnable">
	 <Condition Diagnostic="" Expression="(LCD_Exist)"/>
    </Label>
    <Label id="RTCMuxLabel"       type="muxLabel"    text="RTC Clock Mux" posX="511" posY="144" refEnable="RTCEnable,LCDEnable">
	<Condition Diagnostic="" Expression="!(LCD_Exist)"/>
    </Label>
    <Label id="RTCOutputLabel"    type="SpecialInfo" text="To RTC (KHz)"  posX="672" posY="204" refEnable="RTCEnable"/>
    <Label id="RTCOutputLabel"    type="SpecialInfo" text="To LCD (KHz)"  posX="672" posY="170" refEnable="LCDEnable"/>
    <Label id="LSEForRTCLabel"    type="signal"      text="LSE"     posX="503" posY="195" refEnable="EnableLSERTC,EnableLSELCD"/>
    <Label id="LSIForRTCLabel"    type="signal"      text="LSI"     posX="503" posY="226" refEnable="RTCEnable,LCDEnable"/>
    <Label id="HSEForRTCLabel"    type="signal"      text="HSE"     posX="385" posY="160" refEnable="EnableHSERTCDevisor,EnableHSELCDDevisor"/>
    <Label id="HSERTCForRTCLabel" type="signal"      text="HSE_RTC" posX="479" posY="160" refEnable="EnableHSERTCDevisor,EnableHSELCDDevisor"/>
    <!--sysclock labels-->
    <Label id="SystemCLKMuxLabel" type="muxLabel" posX="765" posY="312" text="System Clock Mux"/>
    <Label id="SystemHSELabel"    type="signal"   posX="740" posY="338" text="HSI" />
    <Label id="SystemHSILabel"    type="signal"   posX="740" posY="372" text="HSE"/>
    <Label id="SystemPLLCLKLabel" type="signal"   posX="740" posY="402" text="PLLCLK"/>
    <Label id="SYSCLKLabel"       type="info"     posX="840" posY="360" text="SYSCLK (MHz)"/>
    <!--PLL Source labels-->
    <Label id="PLLSourcMuxLabel"    type="muxLabel" text="PLL Source Mux" posX="375" posY="425"/>
    <Label id="PLLSourcMuxHSILabel" type="signal"   text="HSI"            posX="373" posY="457"/>
    <Label id="PLLSourcMuxHSELabel" type="signal"   text="HSE"  	  posX="373" posY="493" refEnable="EnableHSE"/>
    <!--Main PLL labels-->
    <Label id="PLLMLabel"       type="info" text="PLLM"     posX="450" posY="464"/>
    <Label id="PLLNLabel"       type="info" text="*N"       posX="520" posY="501"/>
    <Label id="PLLPLabel"       type="info" text="/R"       posX="595" posY="501"/>
    <Label id="PLLQLabel"       type="info" text="/Q"       posX="595" posY="536"/>
    <Label id="PLLRLabel"       type="info" text="/P"       posX="595" posY="579"/>
    <Label id="PLLLabel"        type="info" text="PLL"      posX="510" posY="559"/>
 
    <!-- source constraint label -->
    <Label id="HSIRCLabel"    type="info"       posX="302" posY="440" text="HSI RC"/>
    <Label id="HSIRCCstLabel" type="constraint" posX="302" posY="480" text="16 MHz"/> 
    <Label id="LSI_RCLabel"   type="Info"       posX="302" posY="222" text="LSI RC"/>
    <Label id="LSI_RCcST"     type="constraint" posX="302" posY="260" text="32 KHz"/>
    <Label id="HSI48RCLabel"    type="info"       posX="302" posY="578" text="HSI48 RC"/>
    <Label id="HSI48RCCstLabel" type="constraint" posX="302" posY="633" text="48 MHz"/>
    <!-- IWDG -->
    <Label id="ToIWDGLabel" type="SpecialInfo" text="To IWDG (KHz)" posX="672" posY="286" refEnable="IWDGEnable"/>
	
    <!--USART1 mux-->
    <Label id="USART1MUXLabel"    type="muxLabel"    text="USART1 Clock Mux" posX="1250" posY="505" refEnable="USART1Enable"/>
    <Label id="USART1Output"      type="SpecialInfo" text="To USART1 (MHz)"  posX="1415" posY="570" refEnable="USART1Enable"/> 	
    <Label id="USART1SYSCLKLabel" type="signal"      text="PCLK2"            posX="1260" posY="523" refEnable="USART1Enable"/>
    <Label id="USART1HSILabel"    type="signal"      text="SYSCLK"           posX="1260" posY="548" refEnable="USART1Enable"/>
    <Label id="USART1LSELabel"    type="signal"      text="HSI"              posX="1260" posY="573" refEnable="USART1Enable"/>
    <Label id="USART1PCLKLabel"  type="signal"      text="LSE"              posX="1260" posY="598" refEnable="USART1Enable"/>

    
    <!--USART3 mux-->
    <Label id="USART3MUXLabel"    type="muxLabel"    text="USART3 Clock Mux" posX="1130" posY="915" refEnable="USART3Enable">
        <Condition Diagnostic="" Expression="USART3_Exist"/>
    </Label>
    <Label id="USART3Output"      type="SpecialInfo" text="To USART3 (MHz)"  posX="1417" posY="988" refEnable="USART3Enable">
        <Condition Diagnostic="" Expression="USART3_Exist"/>
    </Label> 	
    <Label id="USART3SYSCLKLabel" type="signal"      text="PCLK1"            posX="1142" posY="935" refEnable="USART3Enable">
        <Condition Diagnostic="" Expression="USART3_Exist"/>
    </Label>
    <Label id="USART3HSILabel"    type="signal"      text="SYSCLK"           posX="1142" posY="960" refEnable="USART3Enable">
        <Condition Diagnostic="" Expression="USART3_Exist"/>
    </Label>
    <Label id="USART3LSELabel"    type="signal"      text="HSI"              posX="1142" posY="985" refEnable="USART3Enable">
        <Condition Diagnostic="" Expression="USART3_Exist"/>
    </Label>
    <Label id="USART3PCLKLabel"  type="signal"      text="LSE"              posX="1142" posY="1010" refEnable="USART3Enable">
        <Condition Diagnostic="" Expression="USART3_Exist"/>
    </Label>
    
    <!--UART4 mux-->
    <Label id="UART4MUXLabel"    type="muxLabel"    text="UART4 Clock Mux" posX="1130" posY="1070" refEnable="UART4Enable">
        <Condition Diagnostic="" Expression="UART4_Exist"/>
    </Label>
    <Label id="UART4Output"      type="SpecialInfo" text="To UART4 (MHz)"  posX="1417" posY="1143" refEnable="UART4Enable"> 	
        <Condition Diagnostic="" Expression="UART4_Exist"/>
    </Label>
    <Label id="UART4SYSCLKLabel" type="signal"      text="PCLK1"            posX="1142" posY="1090" refEnable="UART4Enable">
        <Condition Diagnostic="" Expression="UART4_Exist"/>
    </Label>
    <Label id="UART4HSILabel"    type="signal"      text="SYSCLK"           posX="1142" posY="1115" refEnable="UART4Enable">
        <Condition Diagnostic="" Expression="UART4_Exist"/>
    </Label>
    <Label id="UART4LSELabel"    type="signal"      text="HSI"              posX="1142" posY="1140" refEnable="UART4Enable">
        <Condition Diagnostic="" Expression="UART4_Exist"/>
    </Label>
    <Label id="UART4PCLKLabel"  type="signal"      text="LSE"              posX="1142" posY="1165" refEnable="UART4Enable">
        <Condition Diagnostic="" Expression="UART4_Exist"/>
    </Label>
    
    <!--UART5 mux-->
    <Label id="UART5MUXLabel"    type="muxLabel"    text="UART5 Clock Mux" posX="1130" posY="1230" refEnable="UART5Enable">
        <Condition Diagnostic="" Expression="UART5_Exist"/>
    </Label>
    <Label id="UART5Output"      type="SpecialInfo" text="To UART5 (MHz)"  posX="1417" posY="1303" refEnable="UART5Enable">
        <Condition Diagnostic="" Expression="UART5_Exist"/>
    </Label>	
    <Label id="UART5SYSCLKLabel" type="signal"      text="PCLK1"            posX="1142" posY="1255" refEnable="UART5Enable">
        <Condition Diagnostic="" Expression="UART5_Exist"/>
    </Label>
    <Label id="UART5HSILabel"    type="signal"      text="SYSCLK"           posX="1142" posY="1280" refEnable="UART5Enable">
        <Condition Diagnostic="" Expression="UART5_Exist"/>
    </Label>
    <Label id="UART5LSELabel"    type="signal"      text="HSI"              posX="1142" posY="1305" refEnable="UART5Enabl">
        <Condition Diagnostic="" Expression="UART5_Exist"/>
    </Label>
    <Label id="UART5PCLKLabel"  type="signal"      text="LSE"              posX="1142" posY="1330" refEnable="UART5Enable">
        <Condition Diagnostic="" Expression="UART5_Exist"/>
    </Label>

    <!--LPTIM1 mux-->
    <Label id="LPTIM1MUXLabel"    type="muxLabel"    text="LPTIM1 Clock Mux" posX="1130" posY="725" refEnable="LPTIM1Enable"/>
    <Label id="LPTIM1Output"      type="SpecialInfo" text="To LPTIM1 (MHz)"  posX="1415" posY="800" refEnable="LPTIM1Enable"/> 	
    <Label id="LPTIM1SYSCLKLabel" type="signal"      text="PCLK1"            posX="1142" posY="750" refEnable="LPTIM1Enable"/>
    <Label id="LPTIM1HSILabel"    type="signal"      text="LSI"              posX="1142" posY="775" refEnable="LPTIM1Enable"/>
    <Label id="LPTIM1LSELabel"    type="signal"      text="HSI"              posX="1142" posY="800" refEnable="LPTIM1Enable"/>
    <Label id="LPTIM1PCLKLabel"  type="signal"      text="LSE"              posX="1142" posY="825" refEnable="LPTIM1Enable"/>
    <!--USART2 mux-->
    <Label id="USART2MUXLabel"    type="muxLabel"    text="USART2 Clock Mux" posX="1250" posY="665" refEnable="USART2Enable"/>
    <Label id="USART2Output"      type="SpecialInfo" text="To USART2 (MHz)"  posX="1415" posY="732" refEnable="USART2Enable"/> 	
    <Label id="USART2SYSCLKLabel" type="signal"      text="PCLK1"            posX="1260" posY="683" refEnable="USART2Enable"/>
    <Label id="USART2HSILabel"    type="signal"      text="SYSCLK"           posX="1260" posY="708" refEnable="USART2Enable"/>
    <Label id="USART2LSELabel"    type="signal"      text="HSI"              posX="1260" posY="733" refEnable="USART2Enable"/>
    <Label id="USART2PCLKLabel"  type="signal"      text="LSE"              posX="1260" posY="758" refEnable="USART2Enable"/>

    <!--I2S mux-->
    <Label id="I2SMUXLabel"        type="muxLabel"    text="I2S Clock Mux" posX="1250" posY="837" refEnable="I2SEnable"/>
    <Label id="I2SOutput"          type="SpecialInfo" text="To I2S (MHz)"  posX="1415" posY="908" refEnable="I2SEnable"/> 	
    <Label id="I2SSYSCLKLabel"     type="signal"      text="SYSCLK"         posX="1253" posY="857" refEnable="I2SEnable"/>
    <Label id="I2SPLLPCLKLabel"    type="signal"      text="PLLQ"           posX="1253" posY="882" refEnable="I2SEnable"/>
    <Label id="I2SHSILabel"        type="signal"      text="HSI"            posX="1253" posY="907" refEnable="I2SEnable"/>
    <Label id="I2SI2S_CKINLabel"   type="signal"      text="I2S_CKIN"       posX="1253" posY="932" refEnable="I2SEnable,ExtClockEnable"/>
    
    <!--SAI1 mux-->
    <Label id="SAI1MUXLabel"        type="muxLabel"    text="SAI Clock Mux" posX="1250" posY="1002" refEnable="SAI1Enable"/>
    <Label id="SAI1Output"          type="SpecialInfo" text="To SAI1 (MHz)"  posX="1415" posY="1070" refEnable="SAI1Enable"/> 	
    <Label id="SAI1SYSCLKLabel"     type="signal"      text="SYSCLK"         posX="1253" posY="1020" refEnable="SAI1Enable"/>
    <Label id="SAI1PLLPCLKLabel"    type="signal"      text="PLLQ"           posX="1253" posY="1042" refEnable="SAI1Enable"/>
    <Label id="SAI1HSILabel"        type="signal"      text="HSI"            posX="1253" posY="1067" refEnable="SAI1Enable"/>
    <Label id="I2S_CKINLabel"       type="signal"      text="I2S_CKIN"       posX="1253" posY="1092" refEnable="SAI1Enable,ExtClockEnable"/>
    
    
    <!--QSPI mux-->
    <Label id="QSPIMUXLabel"        type="muxLabel"    text="QSPI Clock Mux" posX="1250" posY="1162" refEnable="QSPIEnable"/>
    <Label id="QSPIOutput"          type="SpecialInfo" text="To QSPI (MHz)"  posX="1415" posY="1230" refEnable="QSPIEnable"/> 	
    <Label id="QSPISYSCLKLabel"     type="signal"      text="SYSCLK"         posX="1253" posY="1185" refEnable="QSPIEnable"/>
    <Label id="QSPIPLLPCLKLabel"    type="signal"      text="PLLQ"           posX="1253" posY="1217" refEnable="QSPIEnable"/>
    <Label id="QSPIHSILabel"        type="signal"      text="HSI"            posX="1253" posY="1247" refEnable="QSPIEnable"/>
    
    <!--FDCAN mux-->
    <Label id="FDCANMUXLabel"        type="muxLabel"    text="FDCAN Clock Mux" posX="1250" posY="1322" refEnable="FDCANEnable"/>
    <Label id="FDCANOutput"          type="SpecialInfo" text="To FDCAN (MHz)"  posX="1415" posY="1390" refEnable="FDCANEnable"/> 	
    <Label id="FDCANSYSCLKLabel"     type="signal"      text="PCLK1"         posX="1253" posY="1350" refEnable="FDCANEnable"/>
    <Label id="FDCANPLLPCLKLabel"    type="signal"      text="PLLQ"           posX="1253" posY="1382" refEnable="FDCANEnable"/>
    <Label id="FDCANHSILabel"        type="signal"      text="HSE"            posX="1253" posY="1417" refEnable="FDCANEnable"/>
    
    <!--LPUART1 mux-->
    <Label id="LPUART1MUXLabel"    type="muxLabel"    text="LPUART1 Clock Mux" posX="1130" posY="575" refEnable="LPUART1Enable"/>
    <Label id="LPUART1Output"      type="SpecialInfo" text="To LPUART1 (MHz)"  posX="1415" posY="643" refEnable="LPUART1Enable"/> 	
    <Label id="LPUART1SYSCLKLabel" type="signal"      text="PCLK1"             posX="1142" posY="595" refEnable="LPUART1Enable"/>
    <Label id="LPUART1HSILabel"    type="signal"      text="SYSCLK"            posX="1142" posY="620" refEnable="LPUART1Enable"/>
    <Label id="LPUART1LSELabel"    type="signal"      text="HSI"               posX="1142" posY="645" refEnable="LPUART1Enable"/>
    <Label id="LPUART1PCLKLabel"  type="signal"      text="LSE"               posX="1142" posY="670" refEnable="LPUART1Enable"/>

    <!--I2C1 mux-->
    <Label id="I2C1MUXLabel"    type="muxLabel"    text="I2C1 Clock Mux" posX="745" posY="940" refEnable="I2C1Enable"/>
    <Label id="I2C1Output"      type="SpecialInfo" text="To I2C1 (MHz)"  posX="993" posY="1008" refEnable="I2C1Enable"/> 	
    <Label id="I2C1SYSCLKLabel" type="signal"      text="PCLK1"          posX="738" posY="960" refEnable="I2C1Enable"/>
    <Label id="I2C1HSILabel"    type="signal"      text="SYSCLK"         posX="738" posY="997" refEnable="I2C1Enable"/>
    <Label id="I2C1PCLKLabel"  type="signal"      text="HSI"            posX="738" posY="1027" refEnable="I2C1Enable"/>
    
    <!--I2C2 mux-->
    <Label id="I2C2MUXLabel"    type="muxLabel"    text="I2C2 Clock Mux" posX="745" posY="1070" refEnable="I2C2Enable"/>
    <Label id="I2C2Output"      type="SpecialInfo" text="To I2C2 (MHz)"  posX="993" posY="1133" refEnable="I2C2Enable"/> 	
    <Label id="I2C2SYSCLKLabel" type="signal"      text="PCLK1"          posX="738" posY="1090" refEnable="I2C2Enable"/>
    <Label id="I2C2HSILabel"    type="signal"      text="SYSCLK"         posX="738" posY="1127" refEnable="I2C2Enable"/>
    <Label id="I2C2PCLKLabel"  type="signal"      text="HSI"            posX="738" posY="1157" refEnable="I2C2Enable"/>
    
    <!--I2C3 mux-->
    <Label id="I2C3MUXLabel"    type="muxLabel"    text="I2C3 Clock Mux" posX="745" posY="1210" refEnable="I2C3Enable"/>
    <Label id="I2C3Output"      type="SpecialInfo" text="To I2C3 (MHz)"  posX="993" posY="1275" refEnable="I2C3Enable"/> 	
    <Label id="I2C3SYSCLKLabel" type="signal"      text="PCLK1"          posX="738" posY="1230" refEnable="I2C3Enable"/>
    <Label id="I2C3HSILabel"    type="signal"      text="SYSCLK"         posX="738" posY="1267" refEnable="I2C3Enable"/>
    <Label id="I2C3PCLKLabel"  type="signal"      text="HSI"            posX="738" posY="1297" refEnable="I2C3Enable"/>

    <!--I2C4 mux-->
    <Label id="I2C4MUXLabel"    type="muxLabel"    text="I2C4 Clock Mux" posX="745" posY="1355" refEnable="I2C4Enable">
        <Condition Diagnostic="" Expression="I2C4_Exist"/>
    </Label>
    <Label id="I2C4Output"      type="SpecialInfo" text="To I2C4 (MHz)"  posX="993" posY="1415" refEnable="I2C4Enable"> 	
        <Condition Diagnostic="" Expression="I2C4_Exist"/>
    </Label>
    <Label id="I2C4SYSCLKLabel" type="signal"      text="PCLK1"           posX="738" posY="1375" refEnable="I2C4Enable">
        <Condition Diagnostic="" Expression="I2C4_Exist"/>
    </Label>
    <Label id="I2C4HSILabel"    type="signal"      text="SYSCLK"         posX="738" posY="1407" refEnable="I2C4Enable">
        <Condition Diagnostic="" Expression="I2C4_Exist"/>
    </Label>
    <Label id="I2C4PCLKLabel"   type="signal"      text="HSI"            posX="738" posY="1437" refEnable="I2C4Enable">
        <Condition Diagnostic="" Expression="I2C4_Exist"/>
    </Label>

    <Label id="CECMUXLabel"         type="muxLabel"    text="CEC Clock Mux"   posX="745" posY="920" refEnable="EnableCEC"/>
    <Label id="CECOutput"           type="SpecialInfo" text="To CEC (MHz)"    posX="993" posY="973" refEnable="EnableCEC"/>
    <Label id="HSI16ForCECLabel"    type="signal"      text="HSI_CEC"         posX="738" posY="940" refEnable="EnableCEC"/>
    <Label id="HSIForCECLabel"      type="signal"      text="HSI"             posX="668" posY="940" refEnable="EnableCEC"/>
    <Label id="LSERTCForCECLabel"   type="signal"      text="LSE"             posX="738" posY="985" refEnable="EnableCEC"/>
    <!--clk48 mux-->
    <Label id="clk48MUXLabel"       type="muxLabel"    text="CK48 Clock Mux"  posX="745" posY="535" refEnable="RNGEnable,USBEnable"/>
    <Label id="clk48Output"         type="SpecialInfo" text="To USB (MHz)"     posX="993" posY="565" refEnable="USBEnable"/>
    <Label id="clk48Output"         type="SpecialInfo" text="To RNG (MHz)"     posX="993" posY="620" refEnable="RNGEnable"/>	
    <Label id="clk48PllQLabel"      type="signal"      text="PLLQ"             posX="738" posY="562" refEnable="RNGEnable,USBEnable"/>
    <Label id="clk48HSILabel"       type="signal"      text="HSI48"              posX="738" posY="592" refEnable="RNGEnable,USBEnable"/>
    
    <Label id="clk48Output"         type="SpecialInfo" text="To CRS (MHz)"     posX="993" posY="655" refEnable="EnableCRS"/>

    <!--ADC12 mux-->
    <Label id="ADC12MUXLabel"    type="muxLabel"    text="ADC12 Clock Mux"  posX="745" posY="685" refEnable="ADC12Enable"/>
    <Label id="ADC12Output"      type="SpecialInfo" text="To ADC12 (MHz)"   posX="993" posY="733" refEnable="ADC12Enable"/> 	
    <Label id="ADC12PCLKLabel"   type="signal"      text="SYSCLK"         posX="738" posY="710" refEnable="ADC12Enable"/>
    <Label id="ADC12PPLLPLabel"  type="signal"      text="PLLP"           posX="738" posY="737" refEnable="ADC12Enable"/>
    
    
    <Label id="ADC345MUXLabel"    type="muxLabel"    text="ADC345 Clock Mux"  posX="745" posY="785" refEnable="ADC345Enable"/>
    <Label id="ADC345Output"      type="SpecialInfo" text="To ADC345 (MHz)"   posX="993" posY="843" refEnable="ADC345Enable"/> 	
    <Label id="ADC345PCLKLabel"   type="signal"      text="SYSCLK"         posX="738" posY="810" refEnable="ADC345Enable"/>
    <Label id="ADC345PPLLPLabel"  type="signal"      text="PLLP"           posX="738" posY="847" refEnable="ADC345Enable"/>
	

    <!--MCO label-->
    <Label id="MCOLabel"       type="info"     text="(MHz) MCO"      posX="230" posY="755" refEnable="MCOEnable"/>
    <Label id="MCOMuxLabel"    type="muxLabel" text="MCO Source Mux" posX="467" posY="632"  refEnable="MCOEnable"/>
    <Label id="MCOLSELabel"    type="signal"   text="LSE"            posX="549" posY="663"  refEnable="MCOEnable"/>
    <Label id="MCOLSILabel"    type="signal"   text="LSI"            posX="549" posY="688"  refEnable="MCOEnable"/>
    <Label id="MCOHSELabel"    type="signal"   text="HSE"            posX="546" posY="713"  refEnable="MCOEnable"/>
    <Label id="MCOHSILabel"    type="signal"   text="HSI 16"         posX="535" posY="738" refEnable="MCOEnable"/>
    <Label id="MCOPLLCLKLabel" type="signal"   text="PLLCLK"         posX="533" posY="763" refEnable="MCOEnable"/>
    <Label id="MCOSYSCLKLabel" type="signal"   text="SYSCLK"         posX="529" posY="788" refEnable="MCOEnable"/>
    <Label id="MCOHSI48CLKLabel" type="signal"   text="HSI48"         posX="529" posY="813" refEnable="MCOEnable"/>
	
	<!--LSCO label-->
    <Label id="LSCOLabel"       type="info"     text="(MHz) LSCO"      posX="227" posY="985"  refEnable="LSCOEnable"/>
    <Label id="LSCOMuxLabel"    type="muxLabel" text="LSCO Source Mux" posX="465" posY="935"  refEnable="LSCOEnable"/>
    <Label id="LSCOLSELabel"    type="signal"   text="LSE"             posX="536" posY="1000"  refEnable="LSCOEnable"/>
    <Label id="LSCOLSILabel"    type="signal"   text="LSI"             posX="536" posY="960"  refEnable="LSCOEnable"/>
 
    <!-- APB1 label -->
    <Label id="APB1Presc" type="Info" posX="1115" posY="360" text="APB1 Prescaler"/>
    <Label id="APB2Presc" type="Info" posX="1115" posY="445" text="APB2 Prescaler"/>
	
    <Label id="ABP1labelPCLK" type="signal" text="PCLK1" posX="1270" posY="325" />
    <Label id="ABP2labelPCLK" type="signal" text="PCLK2" posX="1270" posY="410" />
	
    <Label id="HCLKLabel"         type="info" posX="1033" posY="360" text="HCLK (MHz)"/>
    <Label id="AHBPrescalerLabel" type="info" posX="945" posY="360" text="AHB Prescaler"/>
	
    <Label id="AHBMaxLimitConstraint"  type="dynamiConstraint" posX="1030"  posY="403" text="170 MHz max"/>
    <Label id="APB1MaxLimitConstraint" type="dynamiConstraint" posX="1200" posY="325" text="170 MHz max"/>
    <Label id="APB2MaxLimitConstraint" type="dynamiConstraint" posX="1200" posY="410" text="170 MHz max"/>
	
	
    <BButton id="CSSEnable" text="CSS" refParameter="EnbaleCSS" x="775" y="450">
    </BButton>
    <BButton id="CSSLSEEnable" text="CSS" refParameter="EnableCSSLSE" x="525" y="273">

    </BButton>

	
 

</Clock>


