#### farid82

Joined Jan 15, 2012
8
Hi folks,

for a project I*m working I need a jittery square wave pulse to apply to input!
anyone know how to produce such a signal in cadence tool??

I'd be appreciated for any hint

regards
farid

#### PaulEE

Joined Dec 23, 2011
423
Hi folks,

for a project I*m working I need a jittery square wave pulse to apply to input!
anyone know how to produce such a signal in cadence tool??

I'd be appreciated for any hint

regards
farid
Define jittery

#### Brownout

Joined Jan 10, 2012
2,390
Which Cadence tool? What type of design entry?

#### farid82

Joined Jan 15, 2012
8
Define jittery
Dear PaulEE

By jitter I mean random variation in rising edge of the pulse, I attached a photo of signal which I need

regards
Farid

#### Attachments

• 12.4 KB Views: 27

#### farid82

Joined Jan 15, 2012
8
Which Cadence tool? What type of design entry?
Dear Brownout,
you're right maybe I was not clear enough,

at the input of my design , I just need a square wave pulse with variation in rising edge of the signal .and I don't know how to produce it

I attached a photo a signal which I need to produce.
as u can see I need a pulse which rising edge of it start earlier or later than expected ,and its random, I mean some time the rising edge is as expected ,butt some time it starts a bit earlier or later.(which is called jiiter)

regards
farid

#### Attachments

• 12.4 KB Views: 17

#### farid82

Joined Jan 15, 2012
8
Define jittery

I attached a photo a signal which I need to produce.
as u can see I need a pulse which rising edge of it start earlier or later than expected ,and its random, I mean some time the rising edge is as expected ,butt some time it starts a bit earlier or later.(which is called jiiter)

regards,
farid

#### Brownout

Joined Jan 10, 2012
2,390
Dear Brownout,
you're right maybe I was not clear enough,

at the input of my design , I just need a square wave pulse with variation in rising edge of the signal .and I don't know how to produce it

I attached a photo a signal which I need to produce.
as u can see I need a pulse which rising edge of it start earlier or later than expected ,and its random, I mean some time the rising edge is as expected ,butt some time it starts a bit earlier or later.(which is called jiiter)

regards
farid
Hi farid,

I dont' know anything about AHDL, but I've used verilog to do this before. Here is some code I copied from another discussion, to show how it was done.

// initialize
initial begin
force clk = 1'b0;
// wait for sometime...
#400;
// release forece
release clk;
end

always @()
clk <= #(period/2+$random(-jitter/2,jitter/2) ) ~clk; The important part is in the last line. A function "$random" is added to the clock half-period to achieve the jitter. You might look into the AHDL documentation and see if there is a random function. I'll just bet there is. Let me know if you have any questions about the code.

#### SgtWookie

Joined Jul 17, 2007
22,227
Use an ideal opamp or comparator.

Feed one input a sawtooth wave; one that rises to a maximum value and then suddenly drops; this will establish your base frequency.
Feed the other input a sine or triangle wave that is a different frequency from the sawtooth wave.