NAPA Compiler V4.50
Author: Yves Leduc, yves.leduc.be@gmail.com
Loading...
Searching...
No Matches
C:/Simulate/Napados/Source/napa.h File Reference
#include <ctype.h>
#include <float.h>
#include <limits.h>
#include <math.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <stdbool.h>

Go to the source code of this file.

Data Structures

struct  ALIAS_TYPE
struct  ARRAY_TYPE
struct  CMDLINE_TYPE
struct  DEBUG_TYPE
struct  DECLARE_TYPE
struct  DECLARE_COMMON_TYPE
struct  DIRECTIVE_TYPE
struct  DUMP_TYPE
struct  EXPORT_TYPE
struct  FUNCTION_TYPE
struct  GATEWAY_TYPE
struct  GROUP_TYPE
struct  HEADER_TYPE
struct  INJECT_TYPE
struct  IO_TYPE
struct  LOAD_TYPE
struct  NODE_TYPE
struct  INTERLUDE_TYPE
struct  OPCODE_TYPE
struct  OPTION_TYPE
struct  PING_TYPE
struct  POST_TYPE
struct  RANDOMSEED_TYPE
struct  RECORD_TYPE
struct  SAMPLING_TYPE
struct  SEGMENT_TYPE
struct  STUCK_TYPE
struct  TERMINATE_TYPE
struct  UPDATE_TYPE
struct  USERTOOL_TYPE
struct  VAR_TYPE

Macros

#define NAPA_COMPILER_VERSION   "V4.50" /* See date of release in file 'main.c' */
#define IS_LINUX   1
#define IS_UNIX   2
#define IS_WIN64   4
#define PLATFORM   0
#define MACHINE   " ??? "
#define BIG_ENDIAN   0
#define LITTLE_ENDIAN   1
#define STDIN   stdin /* Currently not used */
#define STDOUT   stdout /* Output C file of the NAPA compiler */
#define STDERR   stderr /* Error and warning messages */
#define NAPA_LOOP_OPTION   NO /* Recommended: NO */
#define NAPA_DIGITAL_TYPE   long long /* DIGITAL node or variable */
#define NAPA_ANALOG_TYPE   double /* ANALOG node or variable */
#define NAPA_ITERATOR_TYPE   long /* iterator */
#define _PI_   3.14159265358979323846264338327950288L /* pi */
#define _PI2_   1.57079632679489661923132169163975144L /* pi / 2 */
#define _PI4_   0.78539816339744830961566084581987572L /* pi / 4 */
#define _PI8_   0.39269908169872415480783042290993786L /* pi / 8 */
#define _2PI_   6.28318530717958647692528676655900576L /* 2 * pi */
#define _E_   2.71828182845904523536028747135266250L /* e */
#define _D2R_   (_PI_/180.0L) /* from degree to radian */
#define _R2D_   (180.0L/_PI_) /* from radian to degree */
#define _SMALL_   (10.0*pow(10.0, - (double) DBL_DIG)) /* 'Small value', used e.g. to compare to 0.0 */
#define I_FORMAT_S   " % 6lld" /* Size corresponding to signed integer up to 16b */
#define I_FORMAT_M   " % 11lld" /* Size corresponding to signed integer up to 32b */
#define I_FORMAT_L   " % 21lld" /* Size corresponding to signed integer up to 64b */
#define I_FORMAT_V   " % 17lld" /* Export format must be coherent with S_FORMAT_V */
#define X_FORMAT_S   " %#06llX" /* Size corresponding to signed hex up to 16b */
#define X_FORMAT_M   " %#010llX" /* Size corresponding to signed hex up to 32b */
#define X_FORMAT_L   " %#018llX" /* Size corresponding to signed hex up to 64b */
#define X_FORMAT_V   " %#017llX" /* Export format must be coherent with S_FORMAT_V */
#define R_FORMAT_S   " % .9e"
#define R_FORMAT_M   " % .12e"
#define R_FORMAT_L   " % .15e"
#define R_FORMAT_V   " % .9e" /* Export format must be coherent with S_FORMAT_V */
#define S_FORMAT_S   " %6s"
#define S_FORMAT_M   " %12s"
#define S_FORMAT_L   " %24s"
#define S_FORMAT_V   "%18s"
#define DEFAULT_I_FORMAT   I_FORMAT_M /* Default of output integer format, medium size */
#define DEFAULT_X_FORMAT   X_FORMAT_L /* Default of output integer format, LARGE size */
#define DEFAULT_R_FORMAT   R_FORMAT_M /* Default of output real format, medium size */
#define DEFAULT_S_FORMAT   S_FORMAT_M /* Default of output string format, medium size */
#define MAXNODES   4095L /* max number of nodes */
#define MAXVARS   2047L /* max number of variables */
#define MAXUPDATES   2047L /* max number of updates */
#define MAXDECLARES   1023L /* max number of declarations */
#define MAXINSTANCES   511L /* max number of instantiation of cells */
#define MAXFILECELLS   511L /* max number of cell file names recorded */
#define MAXUSERTOOLS   511L /* max number of user's defined functions */
#define MAXDECLARECOMMONS   255L /* max number of common declarations */
#define MAXDIRS   255L /* max number of directives */
#define MAXFUNCTIONS   255L /* max number of functions to be recorded */
#define MAXOPTIONS   127L /* max number of options to be recorded */
#define MAXALIASES   127L /* max number of aliases */
#define MAXRECORDS   127L /* max number of array of pointers */
#define MAXOPCODES   127L /* max number of opcodes */
#define MAXPARMS   127L /* max number of cell parameters */
#define MAXSEGMENTS   127L /* max number of simulation segments */
#define MAXARRAYS   63L /* max number of arrays */
#define MAXCOMMENTS   63L /* max number of comment lines */
#define MAXFILES   63L /* max number of files open (simulation) */
#define MAXIOS   63L /* max number of IO streams */
#define MAXPOSTS   63L /* max number of post-processing functions */
#define MAXCMDLINES   63L /* max number of command line parameters */
#define MAXDEBUGS   63L /* max number of debugs */
#define MAXHEADERS   63L /* max number of different headers */
#define MAXINJECTS   63L /* max number of inject to node */
#define MAXSTUCKS   63L /* max number of nodes stuck to a value */
#define MAXDEPTH   31L /* max depth for hierarchy */
#define MAXEXPORTS   31L /* max number of exported variables */
#define MAXGROUPS   31L /* max number of post-processing groups */
#define LINLENGTH   16383L /* max length of a line */
#define STRLENGTH   2047L /* max length of a string */
#define UNKNOWN_KIND   (-1)
#define ADC_KIND   1
#define ALGEBRA_KIND   2
#define ALU_KIND   3
#define AND_KIND   4
#define AVERAGE_KIND   5
#define BSHIFT_KIND   6
#define BTOI_KIND   7
#define BUF_KIND   8
#define BWAND_KIND   9
#define BWINV_KIND   10
#define BWNAND_KIND   11
#define BWNOR_KIND   12
#define BWOR_KIND   13
#define BWXNOR_KIND   14
#define BWXOR_KIND   15
#define CELL_KIND   16
#define CHG_KIND   17
#define CLIP_KIND   18
#define CLOCK_KIND   19
#define COMP_KIND   20
#define CONST_KIND   21
#define COPY_KIND   22
#define COS_KIND   23
#define COS2_KIND   924 /* Internal use, issued during process */
#define DAC_KIND   25
#define DALGEBRA_KIND   26
#define DC_KIND   27
#define DELAY_KIND   28
#define DELAY1_KIND   929 /* Internal use, issued during process */
#define DELAY2_KIND   930 /* Internal use, issued during process */
#define DELAY3_KIND   931 /* Internal use, issued during process */
#define DIFFERENTIATOR_KIND   32
#define DIV_KIND   33
#define DTOI_KIND   34
#define DTOOL_KIND   35
#define DUSER_KIND   36
#define EQUAL_KIND   37
#define FZAND_KIND   38
#define FZBUF_KIND   39
#define FZINV_KIND   40
#define FZNAND_KIND   41
#define FZNOR_KIND   42
#define FZOR_KIND   43
#define FZXNOR_KIND   44
#define FZXOR_KIND   45
#define GAIN_KIND   46
#define GEN_KIND   47
#define HOLD_KIND   48
#define IALGEBRA_KIND   49
#define INTEGRATOR_KIND   50
#define INV_KIND   51
#define ITOB_KIND   52
#define ITOD_KIND   53
#define ITOOL_KIND   54
#define IUSER_KIND   55
#define LATCH_KIND   56
#define LSHIFT_KIND   57
#define MAX_KIND   58
#define MERGE_KIND   59
#define MIN_KIND   60
#define MOD_KIND   61
#define MULLER_KIND   63
#define MUX_KIND   64
#define NAND_KIND   65
#define NOISE_KIND   66
#define NOR_KIND   67
#define OFFSET_KIND   68
#define OR_KIND   69
#define OSC_KIND   70
#define POLY_KIND   71
#define PROD_KIND   72
#define QUANT_KIND   73
#define RAM_KIND   74
#define RAM2_KIND   75
#define RECT_KIND   76
#define RELAY_KIND   77
#define RIP_KIND   78
#define ROM_KIND   79
#define ROM2_KIND   80
#define RSHIFT_KIND   81
#define RSHIFT1_KIND   82
#define RSHIFT2_KIND   83
#define SET_KIND   984 /* Internal use, issued during process */
#define SIGN_KIND   85
#define SIN_KIND   86
#define SIN2_KIND   987 /* Internal use, issued during process */
#define SQUARE_KIND   88
#define STEP_KIND   89
#define SUB_KIND   90
#define SUM_KIND   91
#define TEST_KIND   92
#define TOGGLE_KIND   93
#define TRACK_KIND   94
#define TRIANGLE_KIND   95
#define TRIG_KIND   96
#define UADC_KIND   97
#define UDAC_KIND   98
#define WSUM_KIND   99
#define XNOR_KIND   100
#define XOR_KIND   101
#define ZERO_KIND   102
#define UNDEFINED   (-1)
#define UNKNOWN_TYPE   0
#define DIGITAL_DATA_TYPE   1 /* 2^0 */
#define ANALOG_DATA_TYPE   2 /* 2^1 */
#define STRING_DATA_TYPE   4 /* 2^2 */
#define HEX_DATA_TYPE   8 /* 2^3 */
#define BOOLEAN_DATA_TYPE   16 /* 2^4 */
#define NO_DATA_TYPE   32 /* 2^5 */
#define CONSTANT_TYPE   64 /* 2^6 */
#define MAIN_SEGMENT_TYPE   1
#define NOMINAL_SEGMENT_TYPE   2
#define DECIMATE_SEGMENT_TYPE   3
#define INTERPOLATE_SEGMENT_TYPE   4
#define DROP_SEGMENT_TYPE   5
#define INPUT_TYPE   1
#define OUTPUT_TYPE   2
#define DONTCARE   0
#define NODE   1 /* 2^0 */
#define VARIABLE   2 /* 2^1 */
#define NUMBER   4 /* 2^2 */
#define STRING   8 /* 2^3 */
#define NOSIGN   16 /* 2^4 */
#define ABS(x)
#define MIN(x, y)
#define MAX(x, y)
#define ISEQUAL(x, y)
#define ISNOTEQUAL(x, y)
#define D2I(x)
#define I2D(n)
#define ISNOTSMALL(x)
#define ISSMALL(x)
#define ISINTEGER(x)
#define ISNOTINTEGER(x)
#define _STR_(x)
#define STRINGIFY(x)
#define ISEMPTY(s)
#define ISNOTEMPTY(s)
#define LENGTH(s)
#define FALSE   0 /* boolean */
#define TRUE   1
#define MAYBE   (-1) /* 3 levels */
#define NO   0
#define YES   1
#define WARNING   1 /* Error level */
#define ERROR   2
#define NO_EXPAND   0 /* File expansion flag */
#define EXPAND   1
#define LEFT_VALUE   (-1) /* Left or right value identifier */
#define RIGHT_VALUE   1

