comparator.vhd.bak

来自「这个是Xilinx编程的源码」· BAK 代码 · 共 34 行

BAK
34
字号
------------------------------------------------------------------------------- Entity:  comparator-- File:	comparator.vhd-- Author:	Jose Luis Nunez -- Created: 27/6/05	---------------------------------------------------------------------------------- comapres 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 + =
减小字号Ctrl + -
显示快捷键?