自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(37)
  • 资源 (4)
  • 收藏
  • 关注

原创 vi统计某个匹配出现的次数

command line ::%s/字符串//gn

2014-05-27 13:21:47 1122

转载 tee命令使用

zz : http://codingstandards.iteye.com/blog/833695

2014-05-22 17:01:12 816

转载 linux 无root权限安装tmux

zz: http://blog.sina.com.cn/s/blog_403aa80a0101h7y9.html

2014-05-22 13:57:13 2972

原创 shell学习9:文件处理

1,lsls -lSh2,touch

2014-05-19 21:12:28 479

原创 shell学习8:awk的惊人表现

ls -l | grep "^d" | awk '{print $1}'打印该目录下d

2014-05-19 21:07:50 506

原创 shell学习7:产生脚本

利用各种参数以及if,case,while编写shell脚本

2014-05-19 21:05:17 465

原创 shell学习5:变量,判断,重复动作

1,unset取消变量的赋值2,sleep

2014-05-19 20:53:03 493

原创 shell学习4:管道的神奇魔力

1,|ls -l | grep "^d"

2014-05-19 20:44:21 522

原创 shell学习3:文本处理工具

1,sortsort -n input.log -output.log

2014-05-19 20:41:06 482

原创 shell学习2:查找和替换

