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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [cache/] [icache_model.c] - Diff between revs 428 and 429

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

Rev 428 Rev 429
Line 34... Line 34...
#include "sim-config.h"
#include "sim-config.h"
#include "spr_defs.h"
#include "spr_defs.h"
#include "sprs.h"
#include "sprs.h"
#include "sim-config.h"
#include "sim-config.h"
 
 
/* Instruction cache */
 
#define MAX_IC_SETS 8192
 
#define MAX_IC_WAYS 4
 
 
 
struct ic_set {
struct ic_set {
  struct {
  struct {
    unsigned long tagaddr;  /* tag address */
    unsigned long tagaddr;  /* tag address */
    int lru;    /* least recently used */
    int lru;    /* least recently used */
  } way[MAX_IC_WAYS];
  } way[MAX_IC_WAYS];

powered by: WebSVN 2.1.0

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