The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 20th, 2024, 5:33am
Pages: 1
Send Topic Print
increase accuracy for a sub-block in Ultrasim ? (Read 9732 times)
richard88
Community Member
***
Offline



Posts: 37

increase accuracy for a sub-block in Ultrasim ?
Sep 26th, 2006, 2:17pm
 
Hi,
 I ran a switching regulator simulation but found out one of the schmitt trigger not functioning. increasing the accuracy to from level 5 to 4 works. However the simulation time tremendous slow down. I have another similar circuit using level5 accuracy works well and pretty fast. Is there a way we can increase the accuracy in Ultrasim just for a small sub-block ?

Thanks.
Richard
Back to top
 
 
View Profile   IP Logged
byang
Community Member
***
Offline



Posts: 46

Re: increase accuracy for a sub-block in Ultrasim
Reply #1 - Sep 26th, 2006, 3:59pm
 
Hi, Richard,

As I remember, you can add instance name after speed to specify it for that sub-block. There should be explanation in the Ultrasim manual.

However, I think the slowdown may be due to the fact that the sub-block is functioning now and Ultrasim has to take smallter time step. Changing speed from 5 to 4 shouldn't cause such a big slowdown. Are you using sim_mode=ms? Have you tried other simulation mode such as amr or a? How big is the whole circuit (number of transistors)?

Baolin
Back to top
 
 
View Profile   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: increase accuracy for a sub-block in Ultrasim
Reply #2 - Sep 27th, 2006, 2:51am
 
Quote:
Is there a way we can increase the accuracy in Ultrasim just for a small sub-block ?


You can use the Hierarchy Editor (HED) with a config view to assign
'sim_mode' or 'speed' for UltraSim for every cell or instance,
no mater how small.
Just enable 'View -> Properties' in the HED,
you will get two additional columns for  'sim_mode' or 'speed' in the HED.
And 'Allow usim_opt on HED' form the 'Simulation ->
Options -> Analog' in the Analog Environment (Artist), to get the stuff netlisted.

Bernd
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
richard88
Community Member
***
Offline



Posts: 37

Re: increase accuracy for a sub-block in Ultrasim
Reply #3 - Sep 27th, 2006, 3:37am
 
Thanks,
 I checked on the simulation option "allow usim opt on schematics" and then "Q" on properties on the subblock and then "add" the speed string on the query box.
 What I found out is that it is slightly faster, not a whole lot.
 This test circuit A contains 3 blocks : bandgap and eprom and switching regulator. I have another similar test circuit B but all the 3 blocks (in ctr A) are hier. contained in a big cell. I just do a default option simulation, the sim speed is at least 4X faster (than ctr A) and the schmitt trigger in the oscillator subblock is working. I'm just puzzled by this. For ctr A, if using default sim option, the schmitt trigger would not work but it is fast.

Thanks,
Richard


bernd wrote on Sep 27th, 2006, 2:51am:
Quote:
Is there a way we can increase the accuracy in Ultrasim just for a small sub-block ?


You can use the Hierarchy Editor (HED) with a config view to assign
'sim_mode' or 'speed' for UltraSim for every cell or instance,
no mater how small.
Just enable 'View -> Properties' in the HED,
you will get two additional columns for  'sim_mode' or 'speed' in the HED.
And 'Allow usim_opt on HED' form the 'Simulation ->
Options -> Analog' in the Analog Environment (Artist), to get the stuff netlisted.

Bernd

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.