1<?xml version="1.0" encoding="utf-8"?> 2 3 4<!--**************************************************************************** 5* \file smif_intrinsic-1.0.cypersonality 6* \version 1.0 7* 8* \brief 9* Intrinsic SMIF personality description file. Supports CAT1A, CAT1B, CAT1C and 10* CAT1D devices. 11* 12******************************************************************************** 13* \copyright 14* Copyright 2022-2024 Cypress Semiconductor Corporation 15* SPDX-License-Identifier: Apache-2.0 16* 17* Licensed under the Apache License, Version 2.0 (the "License"); 18* you may not use this file except in compliance with the License. 19* You may obtain a copy of the License at 20* 21* http://www.apache.org/licenses/LICENSE-2.0 22* 23* Unless required by applicable law or agreed to in writing, software 24* distributed under the License is distributed on an "AS IS" BASIS, 25* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 26* See the License for the specific language governing permissions and 27* limitations under the License. 28*****************************************************************************--> 29 30<Personality id="mxs40smif_intrinsic" name="Quad Serial Peripheral Interface (QSPI) Intrinsic" intrinsic="true" version="1.0" xmlns="http://cypress.com/xsd/cyhwpersonality_v7"> 31 <Dependencies> 32 <IpBlock name="mxsmif,mxsmif_ver2_s40e"> 33 <Version major="6" /> 34 <Version major="5" /> 35 <Version major="4" /> 36 <Version major="3" /> 37 <Version major="2" /> 38 <Version major="1" /> 39 </IpBlock> 40 <Resource name="smif" /> 41 </Dependencies> 42 <ExposedMembers/> 43 <Parameters> 44 <ParamString id="cfgFileName" name="cfgFileName" group="External Tools" default="design.cyqspi" visible="false" editable="false" desc="" /> 45 <ParamString id="cfgFilePath" name="cfgFilePath" group="External Tools" default="`${cy_design_path() . "/" . cfgFileName}`" visible="false" editable="false" desc="" /> 46 <ParamBool id="qspiUsed" name="qspiUsed" group="Internal" default="`${fileExists(cy_design_path() . "/design.cyqspi")}`" visible="false" editable="false" desc="" /> 47 </Parameters> 48 <DRCs /> 49 <ConfigFirmware> 50 <!-- Intention of this intrinsic SMIF personality is to generate cycfg_qspi_memslot.c/h if design.cyqspi exists 51 Check if design.cyqspi exists in the design.modus directory 52 Also check if SMIF resource is disabled to avoid generating .c/.h file twice --> 53 <ConfigTool value="`${cy_tools_path("qspi-configurator") . "/qspi-configurator-cli"}`" include="`${qspiUsed || isBlockUsed("smif[0]") || isBlockUsed("smif[0].core[0]") || isBlockUsed("smif[0].core[1]")}`"> 54 <Arg value="`${"--config=" . cfgFilePath}`" /> 55 <Arg value="`${"--library=" . cy_libs_file()}`" /> 56 <Arg value="`${"--output-dir=" . cy_codegen_path()}`" /> 57 </ConfigTool> 58 </ConfigFirmware> 59</Personality> 60