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

📄 ddr_lvds_in.v

📁 本人正在学习vhdl语言
💻 V
字号:
//
// Module:      DDR_LVDS_IN 
//
// Description: Verilog Instantiation Template
//		DDR Input Flip-Flops with LVDS input buffer
//		
//
// Device: 	VIRTEX-II Family 
//
//---------------------------------------------------------------------
//
//DDR Input Flip-Flops
//

always @ (posedge clk or posedge rst)

  begin
	if (rst) 
	   q1 = 1'b0;
	else 
	   q1 = data_in; // data_in = Output from LVDS input buffer
  end 

always @ (negedge clk or posedge rst)

begin
	if (rst) 
	   q2 = 1'b0;
	else 
	   q2 = data_in; // data_in = Output from LVDS input buffer
  end 

/* NOTE: You must include the following constraints in the .ucf file when running back-end tools, \
	in order to ensure that IOB DDR registers are used:

INST "q2_reg" IOB=TRUE;
INST "q1_reg" IOB=TRUE;

Depending on the synthesis tools you use, it may be required to check the edif file for modifications to 
original net names...in this case, Synopsis changed the names: q1 and q2 to q1_reg and q2_reg

*/

//3-State LVDS buffer instantiation

IBUFDS_LVDS_25 U1 ( .I(), // P-Channel input to LVDS input buffer
		    .IB(),// N-Channel input to LVDS input buffer
		    .O()  // Output from LVDS input buffer
		  );

//---------------------------------------------------------------------


⌨️ 快捷键说明

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