hover99的个人空间 https://blog.eetop.cn/253668 [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

分享 实现有符号定点数数的四舍五入截断
2018-11-3 20:04
设计数学运算逻辑的时候,我们经常会遇到对定点数的截断,我们知道对于无符号数进行四舍五入截断N,需要先加上2**(N-1)再右移N位。例如,把a为U3.4(这里U代表无符号数,3代表整数位有3位,4代表小数位有4位,总位宽位3+4=7位,类似S3.4代表整数部分有3位小数部分有4位的有符号数,总位宽为1+3+4=8位)截断为U3.0。 assign ...
3597 次阅读|0 个评论
分享 How to convert RAL transaction to AHB Master VIP transaction
2011-6-8 18:50
You can use the AHB Master VIP as a RAL BFM, and add a wrapper to convert RAL transactions into AHB READ/WRITE transactions before putting objects into AHB master VIP. And the ahbRALWrapper connects between the ahbRALRWXactor and AHB_Master_VIP . Attach the ahbRALWrapper.sv f ...
个人分类: VMM VIP|1572 次阅读|0 个评论
分享 implement multi-imp in the same component
2011-6-8 14:31
The TLM implemenation declaration macros provide a way for components to provide multiple implemenation ports of the same implementation interface. When an implementation port is defined using the built-in set of imps, there must be exactly one implementation of the interface. For example, if a comp ...
个人分类: UVM|1124 次阅读|0 个评论
分享 Verification Manager
2011-5-19 12:41
08年开始为部门设计的一套通用的验证环境,在3年里应用到各种模块级和系统级的项目中,并且不断完善。目前主要功能如下: 1)和仿真工具以及具体项目无关,用户只要更改配置文件,即可选择不同的仿真器 2)分层的test case结构,更有利于test case的管理 3)自动生成32位的seed,方便test case的recover 4)多 ...
1215 次阅读|4 个评论
  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 3

    粉丝
  • 0

    好友
  • 0

    获赞
  • 3

    评论
  • 981

    访问数
关闭

站长推荐 上一条 /1 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-27 09:39 , Processed in 0.021184 second(s), 11 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部