会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yinhuachen
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
15
16
17
18
19
20
21
22
23
···
34
下一页
2022年11月5日
SystemVerilog 中的 有符号比较 和 无符号比较
摘要: 当比较双方都是有符号时候,比较为有符号比较 当有一方是无符号比较时,则是无符号比较 可以使用 $signed() 来强制转换为有符号数 答案来源: https://stackoverflow.com/questions/21340093/why-is-this-verilog-relational-
阅读全文
posted @ 2022-11-05 15:06 yinhuachen
阅读(546)
评论(0)
推荐(0)
2022年10月31日
DPI-C 进阶
摘要: 看起来 DPI-C 似乎并不只在 verilator 上起作用 下面这个网址包含了 一些 verilator 手册上没有的 DPI-C 用法,包括二维数组传递: svOpenArrayHandle https://blog.csdn.net/zhajio/article/details/109362
阅读全文
posted @ 2022-10-31 21:26 yinhuachen
阅读(473)
评论(0)
推荐(0)
2022年10月29日
为什么有时候某函数明明只写了一次,gcc和ld却报错 “multiple definition” ?
摘要: 最主要的可能:你在头文件里写了 非 static inline 的函数定义(注意定义和声明的区别) 有函数体的函数 -> 定义,而非声明 有初始化的全局变量 -> 定义,而非声明 (对于全局变量来说,似乎凡是不加 extern 的都会编程定义) 原因: 1. 有可能是头文件里没有加 #ifndef
阅读全文
posted @ 2022-10-29 16:21 yinhuachen
阅读(345)
评论(0)
推荐(0)
为什么 grep 中的 * (星号)有时不起效?
摘要: 答案来源:https://askubuntu.com/questions/681637/grep-the-asterisk-doesnt-always-work 看高赞回答
阅读全文
posted @ 2022-10-29 14:17 yinhuachen
阅读(67)
评论(0)
推荐(0)
2022年10月28日
yzh第六课(NEMU代码导读)笔记
摘要: 了解程序/工具行为的两种方法: 1. 看源码:可以得知每一处静态细节,但较繁琐 2. 看踪迹:容易了解运行动态行为,但不全面 下手要选容易的方式:看踪迹 啊 啊 啊 在面对比较大的项目时,如果这个项目有自带的 log/trace,那简直就是无价之宝 a a 使用 man console_codes
阅读全文
posted @ 2022-10-28 21:57 yinhuachen
阅读(410)
评论(0)
推荐(0)
2022年10月22日
SystemVerilog 中的 Assert (我没看完)
摘要: 分为两种:1. immediate assert 2. concurrent assert 自己去网页里看吧 答案来源:https://www.doulos.com/knowhow/systemverilog/systemverilog-tutorials/systemverilog-asserti
阅读全文
posted @ 2022-10-22 16:30 yinhuachen
阅读(59)
评论(0)
推荐(0)
2022年10月20日
good code2flowchart tools recommended
摘要: 1. py2flowchart - giveup 2. code2flow - beautiful, modulation, python not support, needs to pay. youtube tutorial https://www.youtube.com/watch?v=oOht
阅读全文
posted @ 2022-10-20 14:44 yinhuachen
阅读(48)
评论(0)
推荐(0)
2022年10月17日
一生一芯第五课 “程序的执行和模拟器”
摘要: 感谢 yzh 大神的分享!!!! gcc的几个选项: -ffreestanding (表示编译出的程序将在裸机上运行)(注意:freestanding运行时环境默认的入口是_start()) Assert that compilation targets a freestanding environ
阅读全文
posted @ 2022-10-17 19:32 yinhuachen
阅读(269)
评论(0)
推荐(0)
2022年10月12日
verilog 的一些神奇小技巧
摘要: 1. 使用 assign reg_wen[rd] = 1'b1; 可以用一行实现一个 32-1 decoder - 错误,貌似会生成锁存器/存储器
阅读全文
posted @ 2022-10-12 20:33 yinhuachen
阅读(46)
评论(0)
推荐(0)
提问:git push origin main 时,遇到 username-passwd removed 错误该怎么办
摘要: 我所做的努力:1. 直接阅读报错信息所推荐的网页 得到方案1:使用PAT作为密码 缺点:麻烦
阅读全文
posted @ 2022-10-12 19:00 yinhuachen
阅读(30)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
21
22
23
···
34
下一页
公告