SDC命令详解:使用all_outputs命令进行查询 相关阅读SDC命令详解https://blog.csdn.net/weixin_45791458/category_12931432.html目录指定时钟指定边沿/电平触发Multicorner-Multimode支持写在最后all_outputs命令用于创建一个输出/双向端口对象集合包含当前设计中的所有输出/双向端口关于设计对象和集合的更详细介绍可以参考下面的博客。Synopsys设计对象https://chenzhang.blog.csdn.net/article/details/147015140?spm1001.2014.3001.5502本文针对Design Compiler但该命令同样存在于PrimeTime、IC Compiler等工具中它们大致相同略有差别。all_outputs命令的BNF范式有关BNF范式可以参考以往文章为all_outputs [-clock clock_name] [-edge_triggered | -level_sensitive] //注该命令的选项和参数顺序任意指定时钟-clock选项指定了一个时钟对象列表只有相对这些时钟设置了输出延迟的端口会被包含在集合中如例1所示。// 例1 dcnxt_shell create_clock -period 10 -name clk1 Warning: Creating virtual clock named clk1 with no sources. (UID-348) 1 dcnxt_shell create_clock -period 10 -name clk2 Warning: Creating virtual clock named clk2 with no sources. (UID-348) dcnxt_shell set_output_delay 0.1 [get_ports out1] -clock clk1 1 dcnxt_shell set_output_delay 0.2 [get_ports out2] -clock clk2 1 dcnxt_shell all_outputs {out1 out2 out3} dcnxt_shell all_outputs -clock [get_clocks clk1] {out1} dcnxt_shell all_outputs -clock [get_clocks clk2] {out2}指定边沿/电平触发-edge_triggered选项指定输出延迟是相对外部捕获触发器而言的不使用-level_sensitive选项-level_sensitive选项指定输出延迟是相对外部捕获锁存器而言的使用-level_sensitive选项如例2所示。// 例2 dcnxt_shell create_clock -period 10 -name clk1 Warning: Creating virtual clock named clk1 with no sources. (UID-348) 1 dcnxt_shell create_clock -period 10 -name clk2 Warning: Creating virtual clock named clk2 with no sources. (UID-348) dcnxt_shell set_output_delay 0.1 [get_ports out1] -clock clk1 -level_sensitive 1 dcnxt_shell set_output_delay 0.2 [get_ports out2] -clock clk2 1 dcnxt_shell all_outputs {out1 out2 out3} dcnxt_shell all_outputs -level_sensitive {out1} dcnxt_shell all_outputs -edge_triggered {out2}-edge_triggered选项和-level_sensitive选项是互斥的只能使用其中一个。Multicorner-Multimode支持该命令仅对当前场景生效换句话说只能在当前场景创建输出/双向端口对象集合在指定时钟时仅考虑当前场景。关于场景的更多介绍可以参考下面的博客。Design Compiler多工艺角和多工作模式(Multicorner-Multimode, MCMM)https://blog.csdn.net/weixin_45791458/article/details/149578771?ops_request_misc%257B%2522request%255Fid%2522%253A%2522e3267dcc7cc26380435f53994dc8b9b8%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257Drequest_ide3267dcc7cc26380435f53994dc8b9b8biz_id0utm_mediumdistribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~rank_v31_ecpm-1-149578771-null-null.nonecaseutm_termMCMMspm1018.2226.3001.4450写在最后all_outputs命令在功能上等价于下面这两种get_ports命令。dcnxt_shell get_ports -filter directioninout or directionout dcnxt_shell get_ports * -filter directioninout or directionout如果想创建端口使用create_port命令如果想移除端口使用remove_port命令如果想报告端口的详细信息使用report_port命令。all_outputs命令返回的是输出/双向端口对象集合但该命令会自动调用query_objects命令显示对象名列表执行该命令后可看到对应列表列表中的对象名数量最多由collection_result_display_limit变量控制默认为100。

相关新闻

最新新闻

从脚本到体系:JD_tencent_scf 京东自动化脚本生态工具链与进阶玩法总览

从脚本到体系:JD_tencent_scf 京东自动化脚本生态工具链与进阶玩法总览

从脚本到体系:JD_tencent_scf 京东自动化脚本生态工具链与进阶玩法总览 【免费下载链接】JD_tencent_scf 自用脚本,随缘更新 项目地址: https://gitcode.com/gh_mirrors/jd/JD_tencent_scf JD_tencent_scf 是一套在开发者圈子里流传多年的京东自动…

2026/8/21 18:13:22
SWE-RL源码精读(2):prompts.py提示词模板背后的3个设计巧思

SWE-RL源码精读(2):prompts.py提示词模板背后的3个设计巧思

SWE-RL源码精读(2):prompts.py提示词模板背后的3个设计巧思 【免费下载链接】swe-rl [NeurIPS25] Official codebase for "SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolution" 项目地址: https://gitcode.com/gh…

2026/8/21 18:13:22
SwiftyPickerPopover 倒计时选择器:CountdownPickerPopover 完整使用指南

SwiftyPickerPopover 倒计时选择器:CountdownPickerPopover 完整使用指南

SwiftyPickerPopover 倒计时选择器:CountdownPickerPopover 完整使用指南 【免费下载链接】SwiftyPickerPopover A more convenient way to display a popover with a built-in picker, on iPhone/iPad of iOS9. 项目地址: https://gitcode.com/gh_mirrors/sw/Swi…

2026/8/21 18:13:22
猫抓扩展完全上手指南:5分钟学会网页视频嗅探下载

猫抓扩展完全上手指南:5分钟学会网页视频嗅探下载

猫抓扩展完全上手指南:5分钟学会网页视频嗅探下载 【免费下载链接】cat-catch 猫抓 浏览器资源嗅探扩展 / cat-catch Browser Resource Sniffing Extension 项目地址: https://gitcode.com/GitHub_Trending/ca/cat-catch 有没有过这样的时刻:网页…

2026/8/21 18:13:22
LangChain ReAct模式解析与面试实战指南

LangChain ReAct模式解析与面试实战指南

1. 项目概述最近刚经历了一场关于LangChain ReAct模式的面试,整个过程让我对这个框架有了更深入的理解。作为当前AI应用开发领域的热门技术,LangChain的ReAct模式结合了推理(Reasoning)和行动(Acting)的能力,使得构建智能Agent变得更加高效。…

2026/8/21 18:13:22
分层多智能体框架:构建端到端工作流自动化的核心技术解析

分层多智能体框架:构建端到端工作流自动化的核心技术解析

1. 项目概述:从“单兵作战”到“集团军协同”的自动化跃迁在当今这个追求极致效率的时代,自动化早已不是新鲜词。从简单的脚本定时任务,到复杂的RPA(机器人流程自动化),我们一直在尝试将人力从重复、繁琐的…

2026/8/21 18:08:21