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/] [src_topolgy/] [custom1/] [Tcustom1Rcustom_look_ahead_routing.v] - Diff between revs 48 and 54

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

Rev 48 Rev 54
Line 6... Line 6...
 
 
 
 
/**********************************************************************
/**********************************************************************
**      File: /home/alireza/work/git/hca_git/ProNoC/mpsoc/rtl/src_topolgy/custom1/Tcustom1Rcustom_look_ahead_routing.v
**      File: /home/alireza/work/git/hca_git/ProNoC/mpsoc/rtl/src_topolgy/custom1/Tcustom1Rcustom_look_ahead_routing.v
**
**
**      Copyright (C) 2014-2019  Alireza Monemi
**      Copyright (C) 2014-2021  Alireza Monemi
**
**
**      This file is part of ProNoC 1.9.1
**      This file is part of ProNoC 2.0.0
**
**
**      ProNoC ( stands for Prototype Network-on-chip)  is free software:
**      ProNoC ( stands for Prototype Network-on-chip)  is free software:
**      you can redistribute it and/or modify it under the terms of the GNU
**      you can redistribute it and/or modify it under the terms of the GNU
**      Lesser General Public License as published by the Free Software Foundation,
**      Lesser General Public License as published by the Free Software Foundation,
**      either version 2 of the License, or (at your option) any later version.
**      either version 2 of the License, or (at your option) any later version.
Line 24... Line 24...
**
**
**      You should have received a copy of the GNU Lesser General Public
**      You should have received a copy of the GNU Lesser General Public
**      License along with ProNoC. If not, see <http:**www.gnu.org/licenses/>.
**      License along with ProNoC. If not, see <http:**www.gnu.org/licenses/>.
******************************************************************************/
******************************************************************************/
 
 
 
 
 
 `include "pronoc_def.v"
/*******************
/*******************
*  Tcustom1Rcustom_look_ahead_routing
*  Tcustom1Rcustom_look_ahead_routing
*******************/
*******************/
module Tcustom1Rcustom_look_ahead_routing  #(
module Tcustom1Rcustom_look_ahead_routing  #(
        parameter RAw = 3,
        parameter RAw = 3,
Line 50... Line 52...
        input reset,clk;
        input reset,clk;
 
 
        reg [EAw-1   :0] dest_e_addr_delay;
        reg [EAw-1   :0] dest_e_addr_delay;
        reg [EAw-1   :0] src_e_addr_delay;
        reg [EAw-1   :0] src_e_addr_delay;
 
 
        always @(posedge clk)begin
        always @ (`pronoc_clk_reset_edge )begin
                if(reset)begin
        if(`pronoc_reset)begin
                        dest_e_addr_delay<={EAw{1'b0}};
                        dest_e_addr_delay<={EAw{1'b0}};
                        src_e_addr_delay<={EAw{1'b0}};
                        src_e_addr_delay<={EAw{1'b0}};
                end else begin
                end else begin
                        dest_e_addr_delay<=dest_e_addr;
                        dest_e_addr_delay<=dest_e_addr;
                        src_e_addr_delay<=src_e_addr;
                        src_e_addr_delay<=src_e_addr;

powered by: WebSVN 2.1.0

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