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/] [common/] [custom_lkh_routing.v] - Diff between revs 54 and 56

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

Rev 54 Rev 56
`timescale 1ns / 1ps
`timescale 1ns / 1ps
 
 
module custom_lkh_routing  #(
module custom_lkh_routing  #(
        parameter TOPOLOGY = "CUSTOM_NAME",
        parameter TOPOLOGY = "CUSTOM_NAME",
        parameter ROUTE_NAME = "CUSTOM_NAME",
    parameter ROUTE_NAME = "CUSTOM_NAME",
        parameter ROUTE_TYPE = "DETERMINISTIC",
        parameter ROUTE_TYPE = "DETERMINISTIC",
        parameter RAw = 3,
        parameter RAw = 3,
        parameter EAw = 3,
        parameter EAw = 3,
        parameter DSTPw=4
        parameter DSTPw=4
)
)
(
(
        current_r_addr,
        current_r_addr,
        dest_e_addr,
        dest_e_addr,
        src_e_addr,
        src_e_addr,
        destport,
        destport,
        reset,
        reset,
        clk
        clk
);
);
 
 
        input   [RAw-1   :0] current_r_addr;
        input   [RAw-1   :0] current_r_addr;
        input   [EAw-1   :0] dest_e_addr;
        input   [EAw-1   :0] dest_e_addr;
        input   [EAw-1   :0] src_e_addr;
        input   [EAw-1   :0] src_e_addr;
        output  [DSTPw-1 :0] destport;
        output  [DSTPw-1 :0] destport;
        input reset,clk;
        input reset,clk;
 
 
    generate
    generate
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
        //do not modify this line ===Tcustom1Rcustom===
        //do not modify this line ===Tcustom1Rcustom===
    if(TOPOLOGY == "custom1" && ROUTE_NAME== "custom" ) begin : Tcustom1Rcustom
    if(TOPOLOGY == "custom1" && ROUTE_NAME== "custom" ) begin : Tcustom1Rcustom
 
 
           Tcustom1Rcustom_look_ahead_routing  #(
           Tcustom1Rcustom_look_ahead_routing  #(
            .RAw(RAw),
            .RAw(RAw),
            .EAw(EAw),
            .EAw(EAw),
            .DSTPw(DSTPw)
            .DSTPw(DSTPw)
        )
        )
        the_lkh_routing
        the_lkh_routing
        (
        (
            .current_r_addr(current_r_addr),
            .current_r_addr(current_r_addr),
            .dest_e_addr(dest_e_addr),
            .dest_e_addr(dest_e_addr),
            .src_e_addr(src_e_addr),
            .src_e_addr(src_e_addr),
            .destport(destport),
            .destport(destport),
            .reset(reset),
            .reset(reset),
            .clk(clk)
            .clk(clk)
        );
        );
 
 
    end
    end
 
 
    endgenerate
    endgenerate
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
endmodule
endmodule
 
 

powered by: WebSVN 2.1.0

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