The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Sep 2nd, 2024, 1:22pm
Pages: 1
Send Topic Print
Programming Hspice ~ (Read 5253 times)
yuyulu
New Member
*
Offline



Posts: 1

Programming Hspice ~
Sep 21st, 2011, 8:08pm
 
hello
does sb know how to implement a full adder?
i need a hspice code and circuit diagram
Smiley
Back to top
 
 
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: Programming Hspice ~
Reply #1 - Sep 22nd, 2011, 7:22am
 
hello hspice is a circuit simulator..))
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
Mohammad A Maktoomi
New Member
*
Offline



Posts: 3

Re: Programming Hspice ~
Reply #2 - Sep 22nd, 2011, 9:44am
 
Hi
Circuit diagram of CMOS full adder is available in books such as Rabaey and  Weste/Harris.Or type "CMOS full adder" in google, you will get images.
I encourage you  try writing spice code yourself. & believe me, its very easy. You can learn spice (by just giving few hours) from Rashid's book.
Back to top
 
 
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: Programming Hspice ~
Reply #3 - Sep 26th, 2011, 6:19pm
 
a transistor level simulation tool for a digital circuit function?

Well, yes it can be done, but sure you don't want a digital design tool and a functional level simulation?
Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
Mohammad A Maktoomi
New Member
*
Offline



Posts: 3

Re: Programming Hspice ~
Reply #4 - Sep 26th, 2011, 9:48pm
 
Dear Mr. loose-electron Smiley
pardon my little knowledge, but i think its not about "it can be done". after all, somebody has to design circuits at transistor level so that HDL people use them from library. Delay calculation, power dissipation, all these parameter is evaluated using lovely "SPICE". In case i sound wrong please guide me, as i am not much in HDLs(actually just started learning verilog).
Back to top
 
 
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: Programming Hspice ~
Reply #5 - Oct 1st, 2011, 2:50pm
 
Well, if you want to go that path then start by defining all the gates you need at the transistor level, and hook it all up. Set up the hirarchy at the higher levels and build from the bottom up.

As the device gets big, the simulations will get slow.

Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
Mohammad A Maktoomi
New Member
*
Offline



Posts: 3

Re: Programming Hspice ~
Reply #6 - Oct 1st, 2011, 8:15pm
 
Exactly sir. But,blocks like adders doesn't need gates to be defined in spice.one can translate the algo directly to transistor level(in CMOS). i will not be simulating a whole microprocessor using spice.Spice simulation (in digital design) is perhaps limited to library creation(digital IC design).one uses spice in designing data-path circuits, for example, as these blocks are critical in deciding the speed of system.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.