Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

How to generate random signal in Hspice?

Status
Not open for further replies.

kennycs

Newbie level 2
Joined
Aug 17, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
hspice random

I want to konw how to generate random 0/1 signal in Hspice.thanks a lot!
 

ankitgarg0312

Full Member level 2
Joined
Feb 8, 2008
Messages
140
Helped
20
Reputation
40
Reaction score
7
Trophy points
1,298
Location
india
Activity points
2,109
use prbs (Pseudo Random-Bit Generator Source)
in hspice
it can generate random codes of 1/0
see maunal hspice_sa for more details ..
 

selvaraja

Full Member level 4
Joined
Jun 1, 2004
Messages
190
Helped
6
Reputation
12
Reaction score
3
Trophy points
1,298
Activity points
1,415
.param tdrate=400e6 $ Data rate in Gbps
.param trfx=200ps $ Rise/Fall time
.param vlox=-0 $ Input voltage 'low'
.param vhix=eas_vdd $ Input voltage 'high'
.param dperc='2/tdrate' $ Eye Period (2*Data width)
.param perx='1/tdrate' $ Data Width
.param tdx=100ps $ Delay of inputs


***** Input pattens *****
.param bit_num='30' $ Simulation time in term of number of data bits

vin in vss lfsr (vlox vhix tdx trfx trfx tdrate 1 [7,2] rout=10)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top