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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [sim/] [trace.h] - Rev 282

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

/*
 * trace.h -- trace buffer
 */
 
 
#ifndef _TRACE_H_
#define _TRACE_H_
 
 
#define TRACE_BUF_ADDR	12
#define TRACE_BUF_SIZE	(1 << TRACE_BUF_ADDR)
#define TRACE_BUF_MASK	(TRACE_BUF_SIZE - 1)
 
 
void traceFetch(Word pc);
void traceExec(Word instr, Word locus);
void traceLoadWord(Word addr);
void traceLoadHalf(Word addr);
void traceLoadByte(Word addr);
void traceStoreWord(Word addr);
void traceStoreHalf(Word addr);
void traceStoreByte(Word addr);
void traceException(Word priority);
char *traceShow(int back);
 
void traceReset(void);
void traceInit(void);
void traceExit(void);
 
 
#endif /* _TRACE_H_ */
 

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.