URL
https://opencores.org/ocsvn/an-fpga-implementation-of-low-latency-noc-based-mpsoc/an-fpga-implementation-of-low-latency-noc-based-mpsoc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 54 |
Rev 55 |
`ifndef PRONOC_DEF
|
`ifndef PRONOC_DEF
|
`define PRONOC_DEF
|
`define PRONOC_DEF
|
|
|
`timescale 1ns/1ps
|
`timescale 1ns/1ps
|
|
|
//`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*/
|
|
|
|
|
|
|
`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
|
`define pronoc_clk_reset_edge posedge clk or negedge reset
|
`define pronoc_clk_reset_edge posedge clk or negedge reset
|
`else
|
`else
|
`define pronoc_clk_reset_edge posedge clk or posedge reset
|
`define pronoc_clk_reset_edge posedge clk or posedge reset
|
`endif
|
`endif
|
`endif
|
`endif
|
|
|
|
|
|
|
|
|
`ifdef ACTIVE_LOW_RESET_MODE
|
`ifdef ACTIVE_LOW_RESET_MODE
|
`define pronoc_reset !reset
|
`define pronoc_reset !reset
|
`else
|
`else
|
`define pronoc_reset reset
|
`define pronoc_reset reset
|
`endif
|
`endif
|
|
|
|
|
|
|
`ifdef USE_LIB
|
`ifdef USE_LIB
|
`uselib lib=`USE_LIB
|
`uselib lib=`USE_LIB
|
`endif
|
`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
|
`endif
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.