Random clock simulate in cadence

hjhjh

Newbie level 4
Joined
Oct 19, 2023
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
53
Hello,
I have a problem with a pulse to fake a photon signal in cadence. And the time to on clock is random.
I had used a vpwl source to setup point for clock, but with photon signal, it is too much points for photon signal and setup the vpwl is impossible
Can you help me with my problem

Thanks for your help.
 

Probably best with a veriloga block in this case. Look for the timer and poisson distributions that can be used to toggle a state and produce that as an output voltage.
Something like:

next_time = 0.1;
@timer(next_time)
pulse_on = 1;
@timer(next_time+toff)
pulse_on = 0;
next_time = $rdist_poisson(seed,mean);
V(out) <+ transition(pulse_on);

Another simple option is to use the vpwlf instead of vpwl. You can create the pulse waveform with matlab or python. No need to enter the points manually.
 
There was another thread very similar very recently.

A question is, "Is random-appearing 'good enough'"? You should
be able to "box the outcome" by the so-sparse-you-get-bored
and the so-close-you-missed-one points. Don't need to look
at the entire floor of the "bathtub", generally. Think about what
suffices as proof and as understanding, that can be done
efficiently.
 

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…