summaryrefslogtreecommitdiff
path: root/usrp/fpga/models/fifo_4k_18.v
blob: 3efbf74f00264723793a4e72eda4fa391f22ff9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26


module fifo_4k_18
  (input  [17:0] data,
   input         wrreq,
   input         wrclk,
   output 	 wrfull,
   output 	 wrempty,
   output [11:0] wrusedw,

   output [17:0] q,
   input         rdreq,
   input         rdclk,
   output 	 rdfull,
   output 	 rdempty,
   output [11:0] rdusedw,

   input 	 aclr );

fifo #(.width(18),.depth(4096),.addr_bits(12)) fifo_4k 
  ( data, wrreq, rdreq, rdclk, wrclk, aclr, q,
    rdfull, rdempty, rdusedw, wrfull, wrempty, wrusedw);
   
endmodule // fifo_4k_18