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

📄 diff_io_top.v

📁 Altera FPGA CPLD设计高级篇电子书籍
💻 V
字号:
//
//
// Altera does not warrant that this solution will work for the customer's 
// intended purpose and disclaims all liability for use of or reliance on the solution.
//
// Stratix HSDI I/O Module Exercise top-level design file.
//
// Created by Altera Training 2/27/02.
//
//


module Diff_io_top (
	rx_in,
	rx_inclock,
	rx_data_align,
	rx_locked,
	tx_out,
	tx_outclock);

	input	[1:0]  rx_in;
	input	rx_inclock;
	input	rx_data_align;
	output	[1:0]  tx_out;
	output	rx_locked;
	output	tx_outclock;

	wire rx_outclock;
	wire [7:0] a, b;
	wire [15:0] tx_in;
	wire [15:0] rx_out;

	assign a=rx_out[7:0];
	assign b=rx_out[15:8];

//LVDS_Rx instantiation 
lvds_rx	lvds_rx_inst (
	.rx_in ( rx_in),
	.rx_inclock ( rx_inclock ),
	.rx_data_align ( rx_data_align ),
	.rx_out ( rx_out ),
	.rx_locked ( rx_locked ),
	.rx_outclock ( rx_outclock )
	);

//Multiplier module instantiation
  mult	mult_inst (
	.clock0 ( rx_outclock ),
	.dataa_0 ( a ),
	.datab_0 ( b ),
	.result ( tx_in )
	);

//Place lvds_tx_inst.v instantiation here:

	


//end lvds_tx instantiation


endmodule

⌨️ 快捷键说明

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