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

Subversion Repositories async_sdm_noc

[/] [async_sdm_noc/] [branches/] [init/] [sdm/] [define.h] - Diff between revs 30 and 31

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 30 Rev 31
Line 23... Line 23...
#include "sim_ana.h"
#include "sim_ana.h"
#include "pdu_def.h"
#include "pdu_def.h"
 
 
// channel bandwidth
// channel bandwidth
const unsigned int ChBW = 1;        // the data width of a single virtual circuit in unit of bytes
const unsigned int ChBW = 1;        // the data width of a single virtual circuit in unit of bytes
const unsigned int SubChN = 4;      // the number of virtual circuits or VCs per direction
const unsigned int SubChN = 1;      // the number of virtual circuits or VCs per direction
const unsigned int FSIZE_MAX = 512; // the longest frame has 512 bytes of  data
const unsigned int FSIZE_MAX = 512; // the longest frame has 512 bytes of  data
 
 
const unsigned int DIMX = 4;    // the X size of the mesh network
const unsigned int DIMX = 4;    // the X size of the mesh network
const unsigned int DIMY = 4;    // the Y size of the mesh network
const unsigned int DIMY = 4;    // the Y size of the mesh network
const unsigned int FLEN = 64;   // the payload size of a frame in unit of bytes
const unsigned int FLEN = 64;   // the payload size of a frame in unit of bytes
Line 43... Line 43...
extern sim_ana * ANA;           // declaration of the global simulation analysis module
extern sim_ana * ANA;           // declaration of the global simulation analysis module
 
 
typedef pdu_flit<ChBW> FLIT;    // define the template of flit
typedef pdu_flit<ChBW> FLIT;    // define the template of flit
typedef pdu_frame<ChBW> FRAME;  // define the template of frame
typedef pdu_frame<ChBW> FRAME;  // define the template of frame
 
 
 
// Channel Slicing will alter the port format
 
// #define ENABLE_CHANNEL_CLISING
 
 
#endif
#endif
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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