Mercurial > pygar
view modules/bluespec/Pygar/lab4/ProcessorSystem.h @ 23:90197e3375e2 pygar svn.24
[svn r24] added testing, but something is wrong with our c++ file.
author | rlm |
---|---|
date | Wed, 28 Apr 2010 08:19:09 -0400 |
parents | 74716e9a81cc |
children |
line wrap: on
line source
1 //2 // INTEL CONFIDENTIAL3 // Copyright (c) 2008 Intel Corp. Recipient is granted a non-sublicensable4 // copyright license under Intel copyrights to copy and distribute this code5 // internally only. This code is provided "AS IS" with no support and with no6 // warranties of any kind, including warranties of MERCHANTABILITY,7 // FITNESS FOR ANY PARTICULAR PURPOSE or INTELLECTUAL PROPERTY INFRINGEMENT.8 // By making any use of this code, Recipient agrees that no other licenses9 // to any Intel patents, trade secrets, copyrights or other intellectual10 // property rights are granted herein, and no other licenses shall arise by11 // estoppel, implication or by operation of law. Recipient accepts all risks12 // of use.13 //15 // possibly use include paths to hide existing modules?17 #ifndef __PROCESSOR_SYSTEM_CONNECTED_APPLICATION__18 #define __PROCESSOR_SYSTEM_CONNECTED_APPLICATION__20 #include <stdio.h>21 #include <pthread.h>23 #include "asim/provides/virtual_platform.h"25 #include "asim/rrr/client_stub_PROCESSORSYSTEMRRR.h"27 typedef class CONNECTED_APPLICATION_CLASS* CONNECTED_APPLICATION;28 class CONNECTED_APPLICATION_CLASS : public PLATFORMS_MODULE_CLASS29 {30 private:31 PROCESSORSYSTEMRRR_CLIENT_STUB clientStub;33 public:34 CONNECTED_APPLICATION_CLASS(VIRTUAL_PLATFORM vp);35 ~CONNECTED_APPLICATION_CLASS();37 // init38 void Init();40 // main41 void Main();42 };44 #endif