Variables

EXTERN long Max_Depth
EXTERN long Num_Aliases
EXTERN long Num_Arrays
EXTERN long Num_Asserts
EXTERN long Num_Calls
EXTERN long Num_Cells
EXTERN long Num_Cmdlines
EXTERN long Num_Comments
EXTERN long Num_Declare_Commons
EXTERN long Num_Consts
EXTERN long Num_Creates
EXTERN long Num_Debugs
EXTERN long Num_Declares
EXTERN long Num_Delays
EXTERN long Num_Directives
EXTERN long Num_Exports
EXTERN long Num_FileCells
EXTERN long Num_Functions
EXTERN long Num_Generators
EXTERN long Num_Groups
EXTERN long Num_Headers
EXTERN long Num_Inits
EXTERN long Num_Injects
EXTERN long Num_Instances
EXTERN long Num_IOs
EXTERN long Num_Macros
EXTERN long Num_Nodes
EXTERN long Num_Nulls
EXTERN long Num_Opcodes
EXTERN long Num_Posts
EXTERN long Num_Records
EXTERN long Num_Redefs
EXTERN long Num_Restarts
EXTERN long Num_Segments
EXTERN long Num_Stucks
EXTERN long Num_Tools
EXTERN long Num_Updates
EXTERN long Num_UserTools
EXTERN long Num_Vars
EXTERN long Num_Voids
EXTERN int Antithetic_Flag
EXTERN int Array_Flag
EXTERN int Assert_Flag
EXTERN int Call_Flag
EXTERN int Cmdline_Flag
EXTERN int Comment_Flag
EXTERN int Debug_Flag
EXTERN int Delayed_Flag
EXTERN int Directive_Flag
EXTERN int Drop_Flag
EXTERN int Dump_Flag
EXTERN int Error_Flag
EXTERN int Expand_Flag
EXTERN int Export_Flag
EXTERN int Fs_Flag
EXTERN int Fs_Ext_Flag
EXTERN int Function_Flag
EXTERN int Gateway_Flag
EXTERN int Hierarchy_Flag
EXTERN int Inject_Flag
EXTERN int Input_Flag
EXTERN int Interpolate_Flag
EXTERN int List_Flag
EXTERN int Load_Flag
EXTERN int Loop_Flag
EXTERN int Multdelay_Flag
EXTERN int Interlude_Flag1
EXTERN int Interlude_Flag2
EXTERN int Interlude_Flag3
EXTERN int Option_Flag
EXTERN int Output_Flag
EXTERN int Periodic_Flag
EXTERN int Ping_Flag
EXTERN int Pointer_Flag
EXTERN int Post_Flag
EXTERN int Seed_Flag
EXTERN int Stuck_Flag
EXTERN int Synchro_Flag
EXTERN int Terminate_Flag
EXTERN int Title_Flag
EXTERN int Tool_Index_Flag
EXTERN int Tool_Flag
EXTERN int Ts_Flag
EXTERN int Ts_Ext_Flag
EXTERN int Update_Flag
EXTERN int User_Flag
EXTERN int UserTool_Flag
EXTERN int Verbose_Flag
EXTERN int Warning_Flag
EXTERN char Last_Instruction [2047L]
EXTERN char Last_Postprocess [2047L]
EXTERN char E_Format [2047L]
EXTERN char I_Format [2047L]
EXTERN char R_Format [2047L]
EXTERN char S_Format [2047L]
EXTERN char V_Format [2047L]
EXTERN char X_Format [2047L]
EXTERN char I_String_Format [2047L]
EXTERN char R_String_Format [2047L]
EXTERN char S_String_Format [2047L]
EXTERN char X_String_Format [2047L]
EXTERN char NAPA_Command_Line [2047L]
EXTERN char * User_Name
EXTERN char * Main_File_Name
EXTERN char * Generator_Lib_Name
EXTERN char * Header_Lib_Name
EXTERN char * Net_Lib_Name
EXTERN char Void_List_Name [2047L]
EXTERN char Export0_Head_String [16383L]
EXTERN char Export1_Head_String [16383L]
EXTERN char Export0_List_String [16383L]
EXTERN char Export1_List_String [16383L]
EXTERN char Cmdline_String [2047L]
EXTERN char Comment_String [63L][16383L]
EXTERN char Short_Title_String [2 *2047L]
EXTERN char Title_String [2 *2047L]
EXTERN char Root_String [2047L]
EXTERN char Cur_Fil_Name [31L][2047L]
EXTERN char Cur_Lib_Name [31L][2047L]
EXTERN long Cell_Num_Parms [31L]
EXTERN char Cell_Plist [31L][127L][16383L]
EXTERN char Inst_Plist [31L][127L][16383L]
EXTERN char * Record_Instantiation_Name [511L]
EXTERN char * Record_Cell_File_Table [511L]
EXTERN long Record_Cell_File_Usage [511L]
EXTERN char Segment_Condition [127L][2047L]
EXTERN char Cell_Name_Prefix [31L][2047L]
EXTERN char Condition_Assign [16383L]
EXTERN ALIAS_TYPE Alias_List [127L]
EXTERN ARRAY_TYPE Array_List [63L]
EXTERN CMDLINE_TYPE Cmdline_List [63L]
EXTERN DEBUG_TYPE Debug_List [63L]
EXTERN DECLARE_TYPE Declare_List [1023L]
EXTERN DECLARE_COMMON_TYPE Declare_Common_List [255L]
EXTERN DIRECTIVE_TYPE Directive_List [255L]
EXTERN EXPORT_TYPE Export_List [31L]
EXTERN FUNCTION_TYPE Function_List [255L]
EXTERN GROUP_TYPE Group_List [31L]
EXTERN HEADER_TYPE Header_List [63L]
EXTERN INJECT_TYPE Inject_List [63L]
EXTERN IO_TYPE IO_List [63L]
EXTERN NODE_TYPE Node_List [4095L]
EXTERN OPCODE_TYPE Opcode_List [127L]
EXTERN POST_TYPE Post_List [63L]
EXTERN RECORD_TYPE Record_List [127L]
EXTERN SEGMENT_TYPE Segment_List [127L]
EXTERN STUCK_TYPE Stuck_List [63L]
EXTERN UPDATE_TYPE Update_List [2047L]
EXTERN USERTOOL_TYPE UserTool_List [511L]
EXTERN VAR_TYPE Var_List [2047L]
EXTERN DUMP_TYPE Dump_List
EXTERN GATEWAY_TYPE Gateway_List
EXTERN INTERLUDE_TYPE Interlude_List
EXTERN LOAD_TYPE Load_List
EXTERN OPTION_TYPE Option_List
EXTERN PING_TYPE Ping_List
EXTERN SAMPLING_TYPE Sampling_List
EXTERN RANDOMSEED_TYPE Seed_List
EXTERN TERMINATE_TYPE Terminate_List
EXTERN double Simulation_Rate
EXTERN long Delay_Input [4095L]
EXTERN time_t NAPA_Time
EXTERN double NAPA_Compile_Start
EXTERN double NAPA_Compile_Stop
EXTERN char NAPA_Compile_Time [33]
EXTERN char NAPA_Identification_String [35]
EXTERN char NAPA_Job_ID [19]

Macro Definition Documentation

◆ _2PI_

#define _2PI_   6.28318530717958647692528676655900576L /* 2 * pi */

Definition at line 140 of file napa.h.

Referenced by print_sincos().

◆ _D2R_

#define _D2R_   (_PI_/180.0L) /* from degree to radian */

Definition at line 143 of file napa.h.

Referenced by define_macros().

◆ _E_

#define _E_   2.71828182845904523536028747135266250L /* e */

Definition at line 141 of file napa.h.

◆ _PI2_

#define _PI2_   1.57079632679489661923132169163975144L /* pi / 2 */

Definition at line 137 of file napa.h.

◆ _PI4_

#define _PI4_   0.78539816339744830961566084581987572L /* pi / 4 */

Definition at line 138 of file napa.h.

◆ _PI8_

#define _PI8_   0.39269908169872415480783042290993786L /* pi / 8 */

