首页 > 其他 > 详细

异步复位同步释放

时间:2016-10-07 20:37:44      阅读:266      评论:0      收藏:0      [点我收藏+]

参考

http://www.cnblogs.com/qiweiwang/archive/2010/11/25/1887888.html

http://blog.chinaaet.com/stephenkung/p/34054

异步复位同步释放代码

module rst(
input clk,
input rst_n,
output reg rst_out
);

reg rst_R;

always@(posedge clk, negedge rst_n)
begin
    if(!rst_n)
        begin
            rst_R <= 1b0;
            rst_out <= 1b0;
        end
    else
        begin
            rst_R <= 1b1;
            rst_out <= rst_r;
        end
end
endmodule

综合出的电路:

技术分享

 

异步复位同步释放

原文:http://www.cnblogs.com/yiyedada/p/5936404.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!