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

Subversion Repositories async_sdm_noc

[/] [async_sdm_noc/] [trunk/] [vc/] [tb/] [netnode.v] - Blame information for rev 47

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 44 wsong0210
/*
2
 Asynchronous SDM NoC
3
 (C)2011 Wei Song
4
 Advanced Processor Technologies Group
5
 Computer Science, the Univ. of Manchester, UK
6
 
7
 Authors:
8
 Wei Song     wsong83@gmail.com
9
 
10
 License: LGPL 3.0 or later
11
 
12
 The SystemC module of network node including the processing element and the network interface.
13
 Currently the transmission FIFO is 500 frame deep.
14
 
15
 History:
16
 27/02/2011  Initial version. <wsong83@gmail.com>
17
 05/06/2011  Clean up for opensource. <wsong83@gmail.com>
18
 
19
*/
20
 
21
`include "define.v"
22
 
23
module NetNode (
24
                doa, doc, do0, do1, do2, do3, doft, dovc, doca,
25
                dia, dic, di0, di1, di2, di3, dift, divc, dica,
26
                rst_n)
27
   //
28
   // The foreign attribute string value must be a SystemC value.
29
   //
30
   (* integer foreign = "SystemC";
31
    *);
32
   //
33
   // Verilog port names must match port names exactly as they appear in the
34
   // sc_module class in SystemC; they must also match in order, mode, and type.
35
   //
36
   parameter DW = 32;
37
   parameter VCN = 1;
38
   parameter FT = 3;
39
   parameter x = 2;
40
   parameter y = 2;
41
   parameter SCN = DW/2;
42
 
43
   output               doa ;
44
   output [VCN-1:0]      doc ;
45
   input [SCN-1:0]       do0 ;
46
   input [SCN-1:0]       do1 ;
47
   input [SCN-1:0]       do2 ;
48
   input [SCN-1:0]       do3 ;
49
   input [FT-1:0]        doft;
50
   input [VCN-1:0]       dovc;
51
   input [VCN-1:0]       doca;
52
   input                dia;
53
   input [VCN-1:0]       dic;
54
   output [SCN-1:0]      di0;
55
   output [SCN-1:0]      di1;
56
   output [SCN-1:0]      di2;
57
   output [SCN-1:0]      di3;
58
   output [FT-1:0]       dift;
59
   output [VCN-1:0]      divc;
60
   output [VCN-1:0]      dica;
61
 
62
 
63
   input                rst_n;
64
 
65
 
66
endmodule // NetNode
67
 
68
 

powered by: WebSVN 2.1.0

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