Definition at line 139 of file napa.h.

◆ _PI_

#define _PI_   3.14159265358979323846264338327950288L /* pi */

Definition at line 136 of file napa.h.

◆ _R2D_

#define _R2D_   (180.0L/_PI_) /* from radian to degree */

Definition at line 144 of file napa.h.

Referenced by define_macros().

◆ _SMALL_

#define _SMALL_   (10.0*pow(10.0, - (double) DBL_DIG)) /* 'Small value', used e.g. to compare to 0.0 */

Definition at line 146 of file napa.h.

Referenced by format_suffixed_number(), and GCD().

◆ _STR_

#define _STR_ ( x)
Value:
#x

Definition at line 391 of file napa.h.

◆ ABS

#define ABS ( x)
Value:
((0.0<(x))?(x):-(x))

Definition at line 374 of file napa.h.

Referenced by sanity_check().

◆ ADC_KIND

#define ADC_KIND   1

◆ ALGEBRA_KIND

◆ ALU_KIND

#define ALU_KIND   3

Definition at line 228 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ ANALOG_DATA_TYPE

◆ AND_KIND

#define AND_KIND   4

◆ AVERAGE_KIND

#define AVERAGE_KIND   5

◆ BIG_ENDIAN

#define BIG_ENDIAN   0

Definition at line 97 of file napa.h.

Referenced by test_endianness().

◆ BOOLEAN_DATA_TYPE

#define BOOLEAN_DATA_TYPE   16 /* 2^4 */

Definition at line 341 of file napa.h.

Referenced by get_declare().

◆ BSHIFT_KIND

#define BSHIFT_KIND   6

◆ BTOI_KIND

#define BTOI_KIND   7

Definition at line 232 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ BUF_KIND

#define BUF_KIND   8

◆ BWAND_KIND

#define BWAND_KIND   9

◆ BWINV_KIND

#define BWINV_KIND   10

◆ BWNAND_KIND

#define BWNAND_KIND   11

◆ BWNOR_KIND

#define BWNOR_KIND   12

◆ BWOR_KIND

#define BWOR_KIND   13

◆ BWXNOR_KIND

#define BWXNOR_KIND   14

◆ BWXOR_KIND

#define BWXOR_KIND   15

◆ CELL_KIND

#define CELL_KIND   16

Definition at line 241 of file napa.h.

Referenced by get_node(), line_parsing(), and node_kind().

◆ CHG_KIND

◆ CLIP_KIND

#define CLIP_KIND   18

Definition at line 243 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ CLOCK_KIND

◆ COMP_KIND

#define COMP_KIND   20

◆ CONST_KIND

◆ CONSTANT_TYPE

#define CONSTANT_TYPE   64 /* 2^6 */

Definition at line 344 of file napa.h.

Referenced by declaration_type_A(), and get_declare().

◆ COPY_KIND

#define COPY_KIND   22

◆ COS2_KIND

#define COS2_KIND   924 /* Internal use, issued during process */

◆ COS_KIND

#define COS_KIND   23

◆ D2I

#define D2I ( x)
Value:
((0.0<(x))?(long)((x)+0.5):(long)((x)-0.5))

Definition at line 382 of file napa.h.

Referenced by print_C_code_banner_b().

◆ DAC_KIND

#define DAC_KIND   25

Definition at line 250 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ DALGEBRA_KIND

◆ DC_KIND

◆ DECIMATE_SEGMENT_TYPE

#define DECIMATE_SEGMENT_TYPE   3

◆ DEFAULT_I_FORMAT

#define DEFAULT_I_FORMAT   I_FORMAT_M /* Default of output integer format, medium size */

Definition at line 173 of file napa.h.

Referenced by default_control_variables(), define_macros(), and read_int_format().

◆ DEFAULT_R_FORMAT

#define DEFAULT_R_FORMAT   R_FORMAT_M /* Default of output real format, medium size */

Definition at line 175 of file napa.h.

Referenced by default_control_variables(), define_macros(), and read_doub_format().

◆ DEFAULT_S_FORMAT

#define DEFAULT_S_FORMAT   S_FORMAT_M /* Default of output string format, medium size */

Definition at line 176 of file napa.h.

Referenced by default_control_variables(), define_macros(), and read_str_format().

◆ DEFAULT_X_FORMAT

#define DEFAULT_X_FORMAT   X_FORMAT_L /* Default of output integer format, LARGE size */

Definition at line 174 of file napa.h.

Referenced by default_control_variables(), define_macros(), and read_hex_format().

◆ DELAY1_KIND

#define DELAY1_KIND   929 /* Internal use, issued during process */

◆ DELAY2_KIND

◆ DELAY3_KIND

◆ DELAY_KIND

◆ DIFFERENTIATOR_KIND

◆ DIGITAL_DATA_TYPE

◆ DIV_KIND

#define DIV_KIND   33

◆ DONTCARE

#define DONTCARE   0

Definition at line 364 of file napa.h.

Referenced by check_syntax(), and syntax_nodes().

◆ DROP_SEGMENT_TYPE

◆ DTOI_KIND

#define DTOI_KIND   34

Definition at line 259 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ DTOOL_KIND

◆ DUSER_KIND

◆ EQUAL_KIND

#define EQUAL_KIND   37

◆ ERROR

#define ERROR   2

Definition at line 410 of file napa.h.

Referenced by get_alias(), get_node(), get_var(), and is_a_keyword().

◆ EXPAND

#define EXPAND   1

Definition at line 413 of file napa.h.

Referenced by cat_file(), include_napa_header_files(), and load_function().

◆ FALSE

#define FALSE   0 /* boolean */

Definition at line 402 of file napa.h.

◆ FZAND_KIND

#define FZAND_KIND   38

◆ FZBUF_KIND

#define FZBUF_KIND   39

◆ FZINV_KIND

#define FZINV_KIND   40

◆ FZNAND_KIND

#define FZNAND_KIND   41

◆ FZNOR_KIND

#define FZNOR_KIND   42

◆ FZOR_KIND

#define FZOR_KIND   43

◆ FZXNOR_KIND

#define FZXNOR_KIND   44

◆ FZXOR_KIND

#define FZXOR_KIND   45

◆ GAIN_KIND

#define GAIN_KIND   46

◆ GEN_KIND

#define GEN_KIND   47

Definition at line 272 of file napa.h.

Referenced by get_node(), line_parsing(), and node_kind().

◆ HEX_DATA_TYPE

◆ HOLD_KIND

#define HOLD_KIND   48

◆ I2D

#define I2D ( n)
Value:
((double)(n))

Definition at line 383 of file napa.h.

◆ I_FORMAT_L

#define I_FORMAT_L   " % 21lld" /* Size corresponding to signed integer up to 64b */

Definition at line 154 of file napa.h.

Referenced by read_int_format().

◆ I_FORMAT_M

#define I_FORMAT_M   " % 11lld" /* Size corresponding to signed integer up to 32b */

Definition at line 153 of file napa.h.

Referenced by read_int_format().

◆ I_FORMAT_S

#define I_FORMAT_S   " % 6lld" /* Size corresponding to signed integer up to 16b */

Definition at line 152 of file napa.h.

Referenced by read_int_format().

◆ I_FORMAT_V

#define I_FORMAT_V   " % 17lld" /* Export format must be coherent with S_FORMAT_V */

Definition at line 155 of file napa.h.

Referenced by collect_export_definitions(), and declare_global_values().

◆ IALGEBRA_KIND

◆ INPUT_TYPE

#define INPUT_TYPE   1

◆ INTEGRATOR_KIND

#define INTEGRATOR_KIND   50

Definition at line 275 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ INTERPOLATE_SEGMENT_TYPE

#define INTERPOLATE_SEGMENT_TYPE   4

◆ INV_KIND

#define INV_KIND   51

◆ IS_LINUX

#define IS_LINUX   1

Definition at line 70 of file napa.h.

◆ IS_UNIX

#define IS_UNIX   2

Definition at line 71 of file napa.h.

◆ IS_WIN64

#define IS_WIN64   4

Definition at line 72 of file napa.h.

◆ ISEMPTY

#define ISEMPTY ( s)
Value:
(0==strlen(s)) /* test on string */

Definition at line 394 of file napa.h.

Referenced by authorize_option(), build_condition(), build_cross_reference(), build_main_loop_block1(), build_main_loop_conditions(), build_main_loop_inject(), build_main_loop_time(), build_node_dependencies(), build_record_dependencies(), build_update(), build_update_dependencies(), build_usage_comment(), build_var_dependencies(), call_postprocess_functions(), call_user_functions(), check_array_usage(), check_record_usage(), check_syntax(), check_types(), collect_export_definitions(), collect_functions(), collect_string_of_functions(), collect_string_of_options(), create_nodes(), declaration_type_B(), define_directives(), define_macros(), determine_output_segment_rate(), dump_function(), expand_dump_definitions(), expand_iterative_identifiers(), expand_nodeset(), expand_records(), expand_update_definitions(), get_alias(), get_array(), get_assert(), get_call(), get_command_line(), get_data(), get_debug(), get_decimate(), get_declare(), get_directive(), get_drop(), get_dump(), get_export(), get_format(), get_fs_ts(), get_header(), get_init(), get_inject(), get_input(), get_interlude(), get_interpolate(), get_load(), get_node(), get_output(), get_ping(), get_post(), get_random_seed(), get_sampling(), get_stuck(), get_synchronize(), get_terminate(), get_update(), get_var(), get_void(), include_napa_header_files(), line_parsing(), mark_directives(), mark_updates_if_constant(), name_mangling(), node_determination(), print_algebra(), print_alu(), print_average(), print_btoi(), print_C_code_banner_b(), print_copy(), print_dyadic0(), print_dyadic1(), print_dyadic2(), print_dyadic3(), print_dyadic4(), print_dyadic5(), print_merge(), print_minmax(), print_muller(), print_mux(), print_output_banner_2(), print_output_banner_function(), print_poly(), print_square(), print_step(), print_terminate_condition(), print_test(), print_toggle(), print_triangle(), print_usertool(), print_wsum(), process_cell(), process_cell_line(), process_condition(), process_gen(), purge_constants_in_ganging(), read_doub_format(), read_hex_format(), read_int_format(), read_str_format(), rearrange_data_interfaces(), redefine_nodes(), reset_a_dc_node(), reset_arrays_function(), reset_records_function(), reset_user_variables(), resolve_pathnames(), separe_qualifiers(), syntax_directives(), syntax_nodes(), syntax_records(), syntax_segment_value(), syntax_terminate(), syntax_updates(), and syntax_variables().

