OpenCores
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] - Diff between revs 55 and 56

Only display areas with differences | Details | Blame | View Log

Rev 55 Rev 56
`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*/
 
 
 
 
 
  // `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
                        `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
 
 
 
 
 
 
 
   `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
 
 
 
 
   // `define TRACE_DUMP_PER_NoC            // dump all in/out traces to the NoC in single file
   // `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_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
  // `define TRACE_DUMP_PER_PORT       // dump each router port in/out in a single file
 
 
 
 
 
 
 
 
 
 
`endif
`endif
 
 
 
 

powered by: WebSVN 2.1.0

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