|
libraries/onchipcommunication/systemc/Ip.hGo to the documentation of this file.00001 //============================================================================ 00002 // Author : Alessandro Pinto <apinto@eecs.berkeley.edu> 00003 // University of California, Berkeley 00004 // 545 Cory Hall, Berkeley, CA 94720 00005 // Copyright : See COPYING file that comes with this distribution 00006 //============================================================================ 00007 00008 #ifndef IP_H_ 00009 #define IP_H_ 00010 00011 #include "systemc.h" 00012 #include "SourceIp.h" 00013 #include "DestIp.h" 00014 00015 using namespace std; 00016 00017 template<int FlitWidth> class Ip : public sc_module { 00018 00019 public: 00020 00021 sc_out< sc_bv< FlitWidth > > DataOut; 00022 sc_out< bool > ValidOut; 00023 sc_in< bool > AckIn; 00024 sc_in< bool > FullIn; 00025 00026 sc_in< sc_bv< FlitWidth > > DataIn; 00027 sc_in< bool > ValidIn; 00028 sc_out< bool > AckOut; 00029 sc_out< bool > FullOut; 00030 00031 sc_in< bool > Clock; 00032 00033 00034 00035 }; 00036 00037 #endif /*IP_H_*/ Generated on Sun Sep 7 18:37:42 2008 for COSI by 1.5.4 |