bsource, fmod and $time compatibility problem?

  • Thread starter petrubac@googlemail.com
  • Start date
P

petrubac@googlemail.com

Guest
I'm trying to combine fmod with $time in a bsource statement, in this
simple way:

Vsource (Vout 0) bsource v=fmod($time, 2n)

What I'm getting from spectre is:

Error found by spectre during circuit read-in.
Operator 'unknown' is not supported for bsource
(File:Jitter_sim.scs, Instance:Vsource)

Am I doing anything wrong? If I use another function e.g. max or min
(instead of fmod) everything works fine.

Thanks in advance for any answer.
 
Hi,

What version of Spectre are you using ? The following is working fine
in 602ISR and 611

Vsource (Vout 0) bsource v=fmod($time, 2n)
tr1 tran stop=10n

Regards,
John

petrubac@googlemail.com wrote:
I'm trying to combine fmod with $time in a bsource statement, in this
simple way:

Vsource (Vout 0) bsource v=fmod($time, 2n)

What I'm getting from spectre is:

Error found by spectre during circuit read-in.
Operator 'unknown' is not supported for bsource
(File:Jitter_sim.scs, Instance:Vsource)

Am I doing anything wrong? If I use another function e.g. max or min
(instead of fmod) everything works fine.

Thanks in advance for any answer.
 
Hi John,

Thanks for the answer. I'm using:
spectre (ver. 5.10.41.011006 -- 10 Jan 2006).

Regards,
Petru

On Jan 10, 8:57 pm, "John O'Donovan" <john.odono...@gmail.com> wrote:
Hi,

What version of Spectre are you using ? The following is working fine
in 602ISR and 611

Vsource (Vout 0) bsource v=fmod($time, 2n)
tr1 tran stop=10n

Regards,
John

petru...@googlemail.com wrote:
I'm trying to combine fmod with $time in a bsource statement, in this
simple way:

Vsource (Vout 0) bsource v=fmod($time, 2n)

What I'm getting from spectre is:

Error found by spectre during circuit read-in.
Operator 'unknown' is not supported for bsource
(File:Jitter_sim.scs, Instance:Vsource)

Am I doing anything wrong? If I use another function e.g. max or min
(instead of fmod) everything works fine.

Thanks in advance for any answer.
 

Welcome to EDABoard.com

Sponsor

Back
Top