aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp1/models/fifo_4k.v
blob: 1fa4ba0a7400d0a28a0520a717f917f96d836b9f (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
module fifo_4k
  (  input [15:0] data,
     input 	wrreq,
     input 	rdreq,
     input 	rdclk,
     input 	wrclk,
     input 	aclr,
     output [15:0] q,
     output 	 rdfull,
     output 	 rdempty,
     output [11:0] rdusedw,
     output 	 wrfull,
     output 	 wrempty,
     output [11:0]  wrusedw
     );

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