Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages | Examples

ArchC simulator generator


Modules

ArchC Parser
ArchC Configuration Variables

Classes

struct  _ac_cache_parms
 List of a Cache's parameters. More...

struct  _ac_pipe_list
 List of Pipelines. More...

struct  _ac_stg_list
 List of Stages. More...

struct  _ac_sto_list
 List of Storage Devices. More...

union  endian
 Used to check the endianess of the host machine. More...


Defines

#define INDENT0   ""
#define INDENT1   " "
#define INDENT2   " "
#define INDENT3   " "
#define INDENT4   " "
#define INDENT5   " "
#define CONF_MAX_LINE   256
 Maximal number of characters per line in archc.conf.

#define WRITE_THROUGH   0x01
 Cache will use the write-through policy.

#define WRITE_BACK   0x02
 Cache will use the write-back policy.

#define WRITE_AROUND   0x20
 Cache will use the write-around policy.

#define WRITE_ALLOCATE   0x10
 Cache will use the write-allocate policy.

#define COMMENT(I, args...)   fprintf( output, "%s//!", I); fprintf( output, args);fprintf( output, "\n");
#define COMMENT_MAKE(args...)   fprintf( output, "# "); fprintf( output, args);fprintf( output, "\n");
#define AC_INTERNAL_ERROR(str)   fprintf(stderr, "ArchC ERROR: %s. File: %s Line: %d\n", str, __FILE__, __LINE__);
#define AC_ERROR(str,)   fprintf(stderr, "ArchC ERROR: " str, ##__VA_ARGS__);
#define AC_MSG(str,)   fprintf(stdout, "ArchC: " str, ##__VA_ARGS__);

Typedefs

typedef enum _ac_cmd_options_ ac_cmd_options
typedef enum _ac_sto_types ac_sto_types
typedef _ac_cache_parms ac_cache_parms
 List of a Cache's parameters.

typedef _ac_sto_list ac_sto_list
 List of Storage Devices.

typedef _ac_stg_list ac_stg_list
 List of Stages.

typedef _ac_pipe_list ac_pipe_list
 List of Pipelines.


Enumerations

enum  _ac_cmd_options {
  OPABI, OPDasm, OPDebug, OPDelay,
  OPDDecoder, OPHelp, OPDecCache, OPStats,
  OPVerbose, OPVersion, OPEncoder, OPGDBIntegration,
  ACNumberOfOptions
}
 Enumeration type for command line options.

enum  _ac_sto_types {
  MEM, CACHE, ICACHE, DCACHE,
  REG, REGBANK
}
 Enumeration type for storage device types.


Define Documentation

#define AC_ERROR str   )     fprintf(stderr, "ArchC ERROR: " str, ##__VA_ARGS__);
 

Issuing an Error message

Definition at line 87 of file acsim.h.

Referenced by add_instr(), add_storage(), ExpandInstrBuffer(), ac_storage::load(), ac_regbank< T >::load(), and parse_format().

#define AC_INTERNAL_ERROR str   )     fprintf(stderr, "ArchC ERROR: %s. File: %s Line: %d\n", str, __FILE__, __LINE__);
 

Issuing an Internal Error message

Definition at line 84 of file acsim.h.

#define AC_MSG str   )     fprintf(stdout, "ArchC: " str, ##__VA_ARGS__);
 

Issuing an message

Definition at line 91 of file acsim.h.

#define COMMENT I,
args...   )     fprintf( output, "%s//!", I); fprintf( output, args);fprintf( output, "\n");
 

Emit a doxygen-formated C comment

Definition at line 78 of file acsim.h.

#define COMMENT_MAKE args...   )     fprintf( output, "# "); fprintf( output, args);fprintf( output, "\n");
 

Emit a Makefile-formated comment

Definition at line 81 of file acsim.h.


Generated on Thu Jun 24 08:30:09 2004 for ArchC by doxygen 1.3.4