v15_0.vhd

来自「台湾全华科技VHDL教材实例」· VHDL 代码 · 共 20 行

VHD
20
字号
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_signed.all;

entity M16x16 is
	port(InA		: in   std_logic_vector(15 downto 0);
	     InB		: in   std_logic_vector(15 downto 0);
	     DOut   	: out  std_logic_vector(31 downto 0);
	     Clk    	: in   std_logic);
end M16x16;

architecture A_M16x16 of M16x16 is
begin
	process
	begin
		wait until Clk = '1' and Clk'event;
			DOut <= InA * InB;
	end process;
end A_M16x16;	  

⌨️ 快捷键说明

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