模16同步计数器的程序如下,试写出其Test Bench程序
1、模16同步计数器的程序如下,试写出其Test Bench程序//behavioralmodulo_16countermodulecrt_mor_16(clk,rst_n,count);inputclk,rst_n;outputcount;regcount;//definecountingsequencealways@(posedgeclkornegedgerst_n)if(rst_n)count=4’b0000;elsecount