001_rc_reduction : RC Reduction simple example
Requires: SmartSpice & Smartview
Minimum Versions: SMARTSPICE 3.16.12.R
SmartSpice RC-reduction tool:
SMARTSPICE has a built-in RLC-reduction tool that can be used on input decks that contain RLC parasitic elements.
To invoke RLC-reduction tool SMARTSPICE needs to be launched with '-rclevel <level_number>' command line option, where <level_number> is described as follows:
- rclevel=0 - RLC-reduction for subcircuits
- rclevel=1 - RLC-reduction for subcircuits with post-filtering
- rclevel=2 - RLC-reduction for subcircuits and top-level
- rclevel=3 - RLC-reduction for subcircuits and top-level with post-filtering
- rclevel=4 - RLC-reduction for expanded netlist
- rclevel=5 - RLC-reduction for expanded netlist with post-filtering
- rclevel=6 - RLC-reduction for DSPF annotated netlist
- rclevel=7 - RLC-reduction for DSPF annotated netlist with post-filtering
Example:
smartspice -b -rclevel 0 ex.in -or- smartspice -b -rclevel 2 ex.in -or- smartspice -b -rclevel 4 ex.in etc.
Details can be found in the SmartSpice User Manual 1 Chapter 15
The input deck is a SPICE file containing the test bench of SPICE statements, options, and models required to run ths simulation.
Input Files
ex.in
** rc-reduction test
.option acct=2
.subckt A 1 2
r1 1 3 999
r2 3 4 998
r3 4 2 997
.ends A
.subckt B 1 2
x1 1 3 A
r1 3 4 996
r2 3 4 995
r3 3 4 994
r4 4 2 993
.ends B
.subckt C 1 2
r11 1 3 993
r21 3 4 992
r31 4 5 991
c11 3 0 1p
c21 3 0 1p
c31 4 0 1p
c41 4 0 1p
x1 5 6 B
x2 6 7 B
r12 7 8 990
r22 8 9 989
r32 9 2 988
c12 8 10 1p
c22 10 0 1p
c32 9 11 1p
c42 11 0 1p
.ends C
V 1 0 pulse (0 5 0 0 0 5n 10n)
X1 1 2 c
X2 2 0 c
r1 2 n1 500
r2 n1 n2 250
r3 n2 0 250
#Com
.control
listing expanded
quit
.endc
#endcom
.end
Graphics

