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.

hspice mosfet - how to treat the mosfet as a switch?

Status
Not open for further replies.

baltzois

Newbie level 6
Joined
Oct 22, 2009
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
belgium
Activity points
1,354
hspice mosfet

Hi,
I am using a mosfet as switch in a boost converter. So i would like to see the voltage and the current of the switch. Although the mosfet is used as a subcircuit and when i put for example
.print i(xmos)
it finds an error.
Does anybody know how to treat the mosfet as a switch and measure the current that is between the drain and the source in hspice??
Thank you,
 

hspice mosfet

Using little resistance in series with the drain and source, and measure the resistance's current.
 

hspice mosfet

you can use
.print isub(xmos.drain) to print current from a subckt port
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top