circuitb.vhd

来自「2个4位二进制数相加的加法器件」· VHDL 代码 · 共 13 行

VHD
13
字号
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;

entity circuitB is 
  port (come : in std_logic;
        tosegment : out std_logic_vector(3 downto 0));
end;

architecture bhv of circuitB is 
  begin
    tosegment<="0001" when come='1' else "0000";
end;

⌨️ 快捷键说明

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