URL
https://opencores.org/ocsvn/an-fpga-implementation-of-low-latency-noc-based-mpsoc/an-fpga-implementation-of-low-latency-noc-based-mpsoc/trunk
Subversion Repositories an-fpga-implementation-of-low-latency-noc-based-mpsoc
[/] [an-fpga-implementation-of-low-latency-noc-based-mpsoc/] [trunk/] [mpsoc/] [rtl/] [pronoc_def.v] - Rev 56
Compare with Previous | Blame | View Log
`ifndef PRONOC_DEF `define PRONOC_DEF `timescale 1ns/1ps //`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 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 `define pronoc_clk_reset_edge posedge clk `else `ifdef ACTIVE_LOW_RESET_MODE `define pronoc_clk_reset_edge posedge clk or negedge reset `else `define pronoc_clk_reset_edge posedge clk or posedge reset `endif `endif `ifdef ACTIVE_LOW_RESET_MODE `define pronoc_reset !reset `else `define pronoc_reset reset `endif `ifdef USE_LIB `uselib lib=`USE_LIB `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 *****************/ //uncomment following define to enable TRACE dumping // `define TRACE_DUMP_PER_NoC // dump all in/out traces to the NoC in single file // `define TRACE_DUMP_PER_ROUTER // dump each router in/out traces in a seprate file // `define TRACE_DUMP_PER_PORT // dump each router port in/out in a single file `endif