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

Subversion Repositories srdydrdy_lib

[/] [srdydrdy_lib/] [trunk/] [rtl/] [verilog/] [closure/] [sd_iofull.v] - Blame information for rev 28

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ghutchis
//----------------------------------------------------------------------
2
// Srdy/Drdy input/output block
3
//
4
// Halts timing on all signals with efficiency of 1.0.  Note that this
5
// block is simply a combination of sd_input and sd_output.
6
//
7
// Naming convention: c = consumer, p = producer, i = internal interface
8
//----------------------------------------------------------------------
9
// Author: Guy Hutchison
10
//
11
// This block is uncopyrighted and released into the public domain.
12
//----------------------------------------------------------------------
13
 
14
module sd_iofull
15
  #(parameter width = 8)
16
  (
17
   input              clk,
18
   input              reset,
19
   input              c_srdy,
20
   output             c_drdy,
21
   input [width-1:0]  c_data,
22
 
23
   output             p_srdy,
24
   input              p_drdy,
25
   output [width-1:0] p_data
26
   );
27
 
28
  wire                i_irdy, i_drdy;
29
  wire [width-1:0]    i_data;
30
 
31
  sd_input #(width) in
32
    (
33
     .c_drdy                            (c_drdy),
34
     .ip_srdy                           (i_srdy),
35
     .ip_data                           (i_data),
36
     .clk                               (clk),
37
     .reset                             (reset),
38
     .c_srdy                            (c_srdy),
39
     .c_data                            (c_data),
40
     .ip_drdy                           (i_drdy));
41
 
42
  sd_output #(width) out
43
    (
44
     .ic_drdy                           (i_drdy),
45
     .p_srdy                            (p_srdy),
46
     .p_data                            (p_data),
47
     .clk                               (clk),
48
     .reset                             (reset),
49
     .ic_srdy                           (i_srdy),
50
     .ic_data                           (i_data),
51
     .p_drdy                            (p_drdy));
52
 
53
endmodule

powered by: WebSVN 2.1.0

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