自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(64)
  • 收藏
  • 关注

原创 sed基操

sed –n ‘p’ /etc/passwdsed [ options ] –f {sed-commands-in-a-file} {input-file}$ cat test_script.sed/^root/ p/^nobody/ psed –n –f test_script.sed /etc/passwdsed –n -e /^root/ p -e /^nobody/ p /e...

2019-12-13 14:04:10 177

原创 sed高级操作

cat empnametitle.txtJohn DoeCEOJason SmithIT ManagerRaj ReddySysadminAnand RamDeveloperJane MillerSales Manager命令 x(Exchange)交换模式空间和保持空间的内容sed –n -e ‘{x;n}’ –e ‘/Manager/{x;p}’ empnametitl...

2019-11-23 15:40:44 256

原创 sed & awk 101 hacks 学习笔记 -sed

sed 基本语法:sed options ‘commands’ filesed 首先从 file 中读取第一行,然后执行所有的 commands;再读取第二行,执行 所有 sed-commands;重复这个过程,直到 input-file 结束 。commands可以为一个或多个一个是最简单形式,如:sed -n p file:打印file所有内容到标准输出多个稍微复杂,以两个为例...

2019-08-15 09:52:01 479

原创 sed执行过程

sed [option] [command] filesed 执行四个操作:读:将 file 第一行内容读入内存中执行:执行内存中的file第一行内容打印:打印内存中file第一行内容被执行后的结果,然后清空内存重复:读入file第二行内容到内存中...

2019-08-14 17:54:15 448

原创 python sta rpt

#!/usr/bin/env pythonall_list=['STA.current/LNK/TEMPUS.RUN.STA.signoff--capture--best.H.smsc_config.tcl/RPT/sa_xsw.signoff--capture--best.H.overview.rpt','STA.current/LNK/TEMPUS.RUN.STA.signoff--capture--bestCW.H.smsc_config.tcl/RPT/sa_xsw.signoff--captu

2020-06-01 16:43:39 387

原创 python多行匹配

