[!NOCODE!][!//Do not generate any output, only warnigs and errors
/**
  \file    Eth_VersionChecks.m
  \version 1.0.0

  \brief   AUTOSAR Eth - version check macro.
  \details Version checks.
  
  Project         : AUTOSAR 4.3 MCAL
  Platform        : PA
  Peripheral      : FEC
  Dependencies    : 
  
  ARVersion       : 4.3.1
  ARConfVariant
  SWVersion       : 1.0.0
  BuildVersion    : MPC5777C_MCAL_1_0_0_RTM_ASR_REL_4_3_REV_0001_20190315

  (c) Copyright 2006-2016 Freescale Semiconductor, Inc. 
*       Copyright 2017-2019 NXP. 
  All Rights Reserved
*/

[!/* Multiple Inclusion Protection *** */!][!//
[!IF "not(var:defined('ETH_VERSIONCHECKS_M'))"!][!//
    [!VAR "ETH_VERSIONCHECKS_M"="true()"!][!//
    
    [!VAR "ETH_AR_MAJOR_VERSION_TEMPLATE"="4"!][!//
    [!VAR "ETH_AR_MINOR_VERSION_TEMPLATE"="3"!][!//
    [!VAR "ETH_AR_PATCH_VERSION_TEMPLATE"="1"!][!//
    [!VAR "ETH_SW_MAJOR_VERSION_TEMPLATE"="1"!][!//
    [!VAR "ETH_SW_MINOR_VERSION_TEMPLATE"="0"!][!//
    [!VAR "ETH_SW_PATCH_VERSION_TEMPLATE"="0"!][!//
    [!VAR "ETH_VENDOR_ID_TEMPLATE"="43"!][!//
    [!VAR "ETH_MODULE_ID_TEMPLATE"="88"!][!//
    
    [!SELECT "CommonPublishedInformation"!][!//
        [!IF "ArReleaseMajorVersion != num:i($ETH_AR_MAJOR_VERSION_TEMPLATE)"!]
            [!ERROR!]AUTOSAR major version number of the Basic Software Module Description file ([!"ArReleaseMajorVersion"!]) and the Code Template files ([!"num:i($ETH_AR_MAJOR_VERSION_TEMPLATE)"!]) are different.[!ENDERROR!]
        [!ENDIF!][!//
        [!IF "ArReleaseMinorVersion != num:i($ETH_AR_MINOR_VERSION_TEMPLATE)"!]
            [!ERROR!]AUTOSAR minor version number of the Basic Software Module Description file ([!"ArReleaseMinorVersion"!]) and the Code Template files ([!"num:i($ETH_AR_MINOR_VERSION_TEMPLATE)"!]) are different.[!ENDERROR!]
        [!ENDIF!][!//
        [!IF "ArReleaseRevisionVersion != num:i($ETH_AR_PATCH_VERSION_TEMPLATE)"!]
            [!ERROR!]AUTOSAR patch version number of the Basic Software Module Description file ([!"ArReleaseRevisionVersion"!]) and the Code Template files ([!"num:i($ETH_AR_PATCH_VERSION_TEMPLATE)"!]) are different.[!ENDERROR!]
        [!ENDIF!][!//
        [!IF "SwMajorVersion != num:i($ETH_SW_MAJOR_VERSION_TEMPLATE)"!]
            [!ERROR!]The software major number of the Basic Software Module Description file ([!"SwMajorVersion"!]) and the Code Template files ([!"num:i($ETH_SW_MAJOR_VERSION_TEMPLATE)"!]) are different.[!ENDERROR!]
        [!ENDIF!][!//
        [!IF "SwMinorVersion != num:i($ETH_SW_MINOR_VERSION_TEMPLATE)"!]
            [!ERROR!]The software minor number of the Basic Software Module Description file ([!"SwMinorVersion"!]) and the Code Template files ([!"num:i($ETH_SW_MINOR_VERSION_TEMPLATE)"!]) are different.[!ENDERROR!]
        [!ENDIF!][!//
        [!IF "SwPatchVersion != num:i($ETH_SW_PATCH_VERSION_TEMPLATE)"!]
            [!ERROR!]The software patch number of the Basic Software Module Description file ([!"SwPatchVersion"!]) and the Code Template files ([!"num:i($ETH_SW_PATCH_VERSION_TEMPLATE)"!]) are different.[!ENDERROR!]
        [!ENDIF!][!//
        [!IF "VendorId != num:i($ETH_VENDOR_ID_TEMPLATE)"!]
            [!ERROR!]The vendor ID of the Basic Software Module Description file ([!"VendorId"!]) and the Code Template files ([!"num:i($ETH_VENDOR_ID_TEMPLATE)"!]) are different.[!ENDERROR!]
        [!ENDIF!][!//
        [!IF "ModuleId != num:i($ETH_MODULE_ID_TEMPLATE)"!]
            [!ERROR!]The module ID of the Basic Software Module Description file ([!"ModuleId"!]) and the Code Template files ([!"num:i($ETH_MODULE_ID_TEMPLATE)"!]) are different.[!ENDERROR!]
        [!ENDIF!][!//
    [!ENDSELECT!][!//
[!ENDIF!][!//
[!ENDNOCODE!][!//
