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

📄 barrel_shifter_16.v

📁 this module performs the task of a barrel-shifter 16 or 32 bits
💻 V
字号:
//**********************************************************************************
//   Copyright (c) 2007 by WichipTech
//   All right reserved.
//
//   Copyright Notification
//   No part may be reproduced except as authorized by written permission.
//
//   TITLE  : Barrel shifter 16 bits
//   FILE   : barrel_shifter_16.v
//   Author : Tran, Minh-Cuong
//   E-mail : tmcuong@wichiptech.com
//   Tel    : +84-98-606-6694
//   Fax    :
//   DESCRIPTION:  Barrel shifter
//
//
//   ORGANIZATION: WiCHIP Technologies, Inc.
//                 106 - C5 - Thanh Xuan Bac
//                 HaNoi, VIETNAM
// *********************************************************************************


module	barrel_shifter_16(
			input_code,
			output_code,
			shift
		);

//**********************************************************************************
//         Input ports
//**********************************************************************************
input	[15:0]	input_code;		 	//input code
input	[3:0]	shift				//number of bits to shift

//**********************************************************************************
//         Output ports
//**********************************************************************************
output	[15:0]	output_code;		//output code

//**********************************************************************************
//         Signal declaration: reg
//**********************************************************************************

//**********************************************************************************
//         Signal declaration: wire
//**********************************************************************************
endmodule

⌨️ 快捷键说明

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