当前位置: 首页 > news >正文

primetime如何合并不同modes的libs到一个lib文件

首先,用primetime 抽 timing model 的指令如下。

代码如下(示例):

#抽lib时留一些margin, setup -max/hold -min
set_extract_model_margin -port [get_ports -filter "!defined(clocks)"] -max 0.1
#抽lib
extract_model -noise -test_design -format {lib} -output top_func_setup_ssgnp0p675vm40c
#压缩lib
sh gzip top_func_setup_ssgnp0p675vm40c.lib

The extract_model command generates a static timing model for the current design from its gate-level netlist. The generated model exhibits the same timing characteristics as the original design and therefore is used instead of the gate-level netlist for timing analysis
at a higher level of the design hierarchy. To also generate noise or power information in the model, use the -noise or -power option.
在这里插入图片描述
在抽完lib之后,如果想要合并不同modes的libs到一个lib文件需要用merge_models。This command can merge multiple timing models together to be one. The timing models must be in Synopsys internal library (.lib) format. This command reads in all the specified files to generate a list of timing models. These timing models are processed, matched, compared, and merged to create a single timing model. This model has moded timing arcs such that, in any given mode, the static timing behavior of the merge model is equivalent to one of the models merged. The final merged model is saved on disk in the specified files and requested formats. PrimeTime and Design Compiler recognize the merged model with moded timing arcs for performing timing analysis.
在这里插入图片描述

代码如下(示例):

set modes {func at_speed scan_shift scan_capture}
set libs {top_func_setup_ssgnp0p675vm40c.lib.gz top_at_speed_setup_ssgnp0p675vm40c.lib.gz top_scan_shift_setup_ssgnp0p675vm40c.lib.gz top_scan_capture_setup_ssgnp0p675vm40c.lib.gz}
merge_models -lib_files "$libs" -mode_names "$modes" -format {lib} -output top_setup_ssgnp0p675vm40c

另外,如果想要把lib转成db,可以使用下面的指令。

#启动library compiler
lc_shell -f ./lib2db.lc
#lib2db.lc内容
read_lib top_setup_ssgnp0p675vm40c.lib >> lc_shell.log
write_lib top_setup_ssgnp0p675vm40c -format {db} -output top_setup_ssgnp0p675vm40c.db >> lc_shell.log
http://www.lryc.cn/news/409756.html

相关文章:

  • 【运维笔记】数据库无法启动,数据库炸后备份恢复数据
  • 成功解决:java.security.InvalidKeyException: Illegal key size
  • 微服务事务管理(分布式事务问题 理论基础 初识Seata XA模式 AT模式 )
  • 测试面试宝典(三十五)—— fiddler的工作原理
  • 旷野之间32 - OpenAI 拉开了人工智能竞赛的序幕,而Meta 将会赢得胜利
  • 机械学习—零基础学习日志(高数15——函数极限性质)
  • 树 形 DP (dnf序)
  • React的生命周期?
  • c# - - - ASP.NET Core 网页样式丢失,样式不对
  • Cannot find module ‘html-webpack-plugin
  • vue、react部署项目的 hashRouter 和 historyRouter模式
  • Qt 实现抽屉效果
  • windows上启动Kafka
  • 贪心系列专题篇三
  • Java中两个集合取差集
  • flask mysql数据迁移
  • Kylin系列(一)入门
  • pmp学习交流组队~
  • 公司常用的监控软件有哪些?2024年六大公司监控软件良心推荐!
  • DNS解析异常--排查验证
  • OpenCV库学习之Canny边缘检测模块
  • Python 教程(七):match...case 模式匹配
  • Python小项目实战:杨辉三角
  • java注解与反射(非常详细, 带有很多样例)
  • 模拟实现短信登录功能 (session 和 Redis 两种代码实例) 带前端演示
  • C# Parallel设置最大并发度
  • 【java】力扣 反转字符串中的单词
  • 科学设计程序员面试内容,破解“八股文”之弊
  • 蓝牙BlueZ验证使用记录
  • 【从0制作自己的ros导航小车:上位机篇】02、ros1多机通讯与坐标变换可视化