|
Message
From: cvs at opencores.org<cvs@o...>
Date: Sun Apr 27 18:35:16 CEST 2008
Subject: [cvs-checkins] MODIFIED: aemb ...
Date: 00/08/04 27:18:35 Modified: aemb/sw/cc simboard.hh Log: Minor code cleanup. Revision Changes Path 1.6 aemb/sw/cc/simboard.hh http://www.opencores.org/cvsweb.shtml/aemb/sw/cc/simboard.hh.diff?r1=1.5&r2=1.6 (In the diff below, changes in quantity of whitespace are not shown.) Index: simboard.hh =================================================================== RCS file: /cvsroot/sybreon/aemb/sw/cc/simboard.hh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -b -r1.5 -r1.6 --- simboard.hh 27 Apr 2008 16:04:42 -0000 1.5 +++ simboard.hh 27 Apr 2008 16:35:16 -0000 1.6 @@ -1,4 +1,4 @@ -/* $Id: simboard.hh,v 1.5 2008/04/27 16:04:42 sybreon Exp $ +/* $Id: simboard.hh,v 1.6 2008/04/27 16:35:16 sybreon Exp $ ** ** AEMB Function Verification C++ Testbench ** Copyright (C) 2004-2008 Shawn Tan <shawn.tan@a...> @@ -29,11 +29,6 @@ #define CODE_FAIL 0xDEADBEEF #define CODE_PASS 0xCAFEF00D - -/* -INTERRUPT TESTS -*/ - #ifdef __cplusplus using namespace aemb; #endif @@ -52,30 +47,13 @@ return 0; } -void outfloat(float f) -{ - volatile float *FOUT = (float *) 0xFFFFFFD0; - *FOUT = f; -} - -void outword(long l) -{ - volatile long *DOUT = (long *) 0xFFFFFFD0; - *DOUT = l; -} - -void trap(long e) -{ - outword(e); - outword(CODE_FAIL); - // hang the machine - exit(e); -} - #endif /* $Log: simboard.hh,v $ +Revision 1.6 2008/04/27 16:35:16 sybreon +Minor code cleanup. + Revision 1.5 2008/04/27 16:04:42 sybreon Minor cosmetic changes.
|
 |