小编sam*_*sam的帖子

这个VHDL代码有什么作用?

我正在研究一个项目,但无论我做什么,我都无法理解这段代码的作用.由于我不熟悉VHDL,因此我很难理解这段代码的用途.

library iee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use work.my_package.all;

Entity multiplier is

    generic (size: integer :=4);
    Port (a,b : in unsigned( size-1 downto 0);
        y : out unsigned( size-1 downto 0));

End multiplier ;

ARCHITECTURE behavior of multiplier is

Begin

    y<= mult(a,b);

End behavior;
Run Code Online (Sandbox Code Playgroud)

vhdl

1
推荐指数
1
解决办法
273
查看次数

标签 统计

vhdl ×1