mirror of
				https://github.com/RangeNetworks/openbts.git
				synced 2025-10-31 20:03:33 +00:00 
			
		
		
		
	git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3457 19bc5d8c-e614-43d4-8b26-e1612bc8e597
		
			
				
	
	
		
			25 lines
		
	
	
		
			501 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			501 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
| 
 | |
| 
 | |
| module fifo_2k
 | |
|   (  input [15:0] data,
 | |
|      input 	wrreq,
 | |
|      input 	rdreq,
 | |
|      input 	rdclk,
 | |
|      input 	wrclk,
 | |
|      input 	aclr,
 | |
|      output [15:0] q,
 | |
|      output 	 rdfull,
 | |
|      output 	 rdempty,
 | |
|      output [10:0] rdusedw,
 | |
|      output 	 wrfull,
 | |
|      output 	 wrempty,
 | |
|      output [10:0]  wrusedw
 | |
|      );
 | |
| 
 | |
| fifo #(.width(16),.depth(2048),.addr_bits(11)) fifo_2k 
 | |
|   ( data, wrreq, rdreq, rdclk, wrclk, aclr, q,
 | |
|     rdfull, rdempty, rdusedw, wrfull, wrempty, wrusedw);
 | |
|    
 | |
| endmodule // fifo_1k
 | |
|    
 |