OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_52/] [or1ksim/] [cuc/] [cuc.h] - Diff between revs 941 and 953

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 941 Rev 953
Line 54... Line 54...
#define OPT_JUMP        0x08    /* Jump to an instruction index */
#define OPT_JUMP        0x08    /* Jump to an instruction index */
#define OPT_DEST        0x10    /* This operand is dest */
#define OPT_DEST        0x10    /* This operand is dest */
#define OPT_BB          0x20    /* Jumpt to BB */
#define OPT_BB          0x20    /* Jumpt to BB */
#define OPT_LRBB        0x40    /* 0 if we came in from left BB, or 1 otherwise */
#define OPT_LRBB        0x40    /* 0 if we came in from left BB, or 1 otherwise */
 
 
#define MT_WIDTH        0x007   /* These bits hold memory access width in bytes  1 << x */
#define MT_WIDTH        0x007   /* These bits hold memory access width in bytes */
#define MT_BURST        0x008   /* burst start & end markers */
#define MT_BURST        0x008   /* burst start & end markers */
#define MT_BURSTE       0x010
#define MT_BURSTE       0x010
#define MT_CALL         0x020   /* This is a call */
#define MT_CALL         0x020   /* This is a call */
#define MT_LOAD         0x040   /* This memory access does a read */
#define MT_LOAD         0x040   /* This memory access does a read */
#define MT_STORE        0x080   /* This memory access does a write */
#define MT_STORE        0x080   /* This memory access does a write */
Line 285... Line 285...
/* Clean memory and data dependencies */
/* Clean memory and data dependencies */
void clean_deps (cuc_func *func);
void clean_deps (cuc_func *func);
 
 
/* Schedule memory accesses
/* Schedule memory accesses
  0 - exact; 1 - strong; 2 - weak;  3 - none */
  0 - exact; 1 - strong; 2 - weak;  3 - none */
void schedule_memory (cuc_func *func, int otype);
int schedule_memory (cuc_func *func, int otype);
 
 
/* Generates verilog file out of insn dataflow */
/* Generates verilog file out of insn dataflow */
void output_verilog (cuc_func *func, char *filename, char *funcname);
void output_verilog (cuc_func *func, char *filename, char *funcname);
 
 
/* Recalculates bb[].cnt values, based on generated profile file */
/* Recalculates bb[].cnt values, based on generated profile file */
Line 302... Line 302...
void insert_conditional_facts (cuc_func *func);
void insert_conditional_facts (cuc_func *func);
 
 
/* Width optimization -- detect maximum values */
/* Width optimization -- detect maximum values */
void detect_max_values (cuc_func *f);
void detect_max_values (cuc_func *f);
 
 
 
/* Inserts n nops before insn 'ref' */
 
void insert_insns (cuc_func *f, int ref, int n);
 
 
#endif /* __DATAF_H__ */
#endif /* __DATAF_H__ */
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.