source: trunk/lib/ring_signals_2/caba/source/include/ring_signals_2.h @ 8

Last change on this file since 8 was 8, checked in by simerabe, 14 years ago

new ring components for systemcass

  • Property svn:executable set to *
File size: 1.8 KB
RevLine 
[8]1/* -*- c++ -*-
2 * SOCLIB_LGPL_HEADER_BEGIN
3 *
4 * This file is part of SoCLib, GNU LGPLv2.1.
5 *
6 * SoCLib is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as published
8 * by the Free Software Foundation; version 2.1 of the License.
9 *
10 * SoCLib is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with SoCLib; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 * 02110-1301 USA
19 *
20 * SOCLIB_LGPL_HEADER_END
21 *
22 * Author   : Abdelmalek SI MERABET
23 * Date     : september 2008
24 * Copyright: UPMC - LIP6
25 */
26
27#ifndef SOCLIB_CABA_RING_SIGNALS_H_
28#define SOCLIB_CABA_RING_SIGNALS_H_
29
30namespace soclib { namespace caba {
31
32class RingSignals2
33{
34public:
35        bool       cmd_grant;
36        uint64_t   cmd_data;
37        bool       cmd_w;       // in : cmd_rok
38        bool       cmd_r;       // in : cmd_wok
39        bool       rsp_grant;   
40        uint64_t   rsp_data;
41        bool       rsp_w;       // in : rsp_rok
42        bool       rsp_r;       // in : rsp_wok
43
44        RingSignals2()
45        {}
46/*
47        RingSignals2(std::string name = (std::string)sc_gen_unique_name("ring_signals_2_"))
48          :     cmd_grant       ((name+"cmd_grant").c_str()),
49                cmd_data        ((name+"cmd_data").c_str()),
50                cmd_w           ((name+"cmd_w").c_str()),
51                cmd_r           ((name+"cmd_r").c_str()),       
52                rsp_grant       ((name+"rsp_grant").c_str()),
53                rsp_data        ((name+"rsp_data").c_str()),
54                rsp_w           ((name+"rsp_w").c_str()),
55                rsp_r           ((name+"rsp_r").c_str())
56        { }
57*/
58};
59
60}} // end namespace
61
62#endif /* SOCLIB_CABA_RING_SIGNALS_H_ */
Note: See TracBrowser for help on using the repository browser.