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

Subversion Repositories tv80

[/] [tv80/] [trunk/] [sc_env/] [tv80_scenv.h] - Blame information for rev 111

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 111 ghutchis
/* This file contains defines which are common to both the
2
 * SystemC testbench and the SDCC/Z80 C tests.  This should
3
 * contain only defines and statements which can be understood
4
 * by both SDCC and gcc.  Any types referenced should use the
5
 * stdint.h types rather than int/char.
6
 */
7
 
8
#ifndef TV80_SCENV_H_
9
#define TV80_SCENV_H_
10
 
11
#define SIM_CTL_PORT     0x80
12
#define MSG_PORT         0x81
13
#define TIMEOUT_PORT     0x82
14
#define MAX_TIMEOUT_LOW  0x83
15
#define MAX_TIMEOUT_HIGH 0x84
16
#define INTR_CNTDWN      0x90
17
#define CKSUM_VALUE      0x91
18
#define CKSUM_ACCUM      0x92
19
#define INC_ON_READ      0x93
20
#define RANDVAL          0x94
21
#define NMI_CNTDWN       0x95
22
#define NMI_TRIG_OPCODE  0xA0
23
 
24
#define SC_TEST_PASSED   0x01
25
#define SC_TEST_FAILED   0x02
26
#define SC_DUMPON        0x03
27
#define SC_DUMPOFF       0x04
28
 
29
#endif /*TV80_SCENV_H_*/

powered by: WebSVN 2.1.0

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