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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [sim/] [trace.h] - Blame information for rev 275

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 275 hellwig
/*
2
 * trace.h -- trace buffer
3
 */
4
 
5
 
6
#ifndef _TRACE_H_
7
#define _TRACE_H_
8
 
9
 
10
#define TRACE_BUF_ADDR  12
11
#define TRACE_BUF_SIZE  (1 << TRACE_BUF_ADDR)
12
#define TRACE_BUF_MASK  (TRACE_BUF_SIZE - 1)
13
 
14
 
15
void traceFetch(Word pc);
16
void traceExec(Word instr, Word locus);
17
void traceLoadWord(Word addr);
18
void traceLoadHalf(Word addr);
19
void traceLoadByte(Word addr);
20
void traceStoreWord(Word addr);
21
void traceStoreHalf(Word addr);
22
void traceStoreByte(Word addr);
23
void traceException(Word priority);
24
char *traceShow(int back);
25
 
26
void traceReset(void);
27
void traceInit(void);
28
void traceExit(void);
29
 
30
 
31
#endif /* _TRACE_H_ */

powered by: WebSVN 2.1.0

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