00001
00002
00003
00004
00005
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