URL
https://opencores.org/ocsvn/an-fpga-implementation-of-low-latency-noc-based-mpsoc/an-fpga-implementation-of-low-latency-noc-based-mpsoc/trunk
Show entire file |
Details |
Blame |
View Log
Rev 55 |
Rev 56 |
Line 5... |
Line 5... |
|
|
//`define SYNC_RESET_MODE /* Reset is asynchronous by default. Uncomment this line for having synchronous reset*/
|
//`define SYNC_RESET_MODE /* Reset is asynchronous by default. Uncomment this line for having synchronous reset*/
|
//`define ACTIVE_LOW_RESET_MODE /* Reset is active high by deafult. Uncomment this line for having active low reset*/
|
//`define ACTIVE_LOW_RESET_MODE /* Reset is active high by deafult. Uncomment this line for having active low reset*/
|
|
|
|
|
|
// `define IMPORT_PRONOC_PCK
|
|
/* pronoc.sv is imported by default. Inorder to support Multiple physical NoCs with different
|
|
you need to compile each NoC as a separate library (passing USE_LIB in compilationtime).
|
|
Comment IMPORT_PRONOC_PCK macro to include pronoc_pck.sv as a file instead of importing.
|
|
Including pronoc.sv allows having Multiple physical NoCs with different configurations
|
|
where configuration can be set via parameter redefinition at NoC_Top module */
|
|
|
|
|
|
|
`ifdef SYNC_RESET_MODE
|
`ifdef SYNC_RESET_MODE
|
`define pronoc_clk_reset_edge posedge clk
|
`define pronoc_clk_reset_edge posedge clk
|
`else
|
`else
|
`ifdef ACTIVE_LOW_RESET_MODE
|
`ifdef ACTIVE_LOW_RESET_MODE
|
Line 32... |
Line 40... |
`ifdef USE_LIB
|
`ifdef USE_LIB
|
`uselib lib=`USE_LIB
|
`uselib lib=`USE_LIB
|
`endif
|
`endif
|
|
|
|
|
|
|
|
`ifdef IMPORT_PRONOC_PCK
|
|
`define NOC_CONF import pronoc_pkg::*;
|
|
`define PRONOC_PKG
|
|
`else
|
|
`define NOC_CONF ```define PRONOC_PKG \
|
|
```include "pronoc_pkg.sv"
|
|
`endif
|
|
|
|
|
|
|
|
|
|
|
|
|
/****************
|
/****************
|
TRACE dump
|
TRACE dump
|
*****************/
|
*****************/
|
//uncomment following define to enable TRACE dumping
|
//uncomment following define to enable TRACE dumping
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.