矩阵乘法器设计Verilog代码VIVADO仿真
名称:矩阵乘法器设计Verilog代码VIVADO仿真
软件:VIVADO
语言:Verilog
代码功能:
矩阵乘法器
设计矩阵乘法器,为2x2矩阵,每个元素为16位
FPGA代码Verilog/VHDL代码资源下载:www.hdlcode.com
演示视频:
设计文档:
工程文件

程序文件

程序编译

Testbench

仿真图

部分代码展示:
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 2020/04/04 12:42:42 // Design Name: // Module Name: matrix_mul // Project Name: // Target Devices: // Tool Versions: // Description: // // Dependencies: // // Revision: // Revision 0.01 - File Created // Additional Comments: // ////////////////////////////////////////////////////////////////////////////////// module matrix_mul( input [15:0] matrixA_0,//输入矩阵A元素1 input [15:0] matrixA_1,//输入矩阵A元素2 input [15:0] matrixA_2,//输入矩阵A元素3 input [15:0] matrixA_3,//输入矩阵A元素4 input [15:0] matrixB_0,//输入矩阵B元素1 input [15:0] matrixB_1,//输入矩阵B元素2 input [15:0] matrixB_2,//输入矩阵B元素3 input [15:0] matrixB_3,//输入矩阵B元素4 output [31:0] convolutAB_0,//输出结果元素1 output [31:0] convolutAB_1,//输出结果元素2 output [31:0] convolutAB_2,//输出结果元素3 output [31:0] convolutAB_3//输出结果元素4 ); //计算结果 assign convolutAB_0=matrixA_0*matrixB_0+matrixA_1*matrixB_2; assign convolutAB_1=matrixA_0*matrixB_1+matrixA_1*matrixB_3; assign
代码文件(付费下载):
![]()
1、代码文件需要付费后才可见。
2、支付问题请联系微信公众号客服。
3、优质Verilog/VHDL代码资源,所见即所得。
Verilog/VHDL资源下载 » 矩阵乘法器设计Verilog代码VIVADO仿真
2、支付问题请联系微信公众号客服。
3、优质Verilog/VHDL代码资源,所见即所得。
Verilog/VHDL资源下载 » 矩阵乘法器设计Verilog代码VIVADO仿真
发表评论
模板文件不存在: ./template/plugins/comment/pc/index.htm