head	1.7;
access;
symbols;
locks; strict;
comment	@-- @;


1.7
date	99.07.28.14.55.42;	author ryu;	state Exp;
branches;
next	1.6;

1.6
date	99.01.14.10.18.22;	author ryu;	state Exp;
branches;
next	1.5;

1.5
date	99.01.13.07.25.40;	author ryu;	state Exp;
branches;
next	1.4;

1.4
date	98.09.12.19.54.34;	author ryu;	state Exp;
branches;
next	1.3;

1.3
date	98.09.08.12.28.50;	author ryu;	state Exp;
branches;
next	1.2;

1.2
date	98.09.08.07.20.18;	author ryu;	state Exp;
branches;
next	1.1;

1.1
date	98.09.03.01.24.17;	author ryu;	state Exp;
branches;
next	;


desc
@#! /usr/local/bin/perl
@


1.7
log
@checking in
@
text
@#	$Id: defaults.spec,v 1.6 1999/01/14 10:18:22 ryu Exp ryu $

#	Copyright (C) 1999 Robert K. Yu
#	email: robert@@yu.org

#	This file is part of Autochar.

#	Autochar is free software; you can redistribute it and/or modify
#	it under the terms of the GNU General Public License as published by
#	the Free Software Foundation; either version 2, or (at your option)
#	any later version.

#	Autochar is distributed in the hope that it will be useful,
#	but WITHOUT ANY WARRANTY; without even the implied warranty of
#	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#	GNU General Public License for more details.

#	You should have received a copy of the GNU General Public License
#	along with Autochar; see the file COPYING.  If not, write to the
#	Free Software Foundation, Inc., 59 Temple Place - Suite 330,
#	Boston, MA 02111-1307, USA.

# GENERAL:

# The type of spice circuit simulator.  Supported types
# are hspice and smartspice.
#$spice_type	= 'smartspice';
$spice_type	= 'hspice';

# The actual command used to run spice.  The usage *must*
# be <spice_cmd> <spice_netlist>, with the spice results 
# outputed to a file with a .out filetype.  Autochar comes
# with sample wrapper scripts 'Hspice' and 'Smartspice'.
#$spice_cmd	= 'Hspice';
$spice_cmd	= 'Smartspice';

$techpath	= '/your/path/to/tech/files';
$spice_corner	= 'ttlh.sp';

# Any spice include for customized user commands.
$spice_include	= 'none';

# parameter values, NOT nodes
$low_value	= 0;
$high_value	= 'vhigh';
$midpoint_value	= 'vhigh/2';

# nodes
$low_node	= 'gnd';
$high_node	= 'vdd';

# scaling, for reporting results
$scale_cload	= 1;
$scale_delay	= 1;

# type of timing model:
#	linear		: output delays in slope-intercept form
#	non_linear	: output delays in table format
# If slewrate is specfied, then non_linear is enforced.
$timing_model	= 'linear';


# TRANSIENTS:

# measure propagation delays from input to output
# at these specified "percentages" of final value
$input_prop_percent	= 0.50;
$output_prop_percent	= 0.50;

# measure output transitions at these two "percentages"
# values of final value
$start_trans_percent	= 0.20;
$end_trans_percent	= 0.80;

# measure input slew rates at these two "percentages"
# values of final value
$start_slew_percent	= 0.20;
$end_slew_percent	= 0.80;

# input pulse control
$trans_delay		= '1ns';
$trans_risetime		= 'trise';
$trans_falltime		= 'tfall';
$trans_period		= 'period';
$trans_pulse_width	= 'pwidth';
$trans_timestop		= '2*period';
$trans_timestep		= '5ps';

# synopsys lookup table name
$lu_table_name		= '';

$trans_options		=
'.options
+	opts
+	list
+	nopage
+	method	= gear
+	lvltim	= 2
+	relq	= 2.0e-3
+	acct	= 1
+	post	= 1';

$smartspice_options	=
'.options
+	prpts
+	rawpts
+	format';

# OPTIMIZATION:

$optim_options		=
'.options
+	optlst	= 1
+	post	= 1';



