11 2014 档案

摘要:列表及其形式数组数组的赋值数组的读取数组片段数组函数二维数组简介总结1.列表形式: 1.(item1,item2,...) 2.qw(item1 item2 item3 ...) 3.qw 4.(1,2,3,4,5,6) -->(1..6) 5.(3..3)-->(3) 6.(2.4..5... 阅读全文
posted @ 2014-11-30 19:18 CHIPER 阅读(207) 评论(0) 推荐(0)
摘要:循环控制:1.last 退出标签的语句块2.next3.redo不推荐,循环次数不可控4.goto不推荐。***************************************标签:先定义一个 labellast|next|redo|goto label;last VS next 相当于C... 阅读全文
posted @ 2014-11-30 18:50 CHIPER 阅读(188) 评论(0) 推荐(0)
摘要:语句:if/unlesswhile/foreach/do..while/for1.表达式真价值总结任何表达式都有真假值:逻辑、字符串、列表、文件2.ifif(expression1){statements;}else if(expression2){statements;}else{statemen... 阅读全文
posted @ 2014-11-30 14:19 CHIPER 阅读(180) 评论(0) 推荐(0)
摘要:运算符:1.operand operator expression statement2.算术运算符 + - * / ** % -字符串参加运算必须转化为整数,若不能转化认为是0.2.算术比较 == = != 注意:不是运算符,控制台输入3.字符串比较 lt gt... 阅读全文
posted @ 2014-11-28 08:42 CHIPER 阅读(312) 评论(0) 推荐(0)
摘要:字符串变量:${}1.单引号:不进行变量替换,不进行转义,字符串可以跨行。2.双引号:变量替换(贪婪匹配原则)、支持转义字符(转义字符可以另外看)3.反引号字符串的特殊表示方法:qq(...) q(...)()可以换为,{},[],//,;;,等配对的字符。变量初值:undef $adefined ... 阅读全文
posted @ 2014-11-27 22:52 CHIPER 阅读(193) 评论(0) 推荐(0)
摘要:1.perl4种变量scalar: $ 纯变量,标量array: @hash: %file: 大写2.变量组成1.命名规则 大小写敏感 、 字母数字下划线。。。2.无关键字,$+其他,但不可以与内置变量冲突。3.命名长度无限。3.纯变量中:整型、浮点型、字符、字符串、 整数变量 1.可... 阅读全文
posted @ 2014-11-27 21:55 CHIPER 阅读(260) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2014-11-22 11:21 CHIPER 阅读(14) 评论(0) 推荐(0)
摘要:做事情,最好要分阶段量化,但每一阶段要做的干净利落,不要重复以前的工作,围绕以前的工作内容打转,设计好的RTL要一步到位不要来回就该,否则会引入新的问题。无法保证工作质量。 阅读全文
posted @ 2014-11-21 13:52 CHIPER 阅读(109) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2014-11-21 08:59 CHIPER 阅读(14) 评论(0) 推荐(0)
摘要:1.先看外设接口协议。2.看具体设计文档。3.仿真case。 阅读全文
posted @ 2014-11-19 11:28 CHIPER 阅读(226) 评论(0) 推荐(0)
摘要:block statements : 1. sequential block : begin-end block 2.parallel block : fork - join blockblock name : 如果block有自己的label, 1.可以... 阅读全文
posted @ 2014-11-16 00:31 CHIPER 阅读(308) 评论(0) 推荐(0)
摘要:verilog语言中有两种延迟方式:inter-delay和intra-delay,关于inter和intra。这两个英文前缀都有“内部,之间”的意思,但又有所不同。inter表达不同事物之间,intra表达同类事物之间,两者具体的含义请细细体会:)。以阻塞式赋值为例(block assignmen... 阅读全文
posted @ 2014-11-15 21:16 CHIPER 阅读(16271) 评论(0) 推荐(0)
摘要:1.delay control : an expression specifies the time duration between initially encountering the statement and when the statement actually executes. ... 阅读全文
posted @ 2014-11-15 21:15 CHIPER 阅读(447) 评论(0) 推荐(0)
摘要:cache 控制器顶层有4组接口,分别为输入I/D bus ,输出TCM bus /Cache bus /direct flash bus (走cache ID bus matrix)flash 控制器 fshc有两组接口 分别是cache bus(此组主要用来做mcu取指的) 和 mcu bus(... 阅读全文
posted @ 2014-11-14 09:37 CHIPER 阅读(607) 评论(0) 推荐(0)
摘要:从错误最近的地方着手,去观察波形,分析思路。追信号的时候最好追驱动不要追负载。驱动只有一个,负载可以有多个,很容易追错。 阅读全文
posted @ 2014-11-12 20:21 CHIPER 阅读(152) 评论(0) 推荐(0)
摘要:这方面知识,自己有了大概了解,可以再没有重要急需学习的安排时,不时的翻翻这方面的书。本能力属于重要但不急需的能力 阅读全文
posted @ 2014-11-10 08:59 CHIPER 阅读(191) 评论(0) 推荐(0)
摘要:跨时钟域设计很重要,每一个项目都会有,这个要马上学会总结好。本能力属于重要而且急需的能力。 阅读全文
posted @ 2014-11-10 08:57 CHIPER 阅读(238) 评论(0) 推荐(0)
摘要:linux中 find 命令使用总结(转)简化文件系统的管理find命令具有一长串令人生畏的选项和开关,它们会阻碍人们深入地学习该命令,但正是因为其范围广阔,真正的 Explorer 并不会被它们吓倒。一条好的通用原则在简化一个复杂问题时都会经过漫长的过程。启动一个 xterm,并尝试执行下面的命令... 阅读全文
posted @ 2014-11-05 18:02 CHIPER 阅读(382) 评论(0) 推荐(0)
摘要:GNU在目录树中查找的时候,是根据所给的名字从根节点开始从左到右匹配。根据优先级规则,直到在某一个节点找到结果了才会移动到下一个文件名字。1.找空目录 find ./path -depth -type d -empty2.找空文件 find ./path -depth -type f -empty3... 阅读全文
posted @ 2014-11-05 17:46 CHIPER 阅读(226) 评论(0) 推荐(0)
摘要:1.forever2.repeat3.while4.forThe for statement accomplishes the same results as the following pseudo-code that is based on the while loop: begin initi... 阅读全文
posted @ 2014-11-04 19:01 CHIPER 阅读(164) 评论(0) 推荐(0)
摘要:conditional statementcasestatement1. conditional statement if(expression) statement_or_null[else statement_or_null] | if_else_if_statementIf the expre... 阅读全文
posted @ 2014-11-04 18:55 CHIPER 阅读(350) 评论(0) 推荐(0)
摘要:assign / deassginforce /releasethe procedural continuous assignments(using keywords assign and force) are procedural statements that allow expressions... 阅读全文
posted @ 2014-11-04 16:27 CHIPER 阅读(831) 评论(0) 推荐(0)
摘要:BLOCKING ASSIGNMENTS1.A blocking procedural assignment statement shall be exectuted before the execution of the statements that follow it in a sequen... 阅读全文
posted @ 2014-11-04 15:14 CHIPER 阅读(499) 评论(0) 推荐(0)
摘要:1.procedural assignments are used for updating reg ,integer , time ,real,realtime and memory data types.2.difference between procedural assignments an... 阅读全文
posted @ 2014-11-04 14:14 CHIPER 阅读(341) 评论(0) 推荐(0)
摘要:1.Sequential statement groups the begin-end keywords: .group several statements togethor .cause the statements to be evaluated sequentially(one at a t... 阅读全文
posted @ 2014-11-03 20:01 CHIPER 阅读(271) 评论(0) 推荐(0)
摘要:1.verilog behavioral models contain procedural statements that control the simulation and manipulate variables of the data types.These statements are ... 阅读全文
posted @ 2014-11-03 19:37 CHIPER 阅读(303) 评论(0) 推荐(0)
摘要:理解系统这是第一条股则,因为它是最重要的。阅读手册。它会告诉你在使用除草机时,要在除草头上涂润滑油,这样除草绳就不会被烧化。仔细阅读每一个细节。关于微处理器如何处理中断的详细信息就隐藏在数据手册的第37页。掌握基础知识。点据本身就会发出很大的噪声。了解工作流程。引擎的转速可能与轮胎的转速不同,这是由... 阅读全文
posted @ 2014-11-02 02:36 CHIPER 阅读(210) 评论(0) 推荐(0)
摘要:信号数据流向追踪(特别是涉及到PAD内外模块和PAD模块这三个模块):1.每一个SOC的外围都有PAD,PAD的管脚好多是inout类型的。 singal_pad作为输入和输出都有会OEN /IE之类的使能信号,可以观测使能信号判断inout是输入还是输出。2.模块内部一般不允许有inout类型,而... 阅读全文
posted @ 2014-11-01 15:31 CHIPER 阅读(427) 评论(0) 推荐(0)
摘要:Verilog的inout双向端口的使用和仿真芯片外部引脚很多都使用inout类型的,为的是节省管腿。一般信号线用做总线等双向数据传输的时候就要用到INOUT类型了。就是一个端口同时做输入和输出。 inout在具体实现上一般用三态门来实... 阅读全文
posted @ 2014-11-01 10:12 CHIPER 阅读(2033) 评论(0) 推荐(0)