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

Subversion Repositories funbase_ip_library

[/] [funbase_ip_library/] [trunk/] [TUT/] [ip.swp.api/] [mcapi_transport_nios/] [1.0/] [src/] [mapping.h] - Blame information for rev 145

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 145 lanttu
// **************************************************************************
2
// File             : mapping.h
3
// Author           : Lauri Matilainen
4
// Date             : 17.09.2010
5
// Decription       : Header-file for funcapi communication in hibi network.
6
//                   
7
//                    
8
// Version history  : 17.09.2005    Lauri Matilainen   1st mod version  
9
//
10
//
11
//
12
//
13
// **************************************************************************
14
 
15
 
16
 
17
#ifndef MAPPING_H
18
#define MAPPING_H
19
 
20
 
21
#define NIOS_0_NODE_ID 0
22
#define NIOS_1_NODE_ID 1
23
#define DCT_NODE_ID 2
24
 
25
 
26
#define NUM_OF_NODES 3
27
#define RX_DATA_CH 0
28
 
29
#define MSG_SIZE 32
30
#define PKT_SIZE 32
31
#define PKT_HEADER 0x1
32
 
33
 
34
 
35
// Hibi addresses for corresponding funcapi nodes ie. table_index  = node_num
36
unsigned int hibi_address_table[NUM_OF_NODES] = {0x01000000, 0x03000000};
37
 
38
#endif // MAPPING_H
39
 
40
 
41
 

powered by: WebSVN 2.1.0

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