📄 qdr2_qbit_cq_bar.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.
//**
//*****************************************************************************************
`timescale 1 ns/1 ps
module qdr2_qbit_cq_bar( reset,
cq,
cq1,
qdr2_q,
CE_R_FB0,
CE_R_FB1,
CE_R_FB2,
CE_R_FB3,
fbit_0,
fbit_1,
fbit_2,
fbit_3);
input reset;
input cq;
input cq1;
input qdr2_q;
input CE_R_FB0;
input CE_R_FB1;
input CE_R_FB2;
input CE_R_FB3;
output fbit_0;
output fbit_1;
output fbit_2;
output fbit_3;
wire q;
wire [3:0] fbit;
wire async_clr;
wire cqn;
wire cq1n;
//wire cq_div2n;
//wire cq_div1n;
wire CE_R_FB0;
wire CE_R_FB1;
wire CE_R_FB2;
wire CE_R_FB3;
assign async_clr = reset;
assign cqn = ~cq;
assign cq1n = ~cq1;
//assign cq_div2n = ~cq_div_2;
//assign cq_div1n = ~cq_div_1;
assign fbit_0 = fbit[0];
assign fbit_1 = fbit[1];
assign fbit_2 = fbit[2];
assign fbit_3 = fbit[3];
// Read data from memory is first registered in CLB ff using delayed strobe from memory
// A data bit from data words 0, 1, 2, and 3
FDCE fbit0 (.Q(fbit[0]),
.C(cq1),
.CE(CE_R_FB0),
.CLR(async_clr),
.D(q));
FDCE fbit1 (.Q(fbit[1]),
.C(cqn),
.CE(CE_R_FB1),
.CLR(async_clr),
.D(q));
FDCE fbit2 (.Q(fbit[2]),
.C(cq1),
.CE(CE_R_FB2),
.CLR(async_clr),
.D(q));
FDCE fbit3 (.Q(fbit[3]),
.C(cqn),
.CE(CE_R_FB3),
.CLR(async_clr),
.D(q));
// Generation of the synchronous CE for the data capture FD.
/* FD FD_R_n_0 (.Q(CE_R_FB0),
.C(cq1n),
.D(R_n_int_w0));
FD FD_R_n_1 (.Q(CE_R_FB1),
.C(cq),
.D(CE_R_FB0));
FD FD_R_n_2 (.Q(CE_R_FB2),
.C(cq1n),
.D(CE_R_FB0));
FD FD_R_n_3 (.Q(CE_R_FB3),
.C(cq),
.D(CE_R_FB1)); */
v2p_qdr2_input_buffer v2p_qdr2_iob0 ( .qdr2_in(qdr2_q), .read_data_in(q) );
endmodule
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -