URL
https://opencores.org/ocsvn/thor/thor/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 32 |
Rev 35 |
Line 1... |
Line 1... |
#pragma once
|
#pragma once
|
#include "clsThor.h"
|
#include "clsThor.h"
|
|
// Test System Emulator
|
|
//
|
|
// Emulates the test system that the Thor processor is part of.
|
|
// Currently the screen display is not fully implemented as an
|
|
// emulation. The register set isn't present.
|
|
// Other devices present in the system are aggregated into the
|
|
// clsSystem class.
|
|
|
extern char refscreen;
|
extern char refscreen;
|
extern unsigned int dataBreakpoints[30];
|
extern unsigned int dataBreakpoints[30];
|
extern int numDataBreakpoints;
|
extern int numDataBreakpoints;
|
extern bool runstop;
|
extern bool runstop;
|
Line 27... |
Line 34... |
bool quit;
|
bool quit;
|
clsThor cpu2;
|
clsThor cpu2;
|
clsPIC pic1;
|
clsPIC pic1;
|
clsUart uart1;
|
clsUart uart1;
|
clsKeyboard keybd;
|
clsKeyboard keybd;
|
|
clsSevenSeg sevenseg;
|
|
|
clsSystem();
|
clsSystem();
|
void Reset();
|
void Reset();
|
unsigned __int64 Read(unsigned int ad, int sr=0);
|
unsigned __int64 Read(unsigned int ad, int sr=0);
|
unsigned __int64 ReadByte(unsigned int ad);
|
unsigned __int64 ReadByte(unsigned int ad);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.