📄 comparator.vhd
字号:
------------------------------------------------------------------------------- Entity: comparator-- File: comparator.vhd-- Author: Jose Luis Nunez -- Created: 27/6/05 ---------------------------------------------------------------------------------- compares two numbers and generates equality and less thanlibrary IEEE;use IEEE.std_logic_1164.all;use IEEE.std_logic_unsigned."<";use IEEE.std_logic_unsigned."=";entity comparator is port ( indata_a : in std_logic_vector(3 downto 0); indata_b : in std_logic_vector(3 downto 0); lt : out std_logic; eq : out std_logic );end; architecture struct of comparator is begin -- add code hereend struct;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -