URL
https://opencores.org/ocsvn/tv80/tv80/trunk
[/] [tv80/] [trunk/] [tests/] [tv80_env.h] - Diff between revs 89 and 111
Show entire file |
Details |
Blame |
View Log
Rev 89 |
Rev 111 |
Line 26... |
Line 26... |
// programs to print out strings in the test log.
|
// programs to print out strings in the test log.
|
|
|
#ifndef TV80_ENV_H
|
#ifndef TV80_ENV_H
|
#define TV80_ENV_H
|
#define TV80_ENV_H
|
|
|
|
#include "tv80_scenv.h"
|
|
|
sfr at 0x80 sim_ctl_port;
|
sfr at 0x80 sim_ctl_port;
|
sfr at 0x81 msg_port;
|
sfr at 0x81 msg_port;
|
sfr at 0x82 timeout_port;
|
sfr at 0x82 timeout_port;
|
sfr at 0x83 max_timeout_low;
|
sfr at 0x83 max_timeout_low;
|
sfr at 0x84 max_timeout_high;
|
sfr at 0x84 max_timeout_high;
|
Line 39... |
Line 41... |
sfr at 0x93 inc_on_read;
|
sfr at 0x93 inc_on_read;
|
sfr at 0x94 randval;
|
sfr at 0x94 randval;
|
sfr at 0x95 nmi_cntdwn;
|
sfr at 0x95 nmi_cntdwn;
|
sfr at 0xA0 nmi_trig_opcode;
|
sfr at 0xA0 nmi_trig_opcode;
|
|
|
#define SC_TEST_PASSED 0x01
|
/* now included from scenv.h
|
#define SC_TEST_FAILED 0x02
|
#define SC_TEST_PASSED 0x01
|
#define SC_DUMPON 0x03
|
#define SC_TEST_FAILED 0x02
|
#define SC_DUMPOFF 0x04
|
#define SC_DUMPON 0x03
|
|
#define SC_DUMPOFF 0x04
|
|
*/
|
|
|
void print (char *string)
|
void print (char *string)
|
{
|
{
|
char *iter;
|
char *iter;
|
char timeout;
|
char timeout;
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.