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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [or1ksim/] [or1ksim.h] - Diff between revs 224 and 230

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

Rev 224 Rev 230
Line 88... Line 88...
 
 
double  or1ksim_jtag_shift_dr (unsigned char *jreg,
double  or1ksim_jtag_shift_dr (unsigned char *jreg,
                               int            num_bits);
                               int            num_bits);
 
 
/* Access to simulator state */
/* Access to simulator state */
int  or1ksim_read_mem (unsigned int   addr,
int  or1ksim_read_mem (unsigned long int  addr,
                       unsigned char *buf,
                       unsigned char *buf,
                       int            len);
                       int            len);
 
 
int  or1ksim_write_mem (unsigned int   addr,
int  or1ksim_write_mem (unsigned long int  addr,
                        unsigned char *buf,
                        unsigned char *buf,
                        int            len);
                        int            len);
 
 
int  or1ksim_read_spr (int            sprnum,
int  or1ksim_read_spr (int            sprnum,
                       unsigned int  *sprval_ptr);
                       unsigned long int  *sprval_ptr);
 
 
int  or1ksim_write_spr (int           sprnum,
int  or1ksim_write_spr (int           sprnum,
                        unsigned int  sprval);
                        unsigned long int  sprval);
 
 
int  or1ksim_read_reg (int           regnum,
int  or1ksim_read_reg (int           regnum,
                       unsigned int *regval_ptr);
                       unsigned long int *regval_ptr);
 
 
int  or1ksim_write_reg (int           regnum,
int  or1ksim_write_reg (int           regnum,
                        unsigned int  regval);
                        unsigned long int  regval);
 
 
void  or1ksim_set_stall_state (int  state);
void  or1ksim_set_stall_state (int  state);
 
 
#ifdef __cplusplus
#ifdef __cplusplus
}
}

powered by: WebSVN 2.1.0

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