I an facing prob with `include "constants.vams" `include "d

A

Arun kumar

Guest
Hello Friends,
Can any one knw meaning of `include "constants.vams"
`include "disciplines.vams"



I m facing prob with running following .....can any one help

// VCDL Delay element
`include "constants.vams"
`include "disciplines.vams"

module vcdl ( VC, CK_IN, CK_OUT );
input VC, CK_IN; output CK_OUT;
electrical VC, CK_IN, CK_OUT;
parameter real Fref=200M from (0:inf);
parameter real Vlo=0, Vhi=1.8;
parameter real tt=50p from (0:inf);
parameter real ttol=1f from (0:(1/Fref));
parameter integer seed0=-500;
parameter real Da1=1.29e+7, Db1=-10.08,
Dc1=828.5, Dd1=-1.065;
parameter real Ja1=6.753e+10, Jb1=-17.18,
Jc1=2194, Jd1=-2.164;
real Delay,jitter, dTp, dT, vout;
integer seed;

analog begin
@(initial_step) begin
seed=seed0;
end
@(cross(V(CK_IN)-0.9,+1,ttol))begin
jitter = ( (Ja1*exp(Jb1*V(VC)))
+(Jc1*exp(Jd1*V(VC))) )*1f;
Delay = ( (Da1*exp(Db1*V(VC)))
+(Dc1*exp(Dd1*V(VC))) )*1p;
dT=jitter*$rdist_normal(seed,0,1);
dTp=dT+Delay-tt/2;
vout=Vhi;
end
@(cross(V(CK_IN)-0.9,-1,ttol))begin
jitter = ( (Ja1*exp(Jb1*V(VC)))
+(Jc1*exp(Jd1*V(VC))) )*1f;
Delay = ( (Da1*exp(Db1*V(VC)))
+(Dc1*exp(Dd1*V(VC))) )*1p;
dT=jitter*$rdist_normal(seed,0,1);
dTp=dT+Delay-tt/2;
vout=Vlo;
end
V(CK_OUT)<+ transition(vout,dTp,tt);
end
endmodule`include "constants.vams"
 
On Wednesday, January 29, 2014 5:03:11 AM UTC-5, Arun kumar wrote:
Hello Friends,

Can any one knw meaning of `include "constants.vams"

`include "disciplines.vams"







I m facing prob with running following .....can any one help



// VCDL Delay element

`include "constants.vams"

`include "disciplines.vams"



module vcdl ( VC, CK_IN, CK_OUT );

input VC, CK_IN; output CK_OUT;

electrical VC, CK_IN, CK_OUT;

parameter real Fref=200M from (0:inf);

parameter real Vlo=0, Vhi=1.8;

parameter real tt=50p from (0:inf);

parameter real ttol=1f from (0:(1/Fref));

parameter integer seed0=-500;

parameter real Da1=1.29e+7, Db1=-10.08,

Dc1=828.5, Dd1=-1.065;

parameter real Ja1=6.753e+10, Jb1=-17.18,

Jc1=2194, Jd1=-2.164;

real Delay,jitter, dTp, dT, vout;

integer seed;



analog begin

@(initial_step) begin

seed=seed0;

end

@(cross(V(CK_IN)-0.9,+1,ttol))begin

jitter = ( (Ja1*exp(Jb1*V(VC)))

+(Jc1*exp(Jd1*V(VC))) )*1f;

Delay = ( (Da1*exp(Db1*V(VC)))

+(Dc1*exp(Dd1*V(VC))) )*1p;

dT=jitter*$rdist_normal(seed,0,1);

dTp=dT+Delay-tt/2;

vout=Vhi;

end

@(cross(V(CK_IN)-0.9,-1,ttol))begin

jitter = ( (Ja1*exp(Jb1*V(VC)))

+(Jc1*exp(Jd1*V(VC))) )*1f;

Delay = ( (Da1*exp(Db1*V(VC)))

+(Dc1*exp(Dd1*V(VC))) )*1p;

dT=jitter*$rdist_normal(seed,0,1);

dTp=dT+Delay-tt/2;

vout=Vlo;

end

V(CK_OUT)<+ transition(vout,dTp,tt);

end

endmodule`include "constants.vams"

Hello, these files are for the built-in Verilog AMS definitions for natures, disciplines, and constants. They exist in the MMSIM hierarchy in tools/spectre/etc/ahdl/. They would not be the source of the issue with the model.
 

Welcome to EDABoard.com

Sponsor

Back
Top