微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > FPGA和CPLD > 善用Vivado工程配置文件xpr快速工程创建

善用Vivado工程配置文件xpr快速工程创建

时间:10-19 来源:互联网 点击:

    </Simulator>

  </Simulators>

  <Runs Version="1" Minor="10">

    <Run Id="synth_1" Type="Ft3:Synth" SrcSet="sources_1" Part="xc7a50tftg256-1" ConstrsSet="constrs_1" Description="Vivado Synthesis Defaults" State="current" IncludeInArchive="true">

      <Strategy Version="1" Minor="2">

        <StratHandle Name="Vivado Synthesis Defaults" Flow="Vivado Synthesis 2016">

          <Desc>Vivado Synthesis Defaults</Desc>

        </StratHandle>

        <Step Id="synth_design"/>

      </Strategy>

    </Run>

    <Run Id="impl_1" Type="Ft2:EntireDesign" Part="xc7a50tftg256-1" ConstrsSet="constrs_1" Description="Default settings for Implementation." State="current" SynthRun="synth_1" IncludeInArchive="true">

      <Strategy Version="1" Minor="2">

        <StratHandle Name="Vivado Implementation Defaults" Flow="Vivado Implementation 2016">

          <Desc>Default settings for Implementation.</Desc>

        </StratHandle>

        <Step Id="init_design"/>

        <Step Id="opt_design"/>

        <Step Id="power_opt_design"/>

        <Step Id="place_design"/>

        <Step Id="post_place_power_opt_design"/>

        <Step Id="phys_opt_design"/>

        <Step Id="route_design"/>

        <Step Id="post_route_phys_opt_design"/>

        <Step Id="write_bitstream"/>

      </Strategy>

    </Run>

  </Runs>

</Project>

////////////////////////////////////////////////////////////////////////////////

        对于这个工程配置文件,可以根据我们的需要,移植我们需要的信息。举个最简单的例子,我们只想在某个路径下创建一个以某个型号FPGA器件为主的工程,那么只要截取其中很少一部分即可(最前面的Configuration中的部分内容):

<?xml version="1.0" encoding="UTF-8"?>

<!-- Product Version: Vivado v2016.2 (64-bit)              -->

<!--                                                         -->

<!-- Copyright 1986-2016 Xilinx, Inc. All Rights Reserved.   -->

<Project Version="7" Minor="14" Path="D:/datasheet/xilinx/XDDR_PRJ/xddr_prj.xpr">

  <DefaultLaunch Dir="$PRUNDIR"/>

  <Configuration>

    <Option Name="Id" Val="0fd604fa43664afbb4172d9765411c21"/>

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top