2020年8月15日

TOP 环境搭建1

摘要: 1. 从ipv2soc的移植性上看IP环境搭建: 1.IP平台中模块的层级结构的引用,顶层统一用一个宏,比如我们的ip验证环境, tb_top是顶层环境,环境中例化ip_name 为u_dut,那么我们需要在环境的tb_top_define.sv 文件中定义一个宏 ·ifdef TOP_SIM `d 阅读全文

posted @ 2020-08-15 18:33 hematologist 阅读(313) 评论(0) 推荐(0) 编辑

2020年7月12日

BDS 介绍

摘要: 1.从matlab 算法理解BDS 导航系统 阅读全文

posted @ 2020-07-12 19:05 hematologist 阅读(294) 评论(0) 推荐(0) 编辑

2020年6月29日

axi

摘要: 1. write strobe 写选通 2. align 字节对齐 3. non-align 4. response 5. lock 阅读全文

posted @ 2020-06-29 09:42 hematologist 阅读(199) 评论(0) 推荐(0) 编辑

2020年4月2日

sv 易混淆语法

摘要: 1. 数组上下界随变量变化的语法; //for(i=0; i<=11;i++) begin // file_data_re0[((i+1)*12)-1 +: i*12] = data_re0; // file_data_im0[((i+1)*12)-1 +: i*12] = data_im0; // 阅读全文

posted @ 2020-04-02 14:49 hematologist 阅读(552) 评论(0) 推荐(1) 编辑

2020年3月27日

sv 的宏

摘要: 1. sv中宏的使用 `` 组成变量,进行不同名字函数的定义等,十分方便:172行; `" `" 组成变量,宏传递的参数理解为字符串:173行; `\`" 用来将参数替换为转义序列:格式化打印时用的到 ·define data_to_reg(ARG1, ARG2)\ ARG1 = ARG2 ;\ $ 阅读全文

posted @ 2020-03-27 09:32 hematologist 阅读(2109) 评论(0) 推荐(0) 编辑

2020年2月22日

sv copy

摘要: 1. 使用new操作符复制一个对象 1 class Header; 2 int id; 3 function new (int id); 4 this.id = id; 5 endfunction 6 7 function showId(); 8 $display ("id=0x%0d", id); 阅读全文

posted @ 2020-02-22 14:14 hematologist 阅读(815) 评论(0) 推荐(0) 编辑

2020年1月17日

sv data_type

摘要: class coverage; ... covergroup cg_abc (int low, int high); coverpoint x { bins range = {[low:high]}; } endgroup function new (); cg_abc = new (12, 64) 阅读全文

posted @ 2020-01-17 20:33 hematologist 阅读(163) 评论(0) 推荐(0) 编辑

2019年12月5日

uvm_info

摘要: 1.what‘s a good report like: 2.bad display: 3.how uvm_info work: 4.good code: 5.some trick: do not want line info and file info can +define+UVM_REPORT 阅读全文

posted @ 2019-12-05 20:00 hematologist 阅读(895) 评论(0) 推荐(0) 编辑

2019年11月26日

AXI 协议

摘要: 1.AXI 读突发时序 阅读全文

posted @ 2019-11-26 11:01 hematologist 阅读(347) 评论(0) 推荐(0) 编辑

2019年10月15日

GNSS 锁相环

摘要: https://blog.csdn.net/wordwarwordwar/article/details/54429694 阅读全文

posted @ 2019-10-15 10:20 hematologist 阅读(184) 评论(0) 推荐(0) 编辑

导航