OpenCores
URL https://opencores.org/ocsvn/noc/noc/trunk

Subversion Repositories noc

[/] [noc/] [src/] [router_handle.h] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 imori
/*
2
 * =====================================================================================
3
 *
4
 *       Filename:  router_handle.cc
5
 *
6
 *    Description:
7
 *
8
 *        Version:  1.0
9
 *        Created:  04/02/2009 12:35:32 AM
10
 *       Revision:  none
11
 *       Compiler:  gcc
12
 *
13
 *         Author:  Soontea Kwon (), Kwonst@skku.edu
14
 *        Company:  Mobile Electronics Lab
15
 *
16
 * =====================================================================================
17
 */
18
#ifndef ROUTER_HANDLE_H
19
#define ROUTER_HANDLE_H
20
 
21
#include <systemc>
22
using namespace sc_core;
23
using namespace sc_dt;
24
using namespace std;
25
 
26
class router_handle : public sc_module{
27
public:
28
        sc_in<bool>     clk;
29
        sc_in<bool> reset_n;
30
 
31
        sc_inout<sc_uint<16> c_data;
32
        sc_inout<sc_uint<16> w_data;
33
        sc_inout<sc_uint<16> e_data;
34
        sc_inout<sc_uint<16> n_data;
35
        sc_inout<sc_uint<16> s_data;
36
 
37
        SC_CTOR(router_handle){
38
                SC_THREAD(handle);
39
                sensitive << clk.pos();
40
        }
41
 
42
        void handle();
43
}
44
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.