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

Subversion Repositories altor32

[/] [altor32/] [trunk/] [rtl/] [sim/] [top_if.h] - Rev 32

Go to most recent revision | Compare with Previous | Blame | View Log

#ifndef __TOP_IF_H__
#define __TOP_IF_H__
 
//--------------------------------------------------------------------
// Defines
//--------------------------------------------------------------------
#define            TOP_RES_FAULT            -1
#define            TOP_RES_OK                0
#define            TOP_RES_MAX_CYCLES        1
#define            TOP_RES_BREAKPOINT        2
 
//--------------------------------------------------------------------
// Prototypes
//--------------------------------------------------------------------
int                top_init(void);
int                top_load(unsigned int addr, unsigned char val);
void               top_done(void);
int 			   top_run(unsigned int pc, int cycles, int intr_after_cycles);
int                top_setbreakpoint(int bp, unsigned int pc);
 
#endif
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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