◆ ISEQUAL

◆ ISINTEGER

#define ISINTEGER ( x)
Value:
ISEQUAL(I2D(D2I(x)),(x)) /* check the value, regardless of the type */
#define I2D(n)
Definition napa.h:383
#define D2I(x)
Definition napa.h:382
#define ISEQUAL(x, y)
Definition napa.h:379

Definition at line 388 of file napa.h.

◆ ISNOTEMPTY

◆ ISNOTEQUAL

◆ ISNOTINTEGER

#define ISNOTINTEGER ( x)
Value:
ISNOTEQUAL(I2D(D2I(x)),(x)) /* check the value, regardless of the type */
#define ISNOTEQUAL(x, y)
Definition napa.h:380

Definition at line 389 of file napa.h.

Referenced by print_C_code_banner_b().

◆ ISNOTSMALL

#define ISNOTSMALL ( x)
Value:
(fabs(x)> _SMALL_)

Definition at line 385 of file napa.h.

Referenced by format_suffixed_number(), print_noise(), print_osc(), print_poly(), print_sincos(), and print_triangle().

◆ ISSMALL

#define ISSMALL ( x)

◆ ITOB_KIND

#define ITOB_KIND   52

◆ ITOD_KIND

#define ITOD_KIND   53

Definition at line 278 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ ITOOL_KIND

◆ IUSER_KIND

◆ LATCH_KIND

◆ LEFT_VALUE

#define LEFT_VALUE   (-1) /* Left or right value identifier */

Definition at line 415 of file napa.h.

Referenced by build_update(), declare_a_digital_node(), declare_an_analog_node(), declare_arrays(), declare_records(), declare_vars(), dump_function(), prepare_tool_synchronization(), print_adc(), print_algebra(), print_alu(), print_average(), print_bshift(), print_btoi(), print_buf(), print_bwinv(), print_change(), print_check_arrays(), print_clip(), print_clock(), print_comp(), print_copy(), print_dac(), print_dc(), print_delay(), print_delay1(), print_delay2(), print_delay3(), print_differentiator(), print_dtoi(), print_dyadic0(), print_dyadic1(), print_dyadic2(), print_dyadic3(), print_dyadic4(), print_dyadic5(), print_dyadic6(), print_dyadic7(), print_equal(), print_fzbuf(), print_fzinv(), print_gain(), print_holdtrack(), print_integrator(), print_inv(), print_itob(), print_itod(), print_latch(), print_merge(), print_minmax(), print_muller(), print_mux(), print_node_width_postprocessing(), print_noise(), print_offset(), print_osc(), print_poly(), print_quant(), print_ram(), print_rect(), print_relay(), print_rip(), print_rlshift(), print_rom(), print_rshift1(), print_rshift2(), print_sign(), print_sincos(), print_square(), print_step(), print_test(), print_toggle(), print_triangle(), print_trig(), print_uadc(), print_udac(), print_usertool(), print_var_width_postprocessing(), print_wsum(), print_zero(), reset_a_command_line_parameter(), reset_a_dc_node(), reset_a_digital_node(), reset_an_analog_node(), reset_arrays_function(), reset_records_function(), and reset_user_variables().

◆ LENGTH

◆ LINLENGTH

◆ LITTLE_ENDIAN

#define LITTLE_ENDIAN   1

Definition at line 98 of file napa.h.

Referenced by define_macros(), and test_endianness().

◆ LSHIFT_KIND

#define LSHIFT_KIND   57

◆ MACHINE

#define MACHINE   " ??? "

◆ MAIN_SEGMENT_TYPE

#define MAIN_SEGMENT_TYPE   1

Definition at line 349 of file napa.h.

Referenced by build_cross_reference(), and line_parsing().

◆ MAX

◆ MAX_KIND

#define MAX_KIND   58

◆ MAXALIASES

#define MAXALIASES   127L /* max number of aliases */

Definition at line 197 of file napa.h.

Referenced by increment_alias_number(), and print_limits().

◆ MAXARRAYS

#define MAXARRAYS   63L /* max number of arrays */

Definition at line 202 of file napa.h.

Referenced by increment_array_number(), and print_limits().

◆ MAXCMDLINES

#define MAXCMDLINES   63L /* max number of command line parameters */

Definition at line 207 of file napa.h.

Referenced by increment_cmdline_number(), and print_limits().

◆ MAXCOMMENTS

#define MAXCOMMENTS   63L /* max number of comment lines */

Definition at line 203 of file napa.h.

Referenced by default_control_variables(), and increment_comment_number().

◆ MAXDEBUGS

#define MAXDEBUGS   63L /* max number of debugs */

Definition at line 208 of file napa.h.

Referenced by increment_debug_number().

◆ MAXDECLARECOMMONS

#define MAXDECLARECOMMONS   255L /* max number of common declarations */

Definition at line 193 of file napa.h.

Referenced by increment_common_number(), and print_limits().

◆ MAXDECLARES

#define MAXDECLARES   1023L /* max number of declarations */

Definition at line 189 of file napa.h.

Referenced by increment_declare_number(), and print_limits().

◆ MAXDEPTH

◆ MAXDIRS

#define MAXDIRS   255L /* max number of directives */

Definition at line 194 of file napa.h.

Referenced by increment_directive_number(), and print_limits().

◆ MAXEXPORTS

#define MAXEXPORTS   31L /* max number of exported variables */

Definition at line 213 of file napa.h.

Referenced by increment_export_number(), and print_limits().

◆ MAXFILECELLS

#define MAXFILECELLS   511L /* max number of cell file names recorded */

Definition at line 191 of file napa.h.

Referenced by increment_filecell_number(), and print_limits().

◆ MAXFILES

#define MAXFILES   63L /* max number of files open (simulation) */

Definition at line 204 of file napa.h.

Referenced by declare_global_values(), napa_IO_manager_function(), and print_limits().

◆ MAXFUNCTIONS

#define MAXFUNCTIONS   255L /* max number of functions to be recorded */

Definition at line 195 of file napa.h.

Referenced by increment_function_number(), and print_limits().

◆ MAXGROUPS

#define MAXGROUPS   31L /* max number of post-processing groups */

Definition at line 214 of file napa.h.

Referenced by increment_group_number().

◆ MAXHEADERS

#define MAXHEADERS   63L /* max number of different headers */

Definition at line 209 of file napa.h.

Referenced by increment_header_number(), and print_limits().

◆ MAXINJECTS

#define MAXINJECTS   63L /* max number of inject to node */

Definition at line 210 of file napa.h.

Referenced by increment_inject_number(), and print_limits().

◆ MAXINSTANCES

#define MAXINSTANCES   511L /* max number of instantiation of cells */

Definition at line 190 of file napa.h.

Referenced by increment_generator_number(), increment_instance_number(), and print_limits().

◆ MAXIOS

#define MAXIOS   63L /* max number of IO streams */

Definition at line 205 of file napa.h.

Referenced by increment_IO_number(), and print_limits().

◆ MAXNODES

#define MAXNODES   4095L /* max number of nodes */

Definition at line 186 of file napa.h.

Referenced by increment_node_number(), and print_limits().

◆ MAXOPCODES

#define MAXOPCODES   127L /* max number of opcodes */

Definition at line 199 of file napa.h.

Referenced by increment_opcode_number(), and print_limits().

◆ MAXOPTIONS

#define MAXOPTIONS   127L /* max number of options to be recorded */

Definition at line 196 of file napa.h.

Referenced by print_limits().

◆ MAXPARMS

#define MAXPARMS   127L /* max number of cell parameters */

Definition at line 200 of file napa.h.

Referenced by build_update(), get_data(), print_limits(), process_cell(), and rearrange_data_interfaces().

◆ MAXPOSTS

#define MAXPOSTS   63L /* max number of post-processing functions */

Definition at line 206 of file napa.h.

Referenced by increment_post_number(), and print_limits().

◆ MAXRECORDS

#define MAXRECORDS   127L /* max number of array of pointers */

Definition at line 198 of file napa.h.

Referenced by increment_record_number(), and print_limits().

◆ MAXSEGMENTS

#define MAXSEGMENTS   127L /* max number of simulation segments */

◆ MAXSTUCKS

#define MAXSTUCKS   63L /* max number of nodes stuck to a value */

Definition at line 211 of file napa.h.

Referenced by increment_stuck_number(), and print_limits().

◆ MAXUPDATES

#define MAXUPDATES   2047L /* max number of updates */

◆ MAXUSERTOOLS

#define MAXUSERTOOLS   511L /* max number of user's defined functions */

Definition at line 192 of file napa.h.

Referenced by increment_tool_number(), increment_usertool_number(), and print_limits().

◆ MAXVARS

#define MAXVARS   2047L /* max number of variables */

Definition at line 187 of file napa.h.

Referenced by increment_init_number(), increment_var_number(), and print_limits().

◆ MAYBE

#define MAYBE   (-1) /* 3 levels */

Definition at line 405 of file napa.h.

Referenced by declare_vars(), get_node(), get_update(), get_var(), and mark_updates_if_constant().

◆ MERGE_KIND

#define MERGE_KIND   59

Definition at line 284 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ MIN

#define MIN ( x,
y )
Value:
(((x)<(y))?(x):(y))

Definition at line 376 of file napa.h.

Referenced by damerau_levenshtein(), multiple(), and print_ping_function().

◆ MIN_KIND

#define MIN_KIND   60

◆ MOD_KIND

#define MOD_KIND   61

◆ MULLER_KIND

#define MULLER_KIND   63

