main.cc File Reference

main module More...

#include <iostream>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <utility>
#include <stdio.h>
#include <stdlib.h>
#include "getpot/GetPot"
#include "defs.h"
#include "fileio.h"
#include "misc.h"
#include "model.h"

Include dependency graph for main.cc:


Functions

void print_header ()
 function to print an information header
void print_footer (int ncircs, int nmodules, int nnodes, int nnodebits)
 function to print an information footer
void print_help ()
 function to print a help of the tool
int main (int argc, char *argv[])
 main function

Variables

string lgpl = "licensing/lgpl3.license"
string warranty_liability = "licensing/warranty_liability.txt"
string taste = "licensing/taste.license"
unsigned long nerrors
 number of errors counter
unsigned long nwarns
 number of warnings counter
char act_fname [MAX_STR_LEN]
 actual file name size limit
bool debug_mode = false
 debug/normal mode switch. In debug mode, implementation and low-level model related data are sent to std. Undocumented at present.
bool scan_mode = false
 scan mode switch
bool cir_mode = false
 circuit mode switch
bool design_mode = false
 design mode switch
tProPen mark_operation = PP_EXP
 operation used to evaluate penalty during mark transportation process
tSeqEst clk_cnt = SE_BASIC
 type of sequential length estimation
string appName = ""
 string to store an application name. The name is taken from command line (real executable name is taken)
string fname4TA = ""
 string to store a file name circuit/design data will be read from. The name is set by means of a command line command
string cirname = ""
 string to store a circuit name. The name is set by means of a command line command
string freg
 string to store a file name information about circuit registers will be read from. The name is set by means of a command line command
string fscan
 string to store a file name information about scan will be read from. The name is set by means of a command line command
clsDesigndsgnPtr = NULL
 pointer to the top clsDesign object
const char * header []
 information header of the tool

Detailed Description

main module


Function Documentation

int main ( int  argc,
char *  argv[] 
)

main function

in the function, command line is processed and corresponding actions are started.

void print_footer ( int  ncircs,
int  nmodules,
int  nnodes,
int  nnodebits 
)

function to print an information footer

void print_header (  ) 

function to print an information header

void print_help (  ) 

function to print a help of the tool


Variable Documentation

actual file name size limit

string appName = ""

string to store an application name. The name is taken from command line (real executable name is taken)

bool cir_mode = false

circuit mode switch

switching the mode ON, all actions will be performed over particular circuit within the design. Both the mode can be selected and circuit name set by means of command-line commands (see tool's help).

string cirname = ""

string to store a circuit name. The name is set by means of a command line command

tSeqEst clk_cnt = SE_BASIC

type of sequential length estimation

Implicitly set to SE_BASIC. Undocumented at present.

bool debug_mode = false

debug/normal mode switch. In debug mode, implementation and low-level model related data are sent to std. Undocumented at present.

bool design_mode = false

design mode switch

switching the mode ON, all actions will be performed over whole design. The mode can be selected by means of command-line switch (see tool's help).

clsDesign* dsgnPtr = NULL

pointer to the top clsDesign object

string fname4TA = ""

string to store a file name circuit/design data will be read from. The name is set by means of a command line command

string freg

string to store a file name information about circuit registers will be read from. The name is set by means of a command line command

string fscan

string to store a file name information about scan will be read from. The name is set by means of a command line command

const char* header[]

Initial value:

{
  "-------------------------------------",
  "TASTE (Testability Analysis SuiTE) version 1.00",
  "Copyright (c) 2008 Josef Strnadel", 
  "Developped at Brno University of Technology, Faculty of Information Technology",
  "This software comes with ABSOLUTELY NO WARRANTY; for details use `-show w'.",
  "You are welcome to use, modify and/or redistribute the software under certain conditions; use `-show c' for details.",
  "-------------------------------------",
  NULL
}
information header of the tool

string lgpl = "licensing/lgpl3.license"

operation used to evaluate penalty during mark transportation process

Implicitly set to PP_EXP. Undocumented at present.

unsigned long nerrors

number of errors counter

unsigned long nwarns

number of warnings counter

bool scan_mode = false

scan mode switch

switching the mode ON, scan will be implemented into the circuit structure. The mode can be changed using a command-line switch (see tool's help).

string taste = "licensing/taste.license"

string warranty_liability = "licensing/warranty_liability.txt"


Generated on Mon Aug 25 08:39:24 2008 for TASTE by  doxygen 1.5.6