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

📄 tran7to8.vhd

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

entity tran10to12 is 
	port(
		a10,a10:		in std_logic_vector(9 downto 0);
		clk:        in std_logic;
		a12,b12:		out std_logic_vector(11 downto 0));
end entity tran10to12;

architecture beha of tran10to12 is
signal  a,b:std_logic_vector(8 downto 0);
begin
a12<=a;
b12<=b;
process(clk)
		begin	
		if(rising_edge(clk)) then
	           a<=a10&"00";
	           b<="00"&b10;
	end if;
end process;
end beha;

⌨️ 快捷键说明

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