◆ MUX_KIND

#define MUX_KIND   64

Definition at line 288 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ NAND_KIND

#define NAND_KIND   65

◆ NAPA_ANALOG_TYPE

#define NAPA_ANALOG_TYPE   double /* ANALOG node or variable */

Definition at line 130 of file napa.h.

Referenced by default_control_variables().

◆ NAPA_COMPILER_VERSION

#define NAPA_COMPILER_VERSION   "V4.50" /* See date of release in file 'main.c' */

◆ NAPA_DIGITAL_TYPE

◆ NAPA_ITERATOR_TYPE

#define NAPA_ITERATOR_TYPE   long /* iterator */

Definition at line 131 of file napa.h.

◆ NAPA_LOOP_OPTION

#define NAPA_LOOP_OPTION   NO /* Recommended: NO */

Definition at line 110 of file napa.h.

◆ NO

#define NO   0

Definition at line 406 of file napa.h.

Referenced by create_automatic_node(), declare_vars(), node_determination(), and syntax_nodes().

◆ NO_DATA_TYPE

#define NO_DATA_TYPE   32 /* 2^5 */

Definition at line 342 of file napa.h.

◆ NO_EXPAND

#define NO_EXPAND   0 /* File expansion flag */

Definition at line 412 of file napa.h.

Referenced by include_napa_header_files().

◆ NODE

#define NODE   1 /* 2^0 */

Definition at line 365 of file napa.h.

Referenced by check_syntax(), and syntax_nodes().

◆ NOISE_KIND

◆ NOMINAL_SEGMENT_TYPE

#define NOMINAL_SEGMENT_TYPE   2

◆ NOR_KIND

#define NOR_KIND   67

◆ NOSIGN

#define NOSIGN   16 /* 2^4 */

Definition at line 369 of file napa.h.

Referenced by check_syntax(), and syntax_nodes().

◆ NUMBER

#define NUMBER   4 /* 2^2 */

Definition at line 367 of file napa.h.

Referenced by check_syntax(), and syntax_nodes().

◆ OFFSET_KIND

#define OFFSET_KIND   68

Definition at line 292 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ OR_KIND

#define OR_KIND   69

◆ OSC_KIND

◆ OUTPUT_TYPE

◆ PLATFORM

#define PLATFORM   0

Definition at line 90 of file napa.h.

◆ POLY_KIND

#define POLY_KIND   71

Definition at line 295 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ PROD_KIND

#define PROD_KIND   72

◆ QUANT_KIND

#define QUANT_KIND   73

Definition at line 297 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ R_FORMAT_L

#define R_FORMAT_L   " % .15e"

Definition at line 164 of file napa.h.

Referenced by read_doub_format().

◆ R_FORMAT_M

#define R_FORMAT_M   " % .12e"

Definition at line 163 of file napa.h.

Referenced by read_doub_format().

◆ R_FORMAT_S

#define R_FORMAT_S   " % .9e"

Definition at line 162 of file napa.h.

Referenced by read_doub_format().

◆ R_FORMAT_V

#define R_FORMAT_V   " % .9e" /* Export format must be coherent with S_FORMAT_V */

Definition at line 165 of file napa.h.

Referenced by collect_export_definitions(), and declare_global_values().

◆ RAM2_KIND

◆ RAM_KIND

◆ RECT_KIND

#define RECT_KIND   76

Definition at line 300 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ RELAY_KIND

#define RELAY_KIND   77

Definition at line 301 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ RIGHT_VALUE

#define RIGHT_VALUE   1

Definition at line 416 of file napa.h.

Referenced by build_condition(), build_input(), build_main_loop_conditions(), build_main_loop_inject(), build_main_loop_time(), build_name(), build_output(), build_update(), call_postprocess_functions(), call_user_functions(), close_IO_files(), collect_export_definitions(), collect_string_of_options(), define_directives(), dump_function(), open_IO_files(), open_ping_file(), print_adc(), print_algebra(), print_alu(), print_average(), print_bshift(), print_btoi(), print_buf(), print_bwinv(), print_change(), print_clip(), print_comp(), print_copy(), print_dac(), print_delay(), print_delay1(), print_delay2(), print_delay3(), print_differentiator(), print_dtoi(), print_dyadic0(), print_dyadic1(), print_dyadic2(), print_dyadic3(), print_dyadic4(), print_dyadic5(), print_dyadic6(), print_dyadic7(), print_equal(), print_fzbuf(), print_fzinv(), print_gain(), print_holdtrack(), print_integrator(), print_inv(), print_itob(), print_itod(), print_latch(), print_merge(), print_minmax(), print_muller(), print_mux(), print_noise(), print_offset(), print_osc(), print_poly(), print_quant(), print_ram(), print_rect(), print_relay(), print_rip(), print_rlshift(), print_rom(), print_rshift1(), print_rshift2(), print_sign(), print_sincos(), print_square(), print_step(), print_terminate_condition(), print_test(), print_toggle(), print_triangle(), print_trig(), print_uadc(), print_udac(), print_usertool(), print_wsum(), print_zero(), reset_a_dc_node(), reset_a_digital_node(), reset_an_analog_node(), reset_arrays_function(), reset_records_function(), and reset_user_variables().

◆ RIP_KIND

#define RIP_KIND   78

Definition at line 302 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ ROM2_KIND

◆ ROM_KIND

◆ RSHIFT1_KIND

#define RSHIFT1_KIND   82

◆ RSHIFT2_KIND

#define RSHIFT2_KIND   83

◆ RSHIFT_KIND

#define RSHIFT_KIND   81

◆ S_FORMAT_L

#define S_FORMAT_L   " %24s"

Definition at line 169 of file napa.h.

Referenced by read_str_format().

◆ S_FORMAT_M

#define S_FORMAT_M   " %12s"

Definition at line 168 of file napa.h.

Referenced by read_str_format().

◆ S_FORMAT_S

#define S_FORMAT_S   " %6s"

Definition at line 167 of file napa.h.

Referenced by read_str_format().

◆ S_FORMAT_V

#define S_FORMAT_V   "%18s"

Definition at line 170 of file napa.h.

Referenced by collect_export_definitions().

◆ SET_KIND

#define SET_KIND   984 /* Internal use, issued during process */

Definition at line 308 of file napa.h.

Referenced by get_node(), and line_parsing().

◆ SIGN_KIND

#define SIGN_KIND   85

◆ SIN2_KIND

#define SIN2_KIND   987 /* Internal use, issued during process */

◆ SIN_KIND

#define SIN_KIND   86

◆ SQUARE_KIND

#define SQUARE_KIND   88

Definition at line 312 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ STDERR

#define STDERR   stderr /* Error and warning messages */

Definition at line 105 of file napa.h.

Referenced by authorize_option(), build_condition(), build_cross_reference(), build_input(), build_main_loop(), build_main_loop_inject(), build_name(), build_node(), build_node_dependencies(), build_output(), build_pathname(), build_record_dependencies(), build_update(), build_update_dependencies(), build_usage_comment(), build_var_dependencies(), C_syntax_checker(), cat_file(), check_option_function(), check_syntax(), check_types(), check_version(), collect_export_definitions(), collect_string_of_options(), create_automatic_node(), create_nodes(), declaration_type_A(), declaration_type_B(), declare_a_digital_node(), declare_an_analog_node(), declare_vars(), default_control_variables(), dump_function(), expand_dump_definitions(), expand_IO_definitions(), expand_iterative_identifiers(), expand_nodeset(), expand_records(), expand_string_variables(), expand_update_definitions(), extract_directory(), f1flush(), get_a_line(), get_alias(), get_array(), get_assert(), get_call(), get_command_line(), get_comment(), get_data(), get_debug(), get_decimate(), get_declare(), get_directive(), get_drop(), get_dump(), get_export(), get_format(), get_fs_ts(), get_gateway(), get_header(), get_init(), get_inject(), get_input(), get_interlude(), get_interpolate(), get_load(), get_node(), get_nominal(), get_opcode(), get_output(), get_ping(), get_post(), get_random_seed(), get_restart(), get_sampling(), get_stuck(), get_synchronize(), get_terminate(), get_title(), get_update(), get_var(), get_void(), include_napa_header_files(), increment_alias_number(), increment_array_number(), increment_assert_number(), increment_call_number(), increment_cmdline_number(), increment_comment_number(), increment_common_number(), increment_debug_number(), increment_declare_number(), increment_directive_number(), increment_export_number(), increment_filecell_number(), increment_function_number(), increment_generator_number(), increment_group_number(), increment_header_number(), increment_init_number(), increment_inject_number(), increment_instance_number(), increment_IO_number(), increment_node_number(), increment_opcode_number(), increment_post_number(), increment_record_number(), increment_restart_number(), increment_segment_number(), increment_stuck_number(), increment_tool_number(), increment_update_number(), increment_usertool_number(), increment_var_number(), inject_nodes(), inspect_short_form(), last_message(), line_parsing(), node_determination(), node_id(), open_IO_files(), open_ping_file(), print_adc(), print_algebra(), print_alu(), print_bshift(), print_btoi(), print_build_information(), print_C_code_banner_a(), print_C_code_banner_b(), print_dac(), print_delay(), print_dyadic0(), print_dyadic7(), print_error_banner_and_exit(), print_error_location(), print_identification(), print_limits(), print_location(), print_mux(), print_output_banner_2(), print_problem_location(), print_quant(), print_ram(), print_rip(), print_rlshift(), print_rom(), print_rshift1(), print_rshift2(), print_test(), print_uadc(), print_udac(), print_usage(), print_usertool(), print_wsum(), print_zero(), process_aliases(), process_array_error(), process_cell(), process_cell_line(), process_command_line(), process_condition(), process_gen(), process_instruction_error(), process_node_error(), process_node_kind_error(), process_record_error(), process_variable_error(), process_width(), purge_constants_in_options(), read_doub_format(), read_hex_format(), read_int_format(), read_str_format(), rearrange_data_interfaces(), record_cell_nam(), record_file_nam(), record_function_identifier(), redefine_node_segments(), redefine_nodes(), reset_a_dc_node(), reset_a_digital_node(), reset_an_analog_node(), reset_arrays_function(), reset_user_variables(), sanity_check(), something_else(), sort_nodes(), sort_records(), sort_updates(), sort_vars(), strcpy_alloc(), strcpy_realloc(), stuck_nodes(), syntax_command_line(), syntax_directives(), syntax_fs(), syntax_nodes(), syntax_records(), syntax_segment_value(), syntax_terminate(), syntax_updates(), syntax_variables(), that_s_all(), trap_unconsistencies(), var_id(), and wall_clock().