1,grep常用的参数为wrin基本命令:grep -wrin "Starting" ./*zgrep

2014-05-19 20:34:07 644

原创 shell学习1:入门

1,echoecho hello worldecho -n helloecho wor

2014-05-19 20:16:31 471

原创 shell的if/else框架

#!/bin/bash#to run a bash, ./filename.shecho "start bash"log_file="hello.log"if [ -f "$log_file" ] ;then echo "file exists"else echo "file not exists"fiecho "end bash"exit

2014-05-19 15:14:17 761

原创 vim中的正则表达式替换

文件为:1

2014-05-18 16:52:44 795

原创 linux最常用的几个命令收集

1,find2,grep/zgrep3,diff4,

2014-05-16 15:35:19 522

原创 linux下文件比较的工具

1,1  comm命令

2014-05-15 16:24:19 600

转载 gvim文件中的^M处理方法

这里的“^M”要使用“CTRL-V CTRL-M”生成,而不是直接键入“^M”

2014-05-15 16:16:46 2325

转载 Perl chdir()函数

zz : http://www.yiibai.com/perl/perl_chdir.html

2014-05-15 10:30:00 10067

原创 linux下的定时操作

参考:http://blog.csdn.net/hi_kevin/article/details/8983746

2014-05-14 19:16:15 528

转载 Linux下find一次查找多个指定类型文件,指定文件或者排除某类文件,在 GREP 中匹配多个关键

zz : http://blog.sina.com.cn/s/blog_62e7fe670101dg9d.htmlLinux下find一次查找多个指定文件或者排除某类文件,在 GREP 中匹配多个关键字的方法(1)Linux下find一次查找多个指定文件:查找a.html和b.htmlfind . -name "a.html"  -name "b.html"

2014-05-14 11:52:24 997

原创 查找.gz文件的某些行匹配情况

查找一个压缩的.gz

2014-05-14 10:56:26 4756

翻译 bash输入vim化,解决输入命令后修改的难题

原文: vim 101 hacksHack 81. Make Bash Shell work like Vim Editor

2014-05-13 20:59:10 580

翻译 vim中的缩进

使用快捷键shift>> 可以实现当前行缩进一个tab的宽度。反之使用shifit

2014-05-13 20:55:59 460

原创 vim中的sort和unique

:sort option  Description:sort  Sort in ascending order:sort!  Sort in descending order:sort i  Ignore case while sorting:sort u  Remove duplicate lines. u stands for unique.

2014-05-13 20:40:22 6789

翻译 vim中的align插件

原文:vim 101 hacksHack 47. Align the Variable Assignment alhttp://www.vim.org/scripts/script.php?script_id=294

2014-05-13 20:31:25 2803

转载 默认shell的设置

zz : http://zhidao.baidu.com/link?url=opo2uCNHiwFtgg7oc0kOctozeZ8ijzDnIPkSuX3DIGdLIClQfxkaGAmEel0nLF7iV_ZlsnBTraIbbddcs3v1Iq如何让Linux终端默认的shell就是csh?我现在的shell默认是/bin/bashwhich csh 找

2014-05-12 14:03:40 2058

原创 vcs随机化的使用

1,传递seedmodule top();initialbegin int test_args1; int seed; $value$plusargs("seed=%d",seed); test_args1 = $urandom(seed); $display("test_args1 = %d", test_args1); $finish;

2014-05-12 00:17:00 2967

原创 vcs的plusagrs使用技巧

1,top.sv的代码。2,vcs的m

2014-05-10 17:02:27 2968

原创 rhel中只有vim,升级到gvim的方法

1,vim -v确定一下目前安装的版本号。2,下载vim-X11-7.2.411-1.8.el6.i686

2014-05-10 00:58:22 2839

转载 Linux忽略大小写的查找技巧

zz : http://soft.chinabyte.com/os/100/11614600.shtml1.vim 中的查找  Linux 下 vim搜索文件内容时加上 \c 参数可以忽略搜索字符的大小写.  比如用vim 搜索文件中的 China 时  可用 :/china\c  2. find 查找  Linux使用find命令搜

2014-05-08 09:21:14 1486

转载 vim : 删除不包含某字符的行

zz : http://bbs.chinaunix.net/thread-1098609-1-1.htmlook3016a@dlm.mabuchi-motor.co.jphelloworldqingfeng_ma@dachan.com.cnzongbuban@126.comkongxj@dlut.edu.cnlj@dhc.com.cnadfs

2014-05-06 22:14:47 6614

转载 grep 命令使用 -rin

zz :http://www.cppblog.com/jb8164/archive/2007/12/21/39187.html使用grep搜索文件内容——快捷、方便(1) 在当前目录下的所有文件的文件内容中查找哪个文件的内容中有findcontents(大小写不敏感,列出findcontents所在文件的所在行)——适合于当前目录下的文件及目录数目比较少,如果查找后列出内容过多

2014-05-06 21:26:15 5322

原创 perl 获取路径Cwd

use Cwd;       my $dir = getcwd;

2014-05-06 18:28:40 1929

翻译 excel的读操作

zz : http://search.cpan.org/~jmcnamara/Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel.pm#NAME#!/usr/bin/perl -w use strict; use Spreadsheet::ParseExcel; my $parser = Spread

2014-05-05 16:05:39 552

转载 filename.gz的解压和压缩

Linux压缩保留源文件的方法:gzip –c filename > filename.gzLinux解压缩保留源文件的方法:gunzip –c filename.gz > filename

2014-05-04 16:45:40 558

转载 DPI-C的使用指南

第1章 C和C++文件后缀名为c,VCS会使用gcc编译器;文件后缀名为cpp,cxx,cc,VCS会使用g++编译器。VCS的DPI接口是兼容C的,所以如果使用g++编译器,需要在c++的文件中加入如下:#ifdef __cplusplusextern "C" {#endif

2014-05-04 16:38:14 21568 1

原创 vmm_opts::get_int

Some of the test parameters in functional verification are passed from the command line. Passing Parameters from the command line allows simulating the same testcase file with different scenario. Fo

2014-05-04 16:13:24 1718

原创 vmm执行基本流程

`vmm_test_begin(testcase_name,vmm_env,"Test Case Name String") `vmm_test_env(testcase_name)

2014-05-04 16:02:55 2016

DDR5 DDR4 LPDDR5 LPDDR4 JEDEC SPEC

最新的协议标准,可参见 www.jedec.org, 仅供学习使用,那些卖钱的,你们良心不痛吗,养肥了JEDEC的律师函就来收割了。 DDR5 JESD79-5.pdf, DDR4 JESD79-4C.pdf, LPDDR5 JESD209-5B.pdf, LPDDR4 JESD209-4D.pdf JESD79-5: Available for purchase: $369.00

2022-11-25

51 扩展8155的程序

8155扩张IO口的程序,设置模式,写IO的操作,挺好用的,给大家分享……

2009-08-17

labview串口程序(测试过,很好用)

labview串口程序(测试过,很好用)

2009-08-12

VHDL键盘去抖动,计分器.vhd

VHDL键盘去抖动,计分器 是VHDL语言的程序,挺有用的,大家看看哈。

2009-06-01

硬件设计 PCB设计与技巧

PCB设计与技巧 华为公司的内部材料, 上课从老师那里弄到的,希望对大家有用。

2009-03-16

空空如也

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

TA关注的人

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