摘要: https://mp.weixin.qq.com/s/tDpUe9yhwC-2c1VqisFzMw 演示如何使用状态机。 参考链接: https://github.com/ucb-bar/chisel-tutorial/blob/release/src/main/scala/solutions/Ve 阅读全文
posted @ 2018-12-09 21:48 wjcdx 阅读(452) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/5lcMkenM2zTy-pYOXfRjyA 演示如何使用switch/is来实现状态机。 参考链接: https://github.com/ucb-bar/chisel-tutorial/blob/release/src/main/scala/ 阅读全文
posted @ 2018-12-09 21:48 wjcdx 阅读(384) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/e8vJ8claauBtiuedxYYaJw 实现可以动态索引的表。 参考链接: https://github.com/ucb-bar/chisel-tutorial/blob/release/src/main/scala/examples/Tb 阅读全文
posted @ 2018-12-09 21:47 wjcdx 阅读(481) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/-AVJD1IfvNIJhmZM40DemA 实现后入先出(last in, first out)的栈。 参考链接: https://github.com/ucb-bar/chisel-tutorial/blob/release/src/main 阅读全文
posted @ 2018-12-09 21:46 wjcdx 阅读(479) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/3hDzpJiANdwp07hO03psyA 演示使用函数进行代码复用的方法。 参考链接: https://github.com/ucb-bar/chisel-tutorial/blob/release/src/main/scala/exampl 阅读全文
posted @ 2018-12-09 21:45 wjcdx 阅读(375) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/OtiQnE52PwdCpvmzJ6VFnA 奇偶发生器。统计输入中1的个数,如果为偶数则输出0,奇数则输出1。 参考链接: https://github.com/ucb-bar/chisel-tutorial/blob/release/src/ 阅读全文
posted @ 2018-12-09 21:44 wjcdx 阅读(404) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/RQg2ca1rwfVHx_QG-IOV-w 字节选择器。 参考链接: https://github.com/ucb-bar/chisel-tutorial/blob/release/src/main/scala/examples/ByteSel 阅读全文
posted @ 2018-12-09 21:43 wjcdx 阅读(478) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/LKiXUgSnt3DzgFLa9zLCmQ 简单的寄存器在时钟的驱动下,逐个往下传值。 参考链接: https://github.com/ucb-bar/chisel-tutorial/blob/release/src/main/scala/e 阅读全文
posted @ 2018-12-09 21:42 wjcdx 阅读(923) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/SEcVjGRL1YloGlEPSoHr3A 位数为参数的加法器。通过FullAdder级联实现。 参考链接: https://github.com/ucb-bar/chisel-tutorial/blob/release/src/main/sc 阅读全文
posted @ 2018-12-09 21:41 wjcdx 阅读(700) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/X5EStKor2DU0-vS_wIO-fg 四位加法器。通过FullAdder级联实现。 参考链接: https://github.com/ucb-bar/chisel-tutorial/blob/release/src/main/scala/ 阅读全文
posted @ 2018-12-09 21:39 wjcdx 阅读(520) 评论(0) 推荐(0) 编辑