◆ STDIN

#define STDIN   stdin /* Currently not used */

Definition at line 103 of file napa.h.

◆ STDOUT

#define STDOUT   stdout /* Output C file of the NAPA compiler */

Definition at line 104 of file napa.h.

Referenced by build_condition(), build_cross_reference(), build_input(), build_main_loop(), build_main_loop_block1(), build_main_loop_block2(), build_main_loop_block3(), build_main_loop_conditions(), build_main_loop_control1(), build_main_loop_control2(), build_main_loop_dump1(), build_main_loop_dump2(), build_main_loop_dump3(), build_main_loop_gateway(), build_main_loop_inject(), build_main_loop_option(), build_main_loop_segment_begin(), build_main_loop_segment_end(), build_main_loop_synchro(), build_main_loop_time(), build_output(), build_update(), call_closedown_functions(), call_initialization_functions_A(), call_initialization_functions_B(), call_napa_initialization_function(), call_ping_1(), call_ping_2(), call_postprocess_functions(), call_user_functions(), cat_file(), check_directive_function(), check_option_function(), close_IO_files(), close_main(), command_line_usage_function(), control_init_function(), declare_a_digital_node(), declare_an_analog_node(), declare_arrays(), declare_file_handles(), declare_function_pointers(), declare_global_values(), declare_nodes(), declare_prototypes(), declare_records(), declare_vars(), define_directives(), define_macros(), dump_function(), get_data(), get_node(), include_ANSI_C_header_files(), include_napa_header_files(), line_parsing(), load_files(), load_function(), napa_data_record_function(), napa_exit_functions(), napa_IO_manager_function(), napa_timer_function(), open_IO_files(), open_main(), open_ping_file(), prepare_tool_synchronization(), print_adc(), print_algebra(), print_alu(), print_average(), print_bshift(), print_btoi(), print_buf(), print_bwinv(), print_C_code_banner_a(), print_C_code_banner_b(), print_change(), print_check_arrays(), print_check_output(), print_clip(), print_clock(), print_comp(), print_copy(), print_dac(), print_dc(), print_delay(), print_delay1(), print_delay2(), print_delay3(), print_differentiator(), print_dtoi(), print_dyadic0(), print_dyadic1(), print_dyadic2(), print_dyadic3(), print_dyadic4(), print_dyadic5(), print_dyadic6(), print_dyadic7(), print_equal(), print_error_banner_and_exit(), print_fzbuf(), print_fzinv(), print_gain(), print_holdtrack(), print_integrator(), print_inv(), print_itob(), print_itod(), print_latch(), print_merge(), print_minmax(), print_muller(), print_mux(), print_node_width_postprocessing(), print_noise(), print_offset(), print_osc(), print_output_banner_0(), print_output_banner_1(), print_output_banner_2(), print_output_banner_3(), print_output_banner_4(), print_output_banner_function(), print_ping_function(), print_poly(), print_quant(), print_ram(), print_rect(), print_relay(), print_rip(), print_rlshift(), print_rom(), print_rshift1(), print_rshift2(), print_sign(), print_sincos(), print_square(), print_step(), print_terminate_condition(), print_test(), print_toggle(), print_triangle(), print_trig(), print_uadc(), print_udac(), print_usertool(), print_var_width_postprocessing(), print_wsum(), print_zero(), random_functions(), randomizer_functions(), reset_a_command_line_parameter(), reset_a_dc_node(), reset_a_digital_node(), reset_an_analog_node(), reset_arrays_function(), reset_nodes_function(), reset_records_function(), reset_simulator_variables(), reset_user_variables(), reset_variables_function(), and that_s_all().

◆ STEP_KIND

#define STEP_KIND   89

Definition at line 313 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ STRING

#define STRING   8 /* 2^3 */

Definition at line 368 of file napa.h.

Referenced by check_syntax().

◆ STRING_DATA_TYPE

◆ STRINGIFY

#define STRINGIFY ( x)
Value:
_STR_(x) /* stringification */
#define _STR_(x)
Definition napa.h:391

Definition at line 392 of file napa.h.

◆ STRLENGTH

#define STRLENGTH   2047L /* max length of a string */

Definition at line 217 of file napa.h.

Referenced by authorize_option(), build_condition(), build_input(), build_main_loop_conditions(), build_main_loop_inject(), build_main_loop_time(), build_name(), build_node_dependencies(), build_output(), build_record_dependencies(), build_to_be_delayed_node_list(), build_update(), build_update_dependencies(), build_usage_comment(), build_var_dependencies(), call_postprocess_functions(), check_array_usage(), check_record_usage(), check_types(), close_IO_files(), cmdline_id(), collect_export_definitions(), collect_functions(), collect_string_of_functions(), collect_string_of_options(), create_automatic_node(), create_constant_var(), create_nodes(), declaration_type_B(), declare_a_digital_node(), declare_an_analog_node(), declare_global_values(), declare_vars(), default_control_variables(), define_directives(), define_macros(), determine_output_segment_rate(), dump_function(), expand_dump_definitions(), expand_indirections(), expand_IO_definitions(), expand_iterative_identifiers(), expand_nodeset(), expand_records(), expand_update_definitions(), get_alias(), get_array(), get_assert(), get_call(), get_command_line(), get_data(), get_debug(), get_decimate(), get_declare(), get_directive(), get_drop(), get_dump(), get_format(), get_fs_ts(), get_function_identifier(), get_gateway(), get_header(), get_init(), get_inject(), get_input(), get_interlude(), get_interpolate(), get_load(), get_node(), get_nominal(), get_opcode(), get_output(), get_output_and_scaling(), get_ping(), get_post(), get_restart(), get_sign_and_token(), get_stuck(), get_synchronize(), get_token_between_braces(), get_update(), get_var(), get_void(), is_a_string(), is_an_extended_identifier(), is_an_identifier(), line_parsing(), mark_directives(), metaphone(), name_mangling(), node_determination(), node_id(), open_IO_files(), open_ping_file(), prepare_tool_synchronization(), print_adc(), print_algebra(), print_alu(), print_average(), print_bshift(), print_btoi(), print_buf(), print_bwinv(), print_change(), print_clip(), print_clock(), print_comp(), print_copy(), print_dac(), print_dc(), print_delay(), print_delay1(), print_delay2(), print_delay3(), print_differentiator(), print_dtoi(), print_dyadic0(), print_dyadic1(), print_dyadic2(), print_dyadic3(), print_dyadic4(), print_dyadic5(), print_dyadic6(), print_dyadic7(), print_equal(), print_fzbuf(), print_fzinv(), print_gain(), print_holdtrack(), print_integrator(), print_inv(), print_itob(), print_itod(), print_latch(), print_limits(), print_merge(), print_minmax(), print_muller(), print_mux(), print_noise(), print_offset(), print_osc(), print_output_banner_1(), print_output_banner_2(), print_output_banner_function(), print_poly(), print_problem_location(), print_quant(), print_ram(), print_rect(), print_relay(), print_rip(), print_rlshift(), print_rom(), print_rshift1(), print_rshift2(), print_sign(), print_sincos(), print_square(), print_step(), print_terminate_condition(), print_test(), print_toggle(), print_triangle(), print_trig(), print_uadc(), print_udac(), print_usertool(), print_wsum(), print_zero(), process_aliases(), process_array_error(), process_cell(), process_cell_line(), process_command_line(), process_init(), process_instruction_error(), process_node_error(), process_node_kind_error(), process_record_error(), process_variable_error(), purge_constants_in_ganging(), purge_constants_in_options(), read_doub_format(), read_hex_format(), read_int_format(), read_str_format(), rearrange_data_interfaces(), redefine_node_segments(), redefine_nodes(), replace_parentheses(), reset_a_command_line_parameter(), reset_a_dc_node(), reset_a_digital_node(), reset_an_analog_node(), reset_arrays_function(), reset_records_function(), reset_user_variables(), separe_qualifiers(), syntax_command_line(), syntax_directives(), syntax_nodes(), syntax_records(), syntax_segment_value(), syntax_terminate(), syntax_updates(), syntax_variables(), update_id(), and var_id().

◆ SUB_KIND

#define SUB_KIND   90

◆ SUM_KIND

#define SUM_KIND   91

◆ TEST_KIND

◆ TOGGLE_KIND

#define TOGGLE_KIND   93

◆ TRACK_KIND

#define TRACK_KIND   94

◆ TRIANGLE_KIND

#define TRIANGLE_KIND   95

Definition at line 319 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ TRIG_KIND

◆ TRUE

#define TRUE   1

Definition at line 403 of file napa.h.

◆ UADC_KIND

#define UADC_KIND   97

◆ UDAC_KIND

#define UDAC_KIND   98

Definition at line 322 of file napa.h.

Referenced by build_node(), check_types(), node_determination(), node_kind(), and syntax_nodes().

◆ UNDEFINED

#define UNDEFINED   (-1)

Definition at line 331 of file napa.h.

