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

📄 tran8to9.vhd

📁 采用加法树流水线乘法构造八位乘法器
💻 VHD
字号:
Library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
use ieee.std_logic_arith.all;

entity tran8to9 is 
	port(
		a8,b8:		in std_logic_vector(7 downto 0);
		clk:        in std_logic;
		a9,b9:		out std_logic_vector(8 downto 0));
end entity tran8to9;

architecture beha of tran8to9 is
signal  a,b:std_logic_vector(8 downto 0);
begin
a9<=a;
b9<=b;
process(clk)
		begin	
		if(rising_edge(clk)) then
	           a<='0'&a8;
	           b<=b8&'0';
	end if;
end process;
end beha;

⌨️ 快捷键说明

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