OpenCores
URL https://opencores.org/ocsvn/dma_axi/dma_axi/trunk

Subversion Repositories dma_axi

[/] [dma_axi/] [trunk/] [src/] [dma_axi64/] [dma_axi64_core0_ch_periph_mux.v] - Diff between revs 2 and 4

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

Rev 2 Rev 4
 
/////////////////////////////////////////////////////////////////////
 
////                                                             ////
 
////  Author: Eyal Hochberg                                      ////
 
////          eyal@provartec.com                                 ////
 
////                                                             ////
 
////  Downloaded from: http://www.opencores.org                  ////
 
/////////////////////////////////////////////////////////////////////
 
////                                                             ////
 
//// Copyright (C) 2010 Provartec LTD                            ////
 
//// www.provartec.com                                           ////
 
//// info@provartec.com                                          ////
 
////                                                             ////
 
//// This source file may be used and distributed without        ////
 
//// restriction provided that this copyright statement is not   ////
 
//// removed from the file and that any derivative work contains ////
 
//// the original copyright notice and the associated disclaimer.////
 
////                                                             ////
 
//// This source file is free software; 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.////
 
////                                                             ////
 
//// This source is distributed in the hope that it will be      ////
 
//// useful, but WITHOUT ANY WARRANTY; without even the implied  ////
 
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR     ////
 
//// PURPOSE.  See the GNU Lesser General Public License for more////
 
//// details. http://www.gnu.org/licenses/lgpl.html              ////
 
////                                                             ////
 
/////////////////////////////////////////////////////////////////////
//---------------------------------------------------------
//---------------------------------------------------------
//-- File generated by RobustVerilog parser
//-- File generated by RobustVerilog parser
//-- Version: 1.0
//-- Version: 1.0
//-- Invoked Fri Mar 25 23:36:57 2011
//-- Invoked Fri Mar 25 23:36:57 2011
//--
//--
//-- Source file: dma_ch_periph_mux.v
//-- Source file: dma_ch_periph_mux.v
//---------------------------------------------------------
//---------------------------------------------------------
 
 
 
 
 
 
 
 
module dma_axi64_core0_ch_periph_mux(clk,reset,clken,periph_req,periph_clr,periph_ready,periph_num,clr_valid,clr);
module dma_axi64_core0_ch_periph_mux(clk,reset,clken,periph_req,periph_clr,periph_ready,periph_num,clr_valid,clr);
 
 
   input                    clk;
   input                    clk;
   input             reset;
   input             reset;
   input             clken;
   input             clken;
 
 
   input [31:1]         periph_req;
   input [31:1]         periph_req;
   output [31:1]         periph_clr;
   output [31:1]         periph_clr;
   output             periph_ready;
   output             periph_ready;
   input [4:0]              periph_num;
   input [4:0]              periph_num;
   input             clr_valid;
   input             clr_valid;
   input             clr;
   input             clr;
 
 
 
 
   reg [31:1]             periph_clr;
   reg [31:1]             periph_clr;
   wire [31:0]             periph_req_full;
   wire [31:0]             periph_req_full;
   wire             periph_ready_pre;
   wire             periph_ready_pre;
 
 
 
 
   always @(/*AUTOSENSE*/clken or clr or clr_valid or periph_num)
   always @(/*AUTOSENSE*/clken or clr or clr_valid or periph_num)
     begin
     begin
    periph_clr = {31{1'b0}};
    periph_clr = {31{1'b0}};
 
 
    periph_clr[periph_num] = clr & clr_valid & clken;
    periph_clr[periph_num] = clr & clr_valid & clken;
     end
     end
 
 
 
 
   assign periph_req_full  = {periph_req, 1'b1}; //bit 0 is memory
   assign periph_req_full  = {periph_req, 1'b1}; //bit 0 is memory
   assign periph_ready_pre = periph_req_full[periph_num];
   assign periph_ready_pre = periph_req_full[periph_num];
 
 
   prgen_delay #(1) delay_ready  (.clk(clk), .reset(reset), .din(periph_ready_pre), .dout(periph_ready));
   prgen_delay #(1) delay_ready  (.clk(clk), .reset(reset), .din(periph_ready_pre), .dout(periph_ready));
 
 
 
 
endmodule
endmodule
 
 
 
 
 
 
 
 
 
 
 
 
 
 

powered by: WebSVN 2.1.0

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