Referenced by alias_id(), array_id(), array_name_id(), build_condition(), build_cross_reference(), build_input(), build_main_loop_inject(), build_main_loop_time(), build_name(), build_node_dependencies(), build_output(), build_record_dependencies(), build_update(), build_update_dependencies(), build_usage_comment(), build_var_dependencies(), call_user_functions(), check_array_usage(), check_record_usage(), check_syntax(), check_types(), close_IO_files(), cmdline_id(), collect_export_definitions(), command_line_usage_function(), complete_directives(), create_automatic_node(), debug_id(), declaration_type_A(), declaration_type_B(), declare_a_digital_node(), declare_an_analog_node(), declare_id(), declare_vars(), define_macros(), determine_output_segment_rate(), directive_id(), dump_function(), expand_indirections(), expand_records(), expand_update_definitions(), get_alias(), get_array(), get_command_line(), get_data(), get_debug(), get_decimate(), get_directive(), get_dump(), get_function_identifier(), get_interpolate(), get_load(), get_node(), get_ping(), get_post(), get_type(), get_update(), get_var(), inject_nodes(), mark_constants(), mark_directives(), mark_updates_if_constant(), name_mangling(), node_determination(), node_id(), op_id(), open_IO_files(), open_ping_file(), postprocess_id(), prepare_tool_synchronization(), print_algebra(), print_C_code_banner_b(), print_delay(), print_ram(), print_rom(), print_test(), print_usertool(), process_aliases(), process_cell(), process_condition(), process_gen(), process_init(), record_function_identifier(), record_id(), redefine_node_segments(), redefine_nodes(), reset_a_dc_node(), reset_a_digital_node(), reset_an_analog_node(), reset_arrays_function(), reset_user_variables(), sort_nodes(), stuck_nodes(), syntax_command_line(), syntax_directives(), syntax_nodes(), syntax_records(), syntax_updates(), syntax_variables(), update_id(), user_id(), and var_id().

◆ UNKNOWN_KIND

◆ UNKNOWN_TYPE

◆ VARIABLE

#define VARIABLE   2 /* 2^1 */

Definition at line 366 of file napa.h.

Referenced by check_syntax(), and syntax_nodes().

◆ WARNING

#define WARNING   1 /* Error level */

Definition at line 409 of file napa.h.

Referenced by get_alias(), get_node(), get_var(), and is_a_keyword().

◆ WSUM_KIND

#define WSUM_KIND   99

◆ X_FORMAT_L

#define X_FORMAT_L   " %#018llX" /* Size corresponding to signed hex up to 64b */

Definition at line 159 of file napa.h.

Referenced by read_hex_format().

◆ X_FORMAT_M

#define X_FORMAT_M   " %#010llX" /* Size corresponding to signed hex up to 32b */

Definition at line 158 of file napa.h.

Referenced by read_hex_format().

◆ X_FORMAT_S

#define X_FORMAT_S   " %#06llX" /* Size corresponding to signed hex up to 16b */

Definition at line 157 of file napa.h.

Referenced by read_hex_format().

◆ X_FORMAT_V

#define X_FORMAT_V   " %#017llX" /* Export format must be coherent with S_FORMAT_V */

Definition at line 160 of file napa.h.

◆ XNOR_KIND

#define XNOR_KIND   100

◆ XOR_KIND

#define XOR_KIND   101

◆ YES

#define YES   1

Definition at line 407 of file napa.h.

Referenced by node_determination(), and syntax_nodes().

◆ ZERO_KIND

Variable Documentation

◆ Alias_List

◆ Antithetic_Flag

EXTERN int Antithetic_Flag

◆ Array_Flag

◆ Array_List

◆ Assert_Flag

◆ Call_Flag

EXTERN int Call_Flag

Definition at line 845 of file napa.h.

Referenced by default_control_variables(), get_call(), and napa_IO_manager_function().

◆ Cell_Name_Prefix

EXTERN char Cell_Name_Prefix[31L][2047L]

Definition at line 945 of file napa.h.

Referenced by get_data(), line_parsing(), process_cell(), and process_cell_line().

◆ Cell_Num_Parms

EXTERN long Cell_Num_Parms[31L]

Definition at line 934 of file napa.h.

Referenced by get_data(), process_cell(), and process_cell_line().

◆ Cell_Plist

EXTERN char Cell_Plist[31L][127L][16383L]

Definition at line 936 of file napa.h.

Referenced by get_data(), process_cell(), and process_cell_line().

◆ Cmdline_Flag

◆ Cmdline_List

◆ Cmdline_String

EXTERN char Cmdline_String[2047L]

◆ Comment_Flag

◆ Comment_String

◆ Condition_Assign

EXTERN char Condition_Assign[16383L]

Definition at line 947 of file napa.h.

Referenced by default_control_variables().

◆ Cur_Fil_Name

EXTERN char Cur_Fil_Name[31L][2047L]

Definition at line 931 of file napa.h.

Referenced by get_data(), line_parsing(), print_C_code_banner_a(), process_cell(), and record_file_nam().

◆ Cur_Lib_Name

EXTERN char Cur_Lib_Name[31L][2047L]

◆ Debug_Flag

◆ Debug_List

EXTERN DEBUG_TYPE Debug_List[63L]

◆ Declare_Common_List

EXTERN DECLARE_COMMON_TYPE Declare_Common_List[255L]

Definition at line 954 of file napa.h.

Referenced by declaration_type_B(), and get_declare().

◆ Declare_List

EXTERN DECLARE_TYPE Declare_List[1023L]

Definition at line 953 of file napa.h.

Referenced by build_cross_reference(), declaration_type_A(), declare_id(), and get_declare().

◆ Delay_Input

EXTERN long Delay_Input[4095L]

Definition at line 984 of file napa.h.

Referenced by build_to_be_delayed_node_list(), sort_nodes(), and swap_delay_inputs().

◆ Delayed_Flag

EXTERN int Delayed_Flag

Definition at line 849 of file napa.h.

Referenced by default_control_variables(), and name_mangling().

◆ Directive_Flag

◆ Directive_List

◆ Drop_Flag

EXTERN int Drop_Flag

◆ Dump_Flag

◆ Dump_List

◆ E_Format

EXTERN char E_Format[2047L]

Definition at line 895 of file napa.h.

Referenced by collect_export_definitions(), and define_macros().

◆ Error_Flag

◆ Expand_Flag

◆ Export0_Head_String

EXTERN char Export0_Head_String[16383L]

◆ Export0_List_String

EXTERN char Export0_List_String[16383L]

Definition at line 921 of file napa.h.

Referenced by collect_export_definitions(), default_control_variables(), and define_macros().

◆ Export1_Head_String

EXTERN char Export1_Head_String[16383L]

Definition at line 920 of file napa.h.

Referenced by collect_export_definitions(), and define_macros().

◆ Export1_List_String

EXTERN char Export1_List_String[16383L]

Definition at line 922 of file napa.h.

Referenced by collect_export_definitions(), and define_macros().

◆ Export_Flag

◆ Export_List

EXTERN EXPORT_TYPE Export_List[31L]

Definition at line 956 of file napa.h.

Referenced by collect_export_definitions(), and get_export().

◆ Fs_Ext_Flag

◆ Fs_Flag

◆ Function_Flag

EXTERN int Function_Flag

Definition at line 858 of file napa.h.

Referenced by default_control_variables(), and increment_function_number().

◆ Function_List

EXTERN FUNCTION_TYPE Function_List[255L]

◆ Gateway_Flag

◆ Gateway_List

EXTERN GATEWAY_TYPE Gateway_List

◆ Generator_Lib_Name

EXTERN char* Generator_Lib_Name

Definition at line 913 of file napa.h.

Referenced by define_macros(), print_C_code_banner_a(), process_command_line(), and process_gen().

◆ Group_List

EXTERN GROUP_TYPE Group_List[31L]

Definition at line 958 of file napa.h.

Referenced by get_post().

◆ Header_Lib_Name

EXTERN char* Header_Lib_Name

◆ Header_List

EXTERN HEADER_TYPE Header_List[63L]

◆ Hierarchy_Flag

EXTERN int Hierarchy_Flag

Definition at line 860 of file napa.h.

Referenced by default_control_variables(), get_data(), line_parsing(), and process_cell().

◆ I_Format

EXTERN char I_Format[2047L]

Definition at line 896 of file napa.h.

Referenced by build_output(), default_control_variables(), define_macros(), and read_int_format().

◆ I_String_Format

EXTERN char I_String_Format[2047L]

Definition at line 902 of file napa.h.

Referenced by default_control_variables(), print_output_banner_2(), and read_int_format().

◆ Inject_Flag

◆ Inject_List

◆ Input_Flag

EXTERN int Input_Flag

◆ Inst_Plist

EXTERN char Inst_Plist[31L][127L][16383L]

Definition at line 937 of file napa.h.

Referenced by get_data(), process_cell(), and process_cell_line().

◆ Interlude_Flag1

◆ Interlude_Flag2

EXTERN int Interlude_Flag2

◆ Interlude_Flag3

EXTERN int Interlude_Flag3

Definition at line 870 of file napa.h.

Referenced by default_control_variables(), and get_interlude().

◆ Interlude_List

◆ Interpolate_Flag

EXTERN int Interpolate_Flag

Definition at line 863 of file napa.h.

Referenced by default_control_variables(), get_interpolate(), and trap_unconsistencies().

◆ IO_List

◆ Last_Instruction

EXTERN char Last_Instruction[2047L]

Definition at line 892 of file napa.h.

Referenced by default_control_variables(), get_post(), and line_parsing().

◆ Last_Postprocess

EXTERN char Last_Postprocess[2047L]

Definition at line 893 of file napa.h.

Referenced by default_control_variables(), and get_post().

◆ List_Flag

EXTERN int List_Flag

◆ Load_Flag

◆ Load_List

◆ Loop_Flag

◆ Main_File_Name

EXTERN char* Main_File_Name

◆ Max_Depth

EXTERN long Max_Depth

◆ Multdelay_Flag

EXTERN int Multdelay_Flag

◆ NAPA_Command_Line

EXTERN char NAPA_Command_Line[2047L]

Definition at line 907 of file napa.h.

Referenced by process_command_line().

◆ NAPA_Compile_Start

EXTERN double NAPA_Compile_Start

Definition at line 988 of file napa.h.

Referenced by default_control_variables(), that_s_all(), and wall_clock().

◆ NAPA_Compile_Stop

EXTERN double NAPA_Compile_Stop

Definition at line 989 of file napa.h.

Referenced by that_s_all(), and wall_clock().

◆ NAPA_Compile_Time

