summaryrefslogtreecommitdiff
path: root/usrp/fpga/models/fifo_1k.v
blob: acfa4d1762599cce43834ba3b94ce9b7c3fc2492 (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_1k
  (  input [15:0] data,
     input 	wrreq,
     input 	rdreq,
     input 	rdclk,
     input 	wrclk,
     input 	aclr,
     output [15:0] q,
     output 	 rdfull,
     output 	 rdempty,
     output [9:0] rdusedw,
     output 	 wrfull,
     output 	 wrempty,
     output [9:0]  wrusedw
     );

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