【ug903】Xilinx XDC约束的输入方式

Vivado支持通过UserInterface(GUI)和HandEdit(文本编辑器)两种方式管理约束文件。UserInterface允许用户通过图形界面输入和编辑约束,而HandEdit则涉及直接在XDC文件中手动输入约束。约束创建是迭代的,两种方法不应同时使用,切换时需保存或重新加载设计以保持同步。
摘要由CSDN通过智能技术生成

Vivado支持两种约束输入方式:User Interface和Hand Edit。

User Interface
Vivado管理约束文件,用户通过Vivado提供的GUI来输入约束,如I/O Ports窗口、Timing Constraints Wizard窗口、Edit Timing Constraints窗口等等。

通过Save Constraints操作将约束保存至约束文件中:
1. Saves all new constraints to the XDC file marked target in the constraints set associated with your design.
2. Saves all edited constraints back to the XDC file from which they originated.

Hand Edit
用户管理约束文件,用户通过Text Editor打开约束文件后,直接输入约束。

User Interface和Hand Edit之间的关系

在这里插入图片描述
Load your design in memory等同于Open Design,包括Open Elaborated Design、Open Synthesized Design和Open Implemented Design。Open Design主要内容如下:
1. The Vivado IDE uses a concept of opening designs in memory.
2. Opening a design loads the design netlist at that particular stage of the design flow, assigns the constraints to the design, and then applies the design to the target device.
3. This provides the ability to visualize and interact with the design at each design stage.

两种约束输入方式关系如下:
1. Do not use both options at the same time. Mixing these options might cause you to lose constraints.
2. Constraints creation is iterative. You can use IDE editors in some cases, and hand edit the constraint files in others.
3. If you switch between the two options, you must first save your constraints or reload your design, to ensure that the constraints in memory are properly synchronized with the XDC files.

以上三点总结如下:
1. 两种约束输入方式不可同时使用;
2. 约束的创建过程是一个反复迭代的过程,不同的情况下使用不同的约束输入方式;
3. 当从User Inteface切换到Hand Edit时,要先将输入的约束保存;当从Hand Edit切换到User Interface时,要先Reload Design;

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值