Browse Source

analog/{sine,square,triangle}, xtradev/core, drop .h files

pre-master-46
rlar 12 years ago
parent
commit
91449d438c
  1. 10
      src/xspice/icm/analog/sine/cfunc.mod
  2. 75
      src/xspice/icm/analog/sine/sin.h
  3. 12
      src/xspice/icm/analog/square/cfunc.mod
  4. 83
      src/xspice/icm/analog/square/square.h
  5. 10
      src/xspice/icm/analog/triangle/cfunc.mod
  6. 80
      src/xspice/icm/analog/triangle/triangle.h
  7. 7
      src/xspice/icm/xtradev/core/cfunc.mod
  8. 38
      src/xspice/icm/xtradev/core/core.h

10
src/xspice/icm/analog/sine/cfunc.mod

@ -51,13 +51,21 @@ NON-STANDARD FEATURES
/*=== INCLUDE FILES ====================*/
#include "sin.h"
#include <math.h>
#include <stdlib.h>
/*=== CONSTANTS ========================*/
#define PI 3.14159265358979323846
#define INT1 1
char *allocation_error = "\n**** Error ****\nSINE: Error allocating sine block storage \n";
char *limit_error = "\n**** Error ****\nSINE: Smoothing domain value too large \n";
char *sine_freq_clamp = "\n**** Warning ****\nSINE: Extrapolated frequency limited to 1e-16 Hz \n";
char *array_error = "\n**** Error ****\nSINE: Size of control array different than frequency array \n";
/*=== MACROS ===========================*/

75
src/xspice/icm/analog/sine/sin.h

@ -1,75 +0,0 @@
/*.......1.........2.........3.........4.........5.........6.........7.........8
================================================================================
FILE sine/sin.h
Copyright 1991
Georgia Tech Research Corporation, Atlanta, Ga. 30332
All Rights Reserved
PROJECT A-8503-405
AUTHORS
20 Mar 1991 Harry Li
MODIFICATIONS
2 Oct 1991 Jeffrey P. Murray
SUMMARY
This file contains additional header information for the
sine code model.
INTERFACES
FILE ROUTINE CALLED
N/A N/A
REFERENCED FILES
NONE
NON-STANDARD FEATURES
NONE
===============================================================================*/
/*=== INCLUDE FILES ====================*/
/*=== CONSTANTS ========================*/
#define PI 3.141592654;
#define INT1 1
char *allocation_error = "\n**** Error ****\nSINE: Error allocating sine block storage \n";
char *limit_error = "\n**** Error ****\nSINE: Smoothing domain value too large \n";
char *sine_freq_clamp = "\n**** Warning ****\nSINE: Extrapolated frequency limited to 1e-16 Hz \n";
char *array_error = "\n**** Error ****\nSINE: Size of control array different than frequency array \n";
/*=== MACROS ===========================*/
/*=== LOCAL VARIABLES & TYPEDEFS =======*/
/*=== FUNCTION PROTOTYPE DEFINITIONS ===*/

12
src/xspice/icm/analog/square/cfunc.mod

@ -52,11 +52,21 @@ NON-STANDARD FEATURES
/*=== INCLUDE FILES ====================*/
#include <stdlib.h>
#include "square.h"
/*=== CONSTANTS ========================*/
char *square_allocation_error = "\n**** Error ****\nSQUARE: Error allocating square block storage \n";
char *square_limit_error = "\n**** Error ****\nSQUARE: Smoothing domain value too large \n";
char *square_freq_clamp = "\n**** WARNING ****\nSQUARE: Frequency extrapolation limited to 1e-16 \n";
char *square_array_error = "\n**** Error ****\nSQUARE: Size of control array different than frequency array \n";
#define INT1 1
#define T1 2
#define T2 3
#define T3 4
#define T4 5
/*=== MACROS ===========================*/

83
src/xspice/icm/analog/square/square.h