EXTERN char NAPA_Compile_Time[33]

◆ NAPA_Identification_String

EXTERN char NAPA_Identification_String[35]

◆ NAPA_Job_ID

EXTERN char NAPA_Job_ID[19]

Definition at line 993 of file napa.h.

Referenced by define_macros(), process_command_line(), and unique_name().

◆ NAPA_Time

EXTERN time_t NAPA_Time

Definition at line 986 of file napa.h.

Referenced by process_command_line().

◆ Net_Lib_Name

EXTERN char* Net_Lib_Name

◆ Node_List

EXTERN NODE_TYPE Node_List[4095L]

Definition at line 962 of file napa.h.

Referenced by authorize_option(), build_cross_reference(), build_main_loop_block2(), build_main_loop_inject(), build_name(), build_node(), build_node_dependencies(), build_output(), build_to_be_delayed_node_list(), build_update(), call_user_functions(), check_array_usage(), check_record_usage(), check_syntax(), check_types(), collect_export_definitions(), collect_functions(), compact_segment(), create_automatic_node(), create_nodes(), declaration_type_A(), declaration_type_B(), declare_a_digital_node(), declare_an_analog_node(), declare_nodes(), declare_vars(), determine_output_segment_rate(), dump_function(), flag_node(), get_alias(), get_array(), get_node(), get_post(), get_type(), get_var(), inject_nodes(), is_node_flagged(), mark_directives(), mark_updates_if_constant(), name_mangling(), node_determination(), node_id(), print_adc(), print_algebra(), print_alu(), print_average(), print_bshift(), print_btoi(), print_buf(), print_bwinv(), print_C_code_banner_b(), print_change(), print_clip(), print_clock(), print_comp(), print_copy(), print_dac(), print_dc(), print_delay(), print_delay1(), print_delay2(), print_delay3(), print_differentiator(), print_dtoi(), print_dyadic0(), print_dyadic1(), print_dyadic2(), print_dyadic3(), print_dyadic4(), print_dyadic5(), print_dyadic6(), print_dyadic7(), print_equal(), print_fzbuf(), print_fzinv(), print_gain(), print_holdtrack(), print_integrator(), print_inv(), print_itob(), print_itod(), print_latch(), print_merge(), print_minmax(), print_muller(), print_mux(), print_node_width_postprocessing(), print_noise(), print_offset(), print_osc(), print_poly(), print_quant(), print_ram(), print_rect(), print_relay(), print_rip(), print_rlshift(), print_rom(), print_rshift1(), print_rshift2(), print_sign(), print_sincos(), print_square(), print_step(), print_test(), print_toggle(), print_triangle(), print_trig(), print_uadc(), print_udac(), print_usertool(), print_wsum(), print_zero(), process_aliases(), process_init(), process_node_error(), redefine_node_segments(), redefine_nodes(), reset_a_dc_node(), reset_a_digital_node(), reset_an_analog_node(), reset_nodes_function(), reset_user_variables(), separe_qualifiers(), something_else(), sort_nodes(), stuck_nodes(), swap_nodes(), syntax_nodes(), and that_s_all().

◆ Num_Aliases

◆ Num_Arrays

◆ Num_Asserts

EXTERN long Num_Asserts

Definition at line 801 of file napa.h.

Referenced by default_control_variables(), get_assert(), and increment_assert_number().

◆ Num_Calls

EXTERN long Num_Calls

Definition at line 802 of file napa.h.

Referenced by default_control_variables(), get_call(), and increment_call_number().

◆ Num_Cells

EXTERN long Num_Cells

◆ Num_Cmdlines

◆ Num_Comments

◆ Num_Consts

◆ Num_Creates

EXTERN long Num_Creates

◆ Num_Debugs

◆ Num_Declare_Commons

EXTERN long Num_Declare_Commons

◆ Num_Declares

◆ Num_Delays

EXTERN long Num_Delays

Definition at line 811 of file napa.h.

Referenced by build_to_be_delayed_node_list(), default_control_variables(), and sort_nodes().

◆ Num_Directives

◆ Num_Exports

◆ Num_FileCells

◆ Num_Functions

◆ Num_Generators

EXTERN long Num_Generators

Definition at line 816 of file napa.h.

Referenced by default_control_variables(), increment_generator_number(), and process_gen().

◆ Num_Groups

◆ Num_Headers

◆ Num_Inits

EXTERN long Num_Inits

Definition at line 819 of file napa.h.

Referenced by default_control_variables(), get_declare(), get_init(), and increment_init_number().

◆ Num_Injects

◆ Num_Instances

EXTERN long Num_Instances

Definition at line 821 of file napa.h.

Referenced by default_control_variables(), increment_instance_number(), and record_cell_nam().

◆ Num_IOs

◆ Num_Macros

EXTERN long Num_Macros

Definition at line 823 of file napa.h.

Referenced by default_control_variables(), define_macros(), and print_ping_function().

◆ Num_Nodes

◆ Num_Nulls

EXTERN long Num_Nulls

Definition at line 825 of file napa.h.

Referenced by declare_vars(), and default_control_variables().

◆ Num_Opcodes

◆ Num_Posts

◆ Num_Records

◆ Num_Redefs

EXTERN long Num_Redefs

Definition at line 829 of file napa.h.

Referenced by default_control_variables(), and redefine_nodes().

◆ Num_Restarts

EXTERN long Num_Restarts

Definition at line 830 of file napa.h.

Referenced by default_control_variables(), get_restart(), and increment_restart_number().

◆ Num_Segments

◆ Num_Stucks

◆ Num_Tools

◆ Num_Updates

◆ Num_UserTools

◆ Num_Vars

◆ Num_Voids

EXTERN long Num_Voids

◆ Opcode_List

EXTERN OPCODE_TYPE Opcode_List[127L]

◆ Option_Flag

EXTERN int Option_Flag

◆ Option_List

◆ Output_Flag

◆ Periodic_Flag

◆ Ping_Flag

◆ Ping_List

◆ Pointer_Flag

◆ Post_Flag

◆ Post_List

◆ R_Format

EXTERN char R_Format[2047L]

Definition at line 897 of file napa.h.

Referenced by build_output(), default_control_variables(), define_macros(), and read_doub_format().

◆ R_String_Format

EXTERN char R_String_Format[2047L]

Definition at line 903 of file napa.h.

Referenced by default_control_variables(), print_output_banner_2(), and read_doub_format().

◆ Record_Cell_File_Table

◆ Record_Cell_File_Usage

EXTERN long Record_Cell_File_Usage[511L]

Definition at line 941 of file napa.h.

Referenced by print_C_code_banner_a(), and record_file_nam().

◆ Record_Instantiation_Name

EXTERN char* Record_Instantiation_Name[511L]

Definition at line 939 of file napa.h.

Referenced by record_cell_nam().

◆ Record_List

◆ Root_String

EXTERN char Root_String[2047L]

Definition at line 929 of file napa.h.

Referenced by define_macros().

◆ S_Format

EXTERN char S_Format[2047L]

Definition at line 898 of file napa.h.

Referenced by default_control_variables(), define_macros(), and read_str_format().

◆ S_String_Format

EXTERN char S_String_Format[2047L]

◆ Sampling_List

◆ Seed_Flag

◆ Seed_List

◆ Segment_Condition

EXTERN char Segment_Condition[127L][2047L]

Definition at line 943 of file napa.h.

Referenced by build_main_loop_conditions().

◆ Segment_List

◆ Short_Title_String

EXTERN char Short_Title_String[2 *2047L]

Definition at line 926 of file napa.h.

Referenced by declare_global_values(), define_macros(), and expand_string_variables().

◆ Simulation_Rate

◆ Stuck_Flag

◆ Stuck_List

EXTERN STUCK_TYPE Stuck_List[63L]

Definition at line 967 of file napa.h.

Referenced by build_cross_reference(), get_stuck(), print_C_code_banner_a(), and stuck_nodes().

◆ Synchro_Flag

◆ Terminate_Flag

EXTERN int Terminate_Flag

◆ Terminate_List

◆ Title_Flag

◆ Title_String

◆ Tool_Flag

◆ Tool_Index_Flag

EXTERN int Tool_Index_Flag

Definition at line 882 of file napa.h.

Referenced by default_control_variables(), node_id(), that_s_all(), update_id(), and var_id().

◆ Ts_Ext_Flag

◆ Ts_Flag

EXTERN int Ts_Flag

◆ Update_Flag

EXTERN int Update_Flag

Definition at line 886 of file napa.h.

Referenced by default_control_variables(), get_call(), get_restart(), and get_update().

◆ Update_List

◆ User_Flag

EXTERN int User_Flag

Definition at line 887 of file napa.h.

Referenced by default_control_variables(), define_macros(), and name_mangling().

◆ User_Name

EXTERN char* User_Name

Definition at line 909 of file napa.h.

Referenced by define_macros(), print_C_code_banner_a(), process_command_line(), and that_s_all().

◆ UserTool_Flag

◆ UserTool_List

◆ V_Format

EXTERN char V_Format[2047L]

Definition at line 899 of file napa.h.

Referenced by collect_export_definitions(), declare_global_values(), and define_macros().

◆ Var_List

EXTERN VAR_TYPE Var_List[2047L]

◆ Verbose_Flag

EXTERN int Verbose_Flag

Definition at line 889 of file napa.h.

Referenced by process_command_line().

◆ Void_List_Name

EXTERN char Void_List_Name[2047L]

Definition at line 917 of file napa.h.

Referenced by get_post(), and get_void().

◆ Warning_Flag

EXTERN int Warning_Flag

Definition at line 890 of file napa.h.

Referenced by default_control_variables(), print_warning_location(), and that_s_all().

◆ X_Format

EXTERN char X_Format[2047L]

Definition at line 900 of file napa.h.

Referenced by build_output(), default_control_variables(), define_macros(), and read_hex_format().

◆ X_String_Format

EXTERN char X_String_Format[2047L]

Definition at line 905 of file napa.h.

Referenced by default_control_variables(), print_output_banner_2(), and read_hex_format().