memory.h
Go to the documentation of this file.00001 #ifndef __MEMORY_H__
00002 #define __MEMORY_H__
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00026 #include <stdio.h>
00027
00028 #include "defines.h"
00029
00030
00032 void memory_get_stat(
00033 vsignal* sig,
00034 unsigned int* wr_hit,
00035 unsigned int* rd_hit,
00036 unsigned int* ae_total,
00037 unsigned int* tog01_hit,
00038 unsigned int* tog10_hit,
00039 unsigned int* tog_total,
00040 unsigned int* excluded,
00041 bool* cov_found,
00042 bool ignore_excl
00043 );
00044
00046 void memory_get_stats(
00047 func_unit* funit,
00048 unsigned int* wr_hit,
00049 unsigned int* rd_hit,
00050 unsigned int* ae_total,
00051 unsigned int* tog01_hit,
00052 unsigned int* tog10_hit,
00053 unsigned int* tog_total,
00054 unsigned int* excluded,
00055 bool* cov_found
00056 );
00057
00059 void memory_get_funit_summary(
00060 func_unit* funit,
00061 unsigned int* hit,
00062 unsigned int* excluded,
00063 unsigned int* total
00064 );
00065
00067 void memory_get_inst_summary(
00068 funit_inst* funit,
00069 unsigned int* hit,
00070 unsigned int* excluded,
00071 unsigned int* total
00072 );
00073
00075 void memory_get_coverage(
00076 func_unit* funit,
00077 const char* signame,
00078 char** pdim_str,
00079 char** pdim_array,
00080 char** udim_str,
00081 char** memory_info,
00082 int* excluded,
00083 char** reason
00084 );
00085
00087 void memory_collect(
00088 func_unit* funit,
00089 int cov,
00090 sig_link** head,
00091 sig_link** tail
00092 );
00093
00095 void memory_report(
00096 FILE* ofile,
00097 bool verbose
00098 );
00099
00100 #endif
00101