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

Subversion Repositories aemb

[/] [aemb/] [trunk/] [sw/] [cc/] [simboard.hh] - Blame information for rev 202

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

Line No. Rev Author Line
1 154 sybreon
/* $Id: simboard.hh,v 1.7 2008-04-28 20:40:40 sybreon Exp $
2 113 sybreon
**
3
** AEMB Function Verification C++ Testbench
4
** Copyright (C) 2004-2008 Shawn Tan 
5
**
6
** This file is part of AEMB.
7
**
8
** AEMB is free software: you can redistribute it and/or modify it
9
** under the terms of the GNU General Public License as published by
10
** the Free Software Foundation, either version 3 of the License, or
11
** (at your option) any later version.
12
**
13
** AEMB is distributed in the hope that it will be useful, but WITHOUT
14
** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15
** or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
16
** License for more details.
17
**
18
** You should have received a copy of the GNU General Public License
19
** along with AEMB.  If not, see .
20
*/
21
 
22
#include "aemb/msr.hh"
23 137 sybreon
#include 
24
#include 
25 113 sybreon
 
26
#ifndef SIMBOARD_HH
27
#define SIMBOARD_HH
28
 
29
#define CODE_FAIL 0xDEADBEEF
30
#define CODE_PASS 0xCAFEF00D
31
 
32 139 sybreon
#ifdef __cplusplus
33 154 sybreon
extern "C" {
34 139 sybreon
#endif
35
 
36 113 sybreon
/*
37
I/O FUNCTIONS
38
*/
39
void outbyte(char c)
40
{
41
  volatile char *COUT = (char *) 0xFFFFFFC0;
42
  *COUT = c;
43
}
44
 
45 137 sybreon
char inbyte()
46
{
47
  return 0;
48
}
49
 
50 154 sybreon
#ifdef __cplusplus
51
}
52 113 sybreon
#endif
53
 
54 154 sybreon
#endif
55
 
56 113 sybreon
/*
57
$Log: not supported by cvs2svn $
58 154 sybreon
Revision 1.6  2008/04/27 16:35:16  sybreon
59
Minor code cleanup.
60
 
61 146 sybreon
Revision 1.5  2008/04/27 16:04:42  sybreon
62
Minor cosmetic changes.
63
 
64 141 sybreon
Revision 1.4  2008/04/26 19:32:00  sybreon
65
Made headers C compatible.
66
 
67 139 sybreon
Revision 1.3  2008/04/26 18:07:19  sybreon
68
Minor cosmetic changes.
69
 
70 137 sybreon
Revision 1.2  2008/04/21 12:13:12  sybreon
71
Passes arithmetic tests with single thread.
72
 
73 125 sybreon
Revision 1.1  2008/04/11 15:32:28  sybreon
74
initial checkin
75
 
76 113 sybreon
*/

powered by: WebSVN 2.1.0

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