# MODULE SPECIFIC:

# Load delay
@@slewrate		= ();

# Setup/Hold
$relin			= 0.001;
$relout			= 0.001;
$criterion_percent	= 0.8;
$clock_percent		= 0.8;


1;
@


1.6
log
@Using /usr/bin/perl
@
text
@d1 1
a1 3
#! /usr/bin/perl

#	$Id: defaults.spec,v 1.5 1999/01/13 07:25:40 ryu Exp ryu $
d25 11
a35 1
$spice_cmd	= 'hspice';
d38 1
a38 1
$spice_corner	= 'hspice.ttlh';
d93 1
a93 1
'.option
d103 5
d112 1
a112 1
'.option
@


1.5
log
@GPL
@
text
@d1 1
a1 1
#! /usr/local/bin/perl
d3 1
a3 1
#	$Id$
@


1.4
log
@Simplified parameters; got rid of @@init, @@trans
@
text
@d3 1
a3 5
#	Copyright (c) 1998-2001, Robert K. Yu.  All Rights Reserved.
#
#	No part of this program may be used, reproduced, stored in a 
#	retrieval system, or transmitted in any form or by any 
#	means without the prior permission of the author.
d5 2
a6 3
#	$Id: defaults.spec,v 1.3 1998/09/08 12:28:50 ryu Exp ryu $
#	Global defaults for autochar
#	Author: Robert K. Yu
d8 16
@


1.3
log
@copyright notice
@
text
@d9 1
a9 1
#	$Id: defaults.spec,v 1.2 1998/09/08 07:20:18 ryu Exp ryu $
d16 1
a16 1
    $init{'spice_cmd'}		= 'hspice';
d18 2
a19 2
    $init{'techpath'}		= '/your/path/to/tech/files';
    $init{'corner'}		= 'hspice.ttlh';
d21 2
a22 2
    # Any spice include for customized user commands.
    $init{'include'}		= 'none';
d24 18
a41 12
    # parameter values, NOT nodes
    $init{'low'}		= 0;
    $init{'high'}		= 'vhigh';
    $init{'midpoint'}		= 'vhigh/2';

    # nodes
    $init{'low_node'}		= 'gnd';
    $init{'high_node'}		= 'vdd';

    # scaling, for reporting results
    $init{'scale_cload'}	= 1;
    $init{'scale_delay'}	= 1;
d46 23
a68 23
    # measure propagation delays from input to output
    # at these specified "percentages" of final value
    $trans{'input_prop_percent'}	= 0.50;
    $trans{'output_prop_percent'}	= 0.50;

    # measure output transitions at these two "percentages"
    # values of final value
    $trans{'start_trans_percent'}	= 0.20;
    $trans{'end_trans_percent'}		= 0.80;

    # measure input slew rates at these two "percentages"
    # values of final value
    $trans{'start_slew_percent'}	= 0.20;
    $trans{'end_slew_percent'}		= 0.80;

    # input pulse control
    $trans{'delay'}		= '1ns';
    $trans{'risetime'}		= 'trise';
    $trans{'falltime'}		= 'tfall';
    $trans{'period'}		= 'period';
    $trans{'pulse_width'}	= 'pwidth';
    $trans{'timestop'}		= '2*period';
    $trans{'timestep'}		= '5ps';
d70 4
a73 1
    $trans{'options'}		=
d87 1
a87 1
    $optim{'options'}		=
a103 5

# specify linear or non-linear timing model.
# If slewrate is specified, then model is set to
# non_linear.
$timing_model		= 'non_linear';
@


1.2
log
@Added 'timing_model' parameter.
@
text
@d3 1
a3 1
#	Copyright (c) 1998, Robert K. Yu.  All Rights Reserved.
d9 1
a9 1
#	$Id: defaults.spec,v 1.1 1998/09/03 01:24:17 ryu Exp ryu $
@


1.1
log
@entered into RCS
@
text
@d9 1
a9 1
#	$Id: defaults.pl,v 1.8 1998/08/29 17:28:16 ryu Exp ryu $
d95 5
@