摘要: https://mp.weixin.qq.com/s/Z4JJhZ_jL1lqF1nf_orq9A 简单介绍Timer的实现。 ​​ 1. 基本功能 实现定时器的功能。 2. Timer 实现一个静态装入的定时器: ​​ 1) initCount 定时器的初始值,静态配置,不可动态改变。 2) ma 阅读全文
posted @ 2019-06-08 23:54 wjcdx 阅读(382) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/zCP7wPuxgQ-r94Tr6BV5iw 简单介绍Replacement的实现。 ​​ 1. 基本介绍 用于实现Cache替换相关的功能。 ​​ From: Cache Replacement Policies, Prof. Mikko H. 阅读全文
posted @ 2019-06-08 23:53 wjcdx 阅读(355) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/gbR5fuDbE_nUFVxw-p4rsA 简单介绍ReduceOthers的实现。 ​​ 1. 基本介绍 输入一组Bool元素,把其他位置元素逐个相与的结果,作为当前位置的值输出。 2. helper helper实现ReduceOthers 阅读全文
posted @ 2019-06-08 23:52 wjcdx 阅读(182) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/xyEq3DgYuf2QuNjssv8pkA 简单介绍Repeater的实现。 ​​ 1. 基本功能 A Repeater passes it's input to it's output, unless repeat is asserted. 阅读全文
posted @ 2019-06-08 23:52 wjcdx 阅读(185) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/G2vLP-ncoJzSOgxGGEJkfA 简单介绍PrefixSum的实现。 ​​ 1. 基本介绍 ​​ 把一个序列从前向后逐个执行迭代(assocOp),每针对一个元素执行一遍迭代,针对一整行执行一次迭代(layerOp)。 2. Pref 阅读全文
posted @ 2019-06-08 23:51 wjcdx 阅读(167) 评论(0) 推荐(0) 编辑