加re.S标志位:re.compile(‘pattern’,re.S)例:pattern=re.compile(r'Path\sGroup:\s\{(sys_clk)\}.*?Slack\sTime\s+(.*?)\n,re.S'匹配结果:.group()或者.group(0)返回匹配的str类型.group(n)返回第n个分组,类型为str.groups()返回所有的分组,类型为元组...

2020-06-01 13:19:15 760

原创 cshell总结

元字符:*:匹配0个或多个任意字符?:匹配任意单个字符[a-z]:匹配括号中任意的单个字符,中间连字符“-”表示字符范围{abc,123,ABC}:多个字符匹配,匹配逗号之间的多个字符串~:home目录~xyz:xyz的home目录特殊文件:~/.cshrc:csh的配置文件,开启cshell自动执行特殊字符:;:命令分隔符&:后台执行():命令分组|:管道命令`:命令替代$:变量替代命令方式:cmd&:后台执行cmd1;cmd2:同一行执行多个命令(先1

2020-05-19 11:16:47 1246

原创 设置terminal背景颜色

tput setb [0-9]一共10种颜色,9对应白色:tput setb 9,0对应黑色:tput setb 0。

2020-04-28 11:05:25 1654

原创 innovus noTiming trace all fanout registers 的脚本

proc Trace_Load {inst} {set load [dbget [dbget [dbget [dbget top.insts.name $inst -p].instTerms.isOutput 1 -p].net.instTerms.isInput 1 -p].inst.name]set loadnum [llength KaTeX parse error: Expected ...

2020-03-30 14:04:34 903

原创 难点总结

setup 和 hold都违例的原因:1:错误SDC,如果约束太严,比如uncertainty加的margin太多,放松约束即可2:setup和hold建立时间都很大,可以更换mem类型3:ocv,clock path太早分叉,看能否将common path做长...

2020-03-26 11:12:33 1672

原创 查看各用户按提交时间排序的结果

bjobs -w -u all | awk ‘{print$10,$2,$7}’ | sort -u

2020-03-10 14:03:00 636

原创 innovus replace via的命令

editChangeVia -from VIAGEN34_RECT_1 -to VIAGEN34_RECT_16 -at {1444.0 505.92}

2020-03-10 13:48:52 2140

原创 linux小知识

~ :代表当前用户的HOME目录~xyz:代表xyz用户下的HOME目录

2020-03-07 21:34:36 140

原创 verify命令

2020-03-06 13:08:00 927

原创 后端addFiller导致drc不过的问题

**WARN: (IMPSP-5186): -fitGap is conflict with ‘setPlaceMode -place_detail_use_no_diffusion_one_site_filler true’. Suggest to turn off -fitGap if 1 site filler is available.因为filler是加在cell之间的空隙中,其中-f...

2020-03-06 08:50:58 1679 1

原创 perl打印文件头

#!/usr/bin/perl -wuse strict;use POSIX;my $cur_time=strftime("%m/%d/%Y",localtime());my $file_name;my $tab = " "x4;if (@ARGV == 1) {$file_name = $ARGV[0];}else {&help_message();}open (...

2020-03-03 16:52:35 362

原创 linux 快捷命令

Tab:补全Ctrl + C:中断Ctrl + Z:后台Ctrl + D:退出Ctrl + L:刷新屏幕Ctrl + A:光标移至行首Ctrl + E:移至行尾Ctrl + U:删除光标到行首内容Ctrl + K:删除光标到行尾内容Ctrl + W:删除单词Ctrl + Y:粘贴删除内容Ctrl + P:查看上一个命令,类似方向键↑Ctrl + N:类似↓Ctrl + R...

2020-03-01 13:19:54 163

原创 空间管理

du -h --max-depth=1

2020-03-01 09:39:58 179

原创 返回pin的状态

get_constant_for_timing如返回TIE HIGH输出状态:get_constant_for_timing TIEHI/Z返回TIE LOW输出状态:get_constant_for_timing TIELO/Z

2020-02-23 20:25:54 267

原创 timing 分析phase shift

2020-02-22 14:26:51 1162

原创 时序分析模式set_Analysis_Mode

(130n以下用bc_wc,比single更悲观)(比bc_wc更悲观)

2020-02-21 20:01:38 977

原创 MMMC

2020-02-21 19:40:30 990

原创 sdc

2020-02-21 16:56:25 338

原创 时序库

2020-02-21 14:20:02 548

原创 place

place standard cell :gui里面第三个 run placement in floorplan mode ,可以提升place时间,如一个1million inst的block,full place需要6小时,floorplan mode 只需要半小时。好处是可以实现floorplan mem的快速迭代。毕竟可以根据place的结果来检测memory摆放是否合...

2020-02-21 12:14:32 245

原创 place

2020-02-21 12:14:11 118

原创 dbget

(.?h: h代表help给出所有子节点含义)(.??:打印所有子节点具体信息,可以用在debug问题上。若某个Inst没有优化,打印出所有信息,与能优化的inst的信息比较,发现是否有不同,比如设置了dont_touch属性)dbget 选项:(计量单位是Innovus db中保存的数据格式,比如图中box1151.96的信息用defOut导出后的def中对应未3023920)...

2020-02-21 12:13:51 494

原创 ccopt chains

2020-01-19 11:34:22 414

原创 ccopt report

ReportingGet CommandsThere are several get_ccopt_* commands that aid TCL scripting and combined with get_ccopt_property and other Innovuscommands, for example dbGet , aid the generation of custom c...

2020-01-15 21:14:44 644

原创 clock tree and skew

Clock Trees and Skew GroupsClock trees and skew groups are the two key object types used in the CCOpt clock specification. The term object is used herebecause clock tree and skew group objects can b...

2020-01-15 13:37:47 2478

原创 ccopt spec and method

Stop and Ignore PinsStop pins and ignore pins both stop the clock tree specification process from tracing beyond a pin. A stop pin is treated as a sink to be balanced whereas an ignore pin is not bal...

2020-01-14 17:06:37 1848

原创 ccopt_property

CCOpt PropertiesConfiguration of CCOpt-CTS and CCOpt is performed using a combination of the clock tree specification and CCOpt properties.To set a property:set_ccopt_property [-object_type ] To ...

2020-01-08 10:33:45 2178

原创 innovus select 操作

deselectAllselectInstreportSelect

2020-01-03 12:10:47 1630

原创 string map

string map ?-nocase? mapping stringReplaces substrings in string based on the key-value pairs in mapping. mapping is a list of key value key value … as in the form returned by array get. Each instanc...

2019-12-16 14:10:54 388

原创 将多行换成一行

sed -Nsed -e "N s/\n/ /g:将2行换成一行sed -e "N ;N;N; s/\n/ /g:将4行换成一行tr -s “\n” "\ " :将所有行换成一行

2019-12-13 17:15:31 205

原创 tcl权威编程指南学习

名字空间:namespace::variable

2019-12-12 16:49:33 488

原创 使用innovus画圆

foreach i [dbGet top.insts.cell.name -p2 PCLAMPC_H] {set tmp1 [lindex [dbGet ${i}.pgInstTerms.net.name] 0]set tmp2 [lindex [dbGet ${i}.pgInstTerms.net.name] 1]set tx [expr [dbGet ${i}.pt_x] + 10.99...

2019-12-11 14:37:20 700

原创 文件比较 取相同点 取不同点

gvimdiff:比较两个文件不同处:grep -f :取两者相同之处:

2019-12-10 09:04:30 303

原创 db命令进阶

dbFind* :(根据名字找名字)dbFindInstsByCelldbFindInstsByNamedbFindInstsOnNetdbFindMoudlesByNamedbFindNetsByNamedbFindTermsByNamedbInstCelldbInstCellName

2019-11-28 11:38:45 248

原创 linux基础拾遗

exit 可以推出shell,但是确保有一个shell,不然exit会直接推出terminal

2019-11-18 21:59:58 131

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除