摘要: https://mp.weixin.qq.com/s/oSkF98uSqvdpBb2-Fwa5TA 开发了一个基于Intellij IDEA的Verilog语言插件:Verilog Language Support。 可以基于Intellij IDEA社区版2023.1版本进行安装,安装方法如下: 阅读全文
posted @ 2023-05-18 20:47 wjcdx 阅读(196) 评论(0) 推荐(1) 编辑
摘要: Standard EULA "Developer" means Wang Jianchang. "JetBrains" means JetBrains s.r.o. with its registered office at Na Hřebenech II 1718/10, Prague, 1400 阅读全文
posted @ 2023-05-15 13:37 wjcdx 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 文章合集:hcf-phases 1.hcf - Chisel3生成Verilog的新方法2.hcf - ChiselStage及chisel Shell3.hcf - ChiselMain的调用过程 4. hcf - phase: Checks5. hcf - phase: add implicit 阅读全文
posted @ 2022-07-02 12:13 wjcdx 阅读(82) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/eWAjUyE0fr_lmLqdCc7fTw 本文介绍将Chisel3模块生成为Verilog代码的几种新方法。 1. 原方法 当使用老方法生成Verilog代码时,提示方法被废弃,如下图所示: Driver的提示如下: execute的提示如下 阅读全文
posted @ 2022-07-02 11:59 wjcdx 阅读(1051) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/C6Twva47PDyUev-BLhKLug 简单介绍ALU的实现。 1. object ALU ALU对象中定义了ALU要使用的一些常量和辅助方法。 1) 常量 a. SIZE_ALU_FN: 表示ALU操作类型的占用的宽度为4位; 需要注意的 阅读全文
posted @ 2022-03-22 20:03 wjcdx 阅读(382) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/mTHnVCxOk04nDQbqpr5xnw 简单介绍IDecode的实现。 1. DecodeConstants 定义了解码相关的常量,也就是每条指令对应的解码信号的值。这些是在指令集编码设计的时候确定的,所以落实到代码中是常量。 2. Int 阅读全文
posted @ 2022-03-22 20:02 wjcdx 阅读(180) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/KfU9ynQGmCsMCu2ACV17uA 简单介绍Instructions的实现。 1. Instructions 定义各个指令的比特模式: 其中: a. 部分比特位值是确定的0和1; b. 无关的比特位值可以随意,这里使用问号表示; 这些比 阅读全文
posted @ 2022-03-22 20:01 wjcdx 阅读(114) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/Z67OXngGV2Qb8Qf80LzY1g 简单介绍Consts的实现。 1. ScalarOpConstants 定义标量操作相关的常量: 1) MT 定义操作的内存类型: 如下图所示load指令中的使用: mtSize表示操作数的大小,以字 阅读全文
posted @ 2022-03-22 20:00 wjcdx 阅读(120) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/0GSNIf0wCApPi8XYwa8MdQ 简单介绍EventSet的实现。 1. EventSet 定义事件集合: 0) 类参数 EventSet类包含两个类参数: a. gate: (UInt, UInt) => Bool:使用两个参数,返 阅读全文
posted @ 2022-03-22 19:59 wjcdx 阅读(104) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/sRYIPj9tlxuZAPZxwYpEYQ 简单介绍structure/data/control三大类hazard相关的实现。 参考链接:https://www.elsevier.com/__data/assets/powerpoint_doc 阅读全文
posted @ 2022-03-21 20:19 wjcdx 阅读(213) 评论(0) 推荐(0) 编辑