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

📄 mult8x8_u.v

📁 本人正在学习vhdl语言
💻 V
字号:
//
// Module: MULT8X8_U
//
// Description: Verilog Sub-module
// 8-bit X 8-bit embedded unsigned multiplier (asynchronous)
//
// Device: Virtex-II Family
//
// Copyright (c) 2000 Xilinx, Inc.  All rights reserved.
//
////////////////////////////////////////////////////////////////////////////////////
//
/**************************************
   Theory for 8x8 bit multiplier
    using lsb inputs, outputs

          [10'b0][a{7:0}]
        x [10'b0][b{7:0}]
     ---------------------------------
*************************************/
module MULT8X8_U (A,B,P);

input [7:0] A;
input [7:0] B;

output [15:0] P;
wire [35:0] Product;

//
// Instantiation Section
//

MULT18X18 U_MULT8X8_U
  (
    .A ({10{1'b0}, A}) , 
    .B ({10{1'b0}, B}) , 
    .P (Product)   
  );
assign P = Product[15:0];

//
////////////////////////////////////////////////////////////////////////////////////

endmodule

⌨️ 快捷键说明

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