Line 6... |
Line 6... |
|
|
|
|
/**********************************************************************
|
/**********************************************************************
|
** File: /home/alireza/work/git/hca_git/ProNoC/mpsoc/rtl/src_topolgy/custom1/Tcustom1Rcustom_look_ahead_routing_genvar.v
|
** File: /home/alireza/work/git/hca_git/ProNoC/mpsoc/rtl/src_topolgy/custom1/Tcustom1Rcustom_look_ahead_routing_genvar.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_genvar
|
* Tcustom1Rcustom_look_ahead_routing_genvar
|
******************************/
|
******************************/
|
module Tcustom1Rcustom_look_ahead_routing_genvar #(
|
module Tcustom1Rcustom_look_ahead_routing_genvar #(
|
parameter RAw = 3,
|
parameter RAw = 3,
|
Line 49... |
Line 51... |
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;
|