Intel® Quartus® Prime Pro Edition用户指南: Timing Analyzer

ID 683243
日期 4/13/2020
Public

本文档可提供新的版本。客户应 单击此处 前往查看最新版本。

文档目录

2.3.2.2. 添加和删除集合项

与集合命令一起使用的通配符定义命令标识的集合项。例如,如果设计包含名为src0src1src2dst0的寄存器,那么集合命令[get_registers src*]标识寄存器src0src1src2,但不标识寄存器dst0。要识别寄存器dst0,必须使用一个附加命令[get_registers dst*]。如要包含dst0,也可以指定一个集合命令[get_registers {src* dst*}]

如要修改集合,请使用add_to_collectionremove_from_collection命令。add_to_collection命令使您能够将其他项添加到现有集合中。

add_to_collection命令

add_to_collection < first collection > < second collection >

注: add_to_collection命令创建一个新集合,此集合是所指定的两个集合的并集。

remove_from_collection命令使您能够从现有集合中删除项目。

remove_from_collection命令

remove_from_collection < first collection > < second collection >

以下示例显示了使用add_to_collection将项目添加到集合中。

将项目添加到集合中

#Setting up initial collection of registers
set regs1 [get_registers a*]
#Setting up initial collection of keepers
set kprs1 [get_keepers b*]
#Creating a new set of registers of $regs1 and $kprs1
set regs_union [add_to_collection $kprs1 $regs1]
#OR
#Creating a new set of registers of $regs1 and b* 
#Note that the new collection appends only registers with name b*
# not all keepers
set regs_union [add_to_collection $regs1 b*]

Intel® Quartus® Prime软件中,keeper是I/O端口或者寄存器。包含get_keepers.sdc文件与第三方时序分析流程不兼容。