Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Dual Clock Synchronization Verilog code

Status
Not open for further replies.

Aravind_Selvaraj

Newbie level 4
Joined
Mar 6, 2017
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
45
Hi everyone,

I am designing an analog system which requires a Verilog code that performs the following.

Inputs : clk1 (30Mhz) , clk2 (250Khz), reset ( So , the clk1 will complete 120cycles in the time clk2 completes one cycle)

Output : delay[7:0]

Problem : The output delay[7:0] should increment only if there is a posedge in both clk1 and clk2.

Clearer words : it should have a functionality like : always @ ( posedge clk1 && posedge clk2)

All suggestions welcome. (I'm also paralelly working on it :D)
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top