@ -1,83 +0,0 @@
/*.......1.........2.........3.........4.........5.........6.........7.........8
================================================================================
FILE square/square.h
Copyright 1991
Georgia Tech Research Corporation, Atlanta, Ga. 30332
All Rights Reserved
PROJECT A-8503-405
AUTHORS
12 Apr 1991 Harry Li
MODIFICATIONS
2 Oct 1991 Jeffrey P. Murray
SUMMARY
This file contains additional header information for the
square (controlled squarewave oscillator) code model.
INTERFACES
FILE ROUTINE CALLED
N/A N/A
REFERENCED FILES
NONE
NON-STANDARD FEATURES
NONE
===============================================================================*/
/*=== INCLUDE FILES ====================*/
/*=== CONSTANTS ========================*/
char *square_allocation_error = "\n**** Error ****\nSQUARE: Error allocating square block storage \n";
char *square_limit_error = "\n**** Error ****\nSQUARE: Smoothing domain value too large \n";
char *square_freq_clamp = "\n**** WARNING ****\nSQUARE: Frequency extrapolation limited to 1e-16 \n";
char *square_array_error = "\n**** Error ****\nSQUARE: Size of control array different than frequency array \n";
#define INT1 1
#define T1 2
#define T2 3
#define T3 4
#define T4 5
/*=== MACROS ===========================*/
/*=== LOCAL VARIABLES & TYPEDEFS =======*/
/*=== FUNCTION PROTOTYPE DEFINITIONS ===*/

10
src/xspice/icm/analog/triangle/cfunc.mod

@ -53,11 +53,19 @@ NON-STANDARD FEATURES
/*=== INCLUDE FILES ====================*/
#include <stdlib.h>
#include "triangle.h"
/*=== CONSTANTS ========================*/
char *triangle_allocation_error = "\n**** Error ****\nTRIANGLE: Error allocating triangle block storage \n";
char *triangle_freq_clamp = "\n**** Warning ****\nTRIANGLE: Extrapolated Minimum Frequency Set to 1e-16 Hz \n";
char *triangle_array_error = "\n**** Error ****\nTRIANGLE: Size of control array different than frequency array \n";
#define INT1 1
#define T1 2
#define T2 3
#define T3 4
/*=== MACROS ===========================*/

80
src/xspice/icm/analog/triangle/triangle.h

@ -1,80 +0,0 @@
/*.......1.........2.........3.........4.........5.........6.........7.........8
================================================================================
FILE triangle/triangle.h
Copyright 1991
Georgia Tech Research Corporation, Atlanta, Ga. 30332
All Rights Reserved
PROJECT A-8503-405
AUTHORS
12 Apr 1991 Harry Li
MODIFICATIONS
2 Oct 1991 Jeffrey P. Murray
SUMMARY
This file contains additional header information for the
triangle (controlled trianglewave oscillator) code model.
INTERFACES
FILE ROUTINE CALLED
N/A N/A
REFERENCED FILES
NONE
NON-STANDARD FEATURES
NONE
===============================================================================*/
/*=== INCLUDE FILES ====================*/
/*=== CONSTANTS ========================*/
char *triangle_allocation_error = "\n**** Error ****\nTRIANGLE: Error allocating triangle block storage \n";
char *triangle_freq_clamp = "\n**** Warning ****\nTRIANGLE: Extrapolated Minimum Frequency Set to 1e-16 Hz \n";
char *triangle_array_error = "\n**** Error ****\nTRIANGLE: Size of control array different than frequency array \n";
#define INT1 1
#define T1 2
#define T2 3
#define T3 4
/*=== MACROS ===========================*/
/*=== LOCAL VARIABLES & TYPEDEFS =======*/
/*=== FUNCTION PROTOTYPE DEFINITIONS ===*/

7
src/xspice/icm/xtradev/core/cfunc.mod

@ -50,11 +50,16 @@ NON-STANDARD FEATURES
/*=== INCLUDE FILES ====================*/
#include <stdlib.h>
#include "core.h"
/*=== CONSTANTS ========================*/
#define HYST 1
#define X_RISING TRUE
#define X_FALLING FALSE
#define PWL 1
#define HYSTERESIS 2
/*=== MACROS ===========================*/

38
src/xspice/icm/xtradev/core/core.h

@ -1,38 +0,0 @@
/******************************************************/
/****** Structures, etc. for core model. ******/
/****** 10/24/91 JPM ******/
/******************************************************/
/***** Value Definitions ******************************************/
#define HYST 1
#define X_RISING TRUE
#define X_FALLING FALSE
#define PWL 1
#define HYSTERESIS 2
/***** Define Error Messages **************************************/
/***** Structure Definitions *************************************/
/***** Function Definitions ***************************************/
Loading…
Cancel
Save