Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

How to generate random signal in Hspice?

Status
Not open for further replies.

kennycs

Newbie level 2
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!
 

use prbs (Pseudo Random-Bit Generator Source)
in hspice
it can generate random codes of 1/0
see maunal hspice_sa for more details ..
 
.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

Back
Top