S
Sriram
Guest
Hi,
I am working on a design which should detect the first match of two rising edges of two asynchronous clocks of differnt frequencies.
code something like this...
fork
@posedge clkA
begin
a=$time
end
@posedge clkB
begin
b=$time
end
join
if (a=b) then some code.....
this code may work for simulation but if i want some synthesizable hardware logic
whatelse can i use. please help me out.
thanks in advance..
Sriram.
I am working on a design which should detect the first match of two rising edges of two asynchronous clocks of differnt frequencies.
code something like this...
fork
@posedge clkA
begin
a=$time
end
@posedge clkB
begin
b=$time
end
join
if (a=b) then some code.....
this code may work for simulation but if i want some synthesizable hardware logic
whatelse can i use. please help me out.
thanks in advance..
Sriram.