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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_52/] [or1ksim/] [sim-config.h] - Diff between revs 240 and 242

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

Rev 240 Rev 242
Line 27... Line 27...
#define VIRTUAL         1
#define VIRTUAL         1
#define PHYSICAL        2
#define PHYSICAL        2
 
 
#define STR_SIZE        (256)
#define STR_SIZE        (256)
 
 
typedef struct MemoryBlock {
 
  int address;
 
  char* file;
 
  struct MemoryBlock* next;
 
} MemoryBlock;
 
 
 
struct config {
struct config {
  struct {
  struct {
    int tagtype;
    int tagtype;
  } dc;
  } dc;
 
 
Line 80... Line 74...
  int inhibit_server; /* Don't start up the JTAG proxy server */
  int inhibit_server; /* Don't start up the JTAG proxy server */
  int server_port; /* A user specified port number for services */
  int server_port; /* A user specified port number for services */
  int pattern_mem; /* A user specified memory initialization pattern */
  int pattern_mem; /* A user specified memory initialization pattern */
  int random_mem;  /* Initialize the memory with random values */
  int random_mem;  /* Initialize the memory with random values */
 
 
  MemoryBlock* memory; /* New style memory initializer file (CZ) */
 
  char* filename;  /* Original Command Simulator file (CZ) */
  char* filename;  /* Original Command Simulator file (CZ) */
};
};
 
 
extern struct config config;
extern struct config config;
 
 

powered by: WebSVN 2.1.0

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