Verilog 滤毛刺
时间: 2023-08-16 11:08:29 浏览: 136
在Verilog代码中,滤除毛刺的方法可以根据毛刺的宽度选择不同的实现方式。当毛刺宽度小于一个周期且为高电平时,可以采用打两拍与门的方式实现。具体代码如下:
```verilog
reg [2:0 sig_ff;
always @(posedge clk, posedge rst)
if (rst)
sig_ff <= 0;
else
sig_ff <= {sig_ff [3<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [一种毛刺滤除方法:verilog实现](https://blog.csdn.net/weixin_44793052/article/details/130487229)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item]
- *2* *3* [Verilog消除毛刺](https://blog.csdn.net/qq_40268672/article/details/126675371)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文