摘要: 很可能是因为 metals 自带的 millw 太慢了,ctrl+P -> settings, 然后给 mill 路径 设置 本机的 mill 绝对路径。 这样会快不少 阅读全文
posted @ 2023-03-07 21:44 yinhuachen 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 这个错误产生的原因通常是,你报错的地方使用了一个结构体,而这个结构体对于这个地方不可见 解决方案:把这个结构体的声明/头函数 include 进来,就可以了 阅读全文
posted @ 2023-03-07 20:04 yinhuachen 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 解决方案: 原因是,编译的时候 VERILATOR_CFLAGS 没有加上 option --trace, 加上就好了 答案来源:https://github.com/verilator/verilator/issues/903 阅读全文
posted @ 2023-03-07 19:59 yinhuachen 阅读(234) 评论(0) 推荐(0) 编辑
摘要: ```make # Include variables and rules generated by menuconfig -include $(NPC_HOME)/include/config/auto.conf -include $(NPC_HOME)/include/config/auto.c 阅读全文
posted @ 2023-03-07 19:58 yinhuachen 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 视频:https://www.bilibili.com/video/BV1ja411h7jt/?spm_id_from=333.999.0.0&vd_source=7a1a0bc74158c6993c7355c5490fc600 啊 啊 Peterson算法实现互斥的效率其实很低 如何正确地在多处理 阅读全文
posted @ 2023-03-07 05:35 yinhuachen 阅读(86) 评论(0) 推荐(0) 编辑