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

📄 write_burst_4.v

📁 XILINX memory interface generator. XILINX的外部存储器接口。
💻 V
字号:
//*****************************************************************************************
//**
//**  www.xilinx.com               Copyright (c) 1984-2004 Xilinx, Inc. All rights reserved
//** 
//**  QDR(tm)-II SRAM Virtex(tm)-II Interface                         Verilog instanciation
//**
//*****************************************************************************************
//**
//**  Disclaimer: LIMITED WARRANTY AND DISCLAMER. These designs are 
//**              provided to you \"as is\". Xilinx and its licensors make and you 
//**              receive no warranties or conditions, express, implied, statutory 
//**              or otherwise, and Xilinx specifically disclaims any implied 
//**              warranties of merchantability, non-infringement, or fitness for a 
//**              particular purpose. Xilinx does not warrant that the functions 
//**              contained in these designs will meet your requirements, or that the
//**              operation of these designs will be uninterrupted or error free, or 
//**              that defects in the Designs will be corrected. Furthermore, Xilinx 
//**              does not warrant or make any representations regarding use or the 
//**              results of the use of the designs in terms of correctness, accuracy, 
//**              reliability, or otherwise. 
//**
//**              LIMITATION OF LIABILITY. In no event will Xilinx or its licensors be 
//**              liable for any loss of data, lost profits, cost or procurement of 
//**              substitute goods or services, or for any special, incidental, 
//**              consequential, or indirect damages arising from the use or operation 
//**              of the designs or accompanying documentation, however caused and on 
//**              any theory of liability. This limitation will apply even if Xilinx 
//**              has been advised of the possibility of such damage. This limitation 
//**              shall apply not-withstanding the failure of the essential purpose of 
//**              any limited remedies herein. 
//**
//*****************************************************************************************

// Preparation for data to be sent to the memory

`timescale 1 ns/1 ps

module write_burst_4 (CLK90, CLK270, D0, D1, 
//W_n, W_BAR, 
Q, CLK180, RESET); // RAKCHOPR

// Parameters

   parameter data_bits = 72 -1; // Size of the data bus -1

// Signals
   input CLK90;  
   input CLK270;
   input [data_bits : 0] D0; 
   input [data_bits : 0] D1; 
   input CLK180;
   input RESET; // RAKCHOPR
   
   output [data_bits : 0] Q; 

   wire [data_bits : 0] Q;
   wire [data_bits : 0] D1_S1;
   wire [data_bits : 0] D0_S1;
   wire [data_bits : 0] D0_Initial;
   wire [data_bits : 0] D1_S2;
   wire [data_bits : 0] D0_S2;
   wire W_n_1;
   wire W_n_2;
                   
//*****************************************************************************************
// Register and pipelining for written data and for write command
//*****************************************************************************************
                   
   
   FD WRT_FDC_D0_initial_[data_bits:0]  ( .Q(D0_Initial[data_bits:0]), .D(D0[data_bits:0]), .C(CLK180)); // Initial pipeline stage for data D1 and D3 for 4 word burst mode
   
   FD WRT_FDC_D1_S1_[data_bits:0]  (.Q(D1_S1[data_bits:0]),  .D(D1[data_bits:0]),  .C(CLK270)); // Data pipeline stage 1
   FD WRT_FDC_D0_S1_[data_bits:0]  (.Q(D0_S1[data_bits:0]),  .D(D0_Initial[data_bits:0]),  .C(CLK90)); // Data pipeline stage 1
   
   FD WRT_FDC_D1_S2_[data_bits:0]  (.Q(D1_S2[data_bits:0]),  .D(D1_S1[data_bits:0]),  .C(CLK270)); // Data pipeline stage 2
   FD WRT_FDC_D0_S2_[data_bits:0]  (.Q(D0_S2[data_bits:0]),  .D(D0_S1[data_bits:0]),  .C(CLK90)); // Data pipeline stage 2
   
   FDDRRSE WRT_FDDR_DQ_[data_bits:0]  (.Q(Q[data_bits:0]), .D0(D0_S2[data_bits:0]), .D1(D1_S2[data_bits:0]), .C0(CLK90), .C1(CLK270), .CE(1'b1), .R(1'b0), .S(1'b0)); // Output DDR register in DDR IOBs
endmodule

⌨️ 快捷键说明

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