⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ram_18d.v

📁 XILINX memory interface generator. XILINX的外部存储器接口。
💻 V
字号:
`timescale 1ns/100ps

module RAM_18D (
	         DPO,  
	         A0,   
	         A1,   
	         A2,   
	         A3,   
	         D,    
	         DPRA0,
	         DPRA1,
	         DPRA2,
	         DPRA3,
	         WCLK, 
	         WE   
                 );

parameter memory_width = 18 -1; // Size of the data bus -1
               
   input          A0;
   input          A1;
   input          A2;   
   input 	  A3;
   input 	  DPRA0; 
   input 	  DPRA1;   
   input 	  DPRA2;
   input 	  DPRA3;
   input 	  WCLK;
   input          WE;
   input [17:0]   D;

   output [17:0]  DPO;

RAM16X1D  B_[memory_width : 0] ( .D(D[memory_width : 0]), .WE(WE), .WCLK(WCLK), .A0(A0), .A1(A1), .A2(A2), .A3(A3), .DPRA0(DPRA0), .DPRA1(DPRA1), .DPRA2(DPRA2), .DPRA3(DPRA3), .SPO(open), .DPO(DPO[memory_width : 0]));                                                                                                                                                                                                                                       
                                                                                                                                                                                                                            
endmodule   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -