• 沒有找到結果。

else divider <= divider + 1

N/A
N/A
Protected

Academic year: 2022

Share "else divider <= divider + 1"

Copied!
1
0
0

加載中.... (立即查看全文)

全文

(1)

//除頻電路---

`timescale 1ns / 1ps

module div( clk, reset, clkm );

input clk, reset;

output clkm;

wire clkm;

reg [31:0] divider;

always@(posedge clk or negedge reset ) begin

if ( ! reset )

divider <= 32'h0000_0000 ; else

divider <= divider + 1;

end

assign clkm = divider[23]; // 40M/2^24=0.2 sec endmodule

參考文獻

相關文件

The divide-by-4/5 prescaler of the entire divider dominates the speed, and the additional divide-by-64 counter and digital control block working at low frequencies would not degrade

[r]

The simplified equivalent circuit and symbol for a current feedback amplifier (CFA) are shown in Fig.. la and b,

You should discuss the expansion in each regions of the complex plane and specify clearly the convergence region of each of your

Show that the series L anbn

(15%) Let X andY be mutually independent continuous random variables with the cumu- lative distributions Fx(x) and Fy(y), respectively.. Find the maximum likelihood

(20 points) Do you think the following second order differential equations have periodic solutions?. Prove or disprove

f\fII!I J'll't'mWWIl