摘要
随机计算是一种新型计算范式, 它使用概率来编码数值. 这种表示使简单的逻辑门能够执行复杂的算术运算. 这项工作提出了一种快速一元中值滤波器设计. 提出的滤波器基于计数器生成随机数, 使用随机相关逻辑组成最基本的排序网络单元, 依据输出结果形成反馈回路, 不消耗额外硬件面积, 可动态实现提前结束运算, 减少了巨大的电路延迟. 实验结果表明, 所提出的中值滤波器设计在实际比特流长度和能量消耗上均优于现有的滤波器设计. 所提出的3×3窗口的中值滤波电路可以实现能量55.58%的减少. 利用中值滤波应用对加入椒盐噪声之后的图像进行了进一步验证, 结果表明电路具有较好的精度. 所提出的设计在16输入的排序网络应用中, 在输入范围为[0,0.5]时,电路具有更低延迟, 实际比特长度和能量可以减少50%。
Abstract
Stochastic computing (SC), an unconventional computational paradigm, employs probabilities to represent numerical values. This representation enables complex arithmetic operations to be performed using simple logic gates. This work presents a fast unary median filtering circuit design. The proposed filter utilizes counters to generate stochastic numbers (SNs) and constructs fundamental sorting network units using stochastic correlation logic. A feedback loop, formed based on the output, dynamically terminates computations early without consuming additional hardware area, significantly reducing substantial circuit latency. Experimental results demonstrate that the proposed median filter design outperforms existing implementations in both actual bitstream length and energy consumption. Specifically, the proposed 3×3 window median filter circuit achieves a 55.58% reduction in energy. Further validation using median filtering on images corrupted by salt-and-pepper noise confirms the accuracy of the proposed circuit. For a 16-input sorting network application, the proposed design exhibits lower consumption when inputs range within [0, 0.5], achieving up to a 50% reduction in actual bitstream length and energy consumption.
关键词
随机计算 /
中值滤波 /
排序网络 /
相关性 /
一元比特流
Key words
Stochastic computing /
median filter /
sorting network /
correlation /
unary bitstream
代雲琼, 吴育彰, 汪盛, 余福安, 孙汪鸿, 张永强, 王少威.
基于随机数相关性的中值滤波电路设计[J]. 集成电路与嵌入式系统. 0 https://doi.org/10.20193/j.ices2097-4191.2025.0135
王 少威.
Design of Median Filter Circuit Based on Stochastic Number Correlation[J]. Integrated Circuits and Embedded Systems. 0 https://doi.org/10.20193/j.ices2097-4191.2025.0135
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
基金
国家自然科学基金(62404067); 中央高校基本科研业务费专项资金(JZ2025HGTB0231)