comparator8.pof

来自「一些小的程序设计,解压后文件包里都有说明,大概有20个相关的程序吧」· POF 代码 · 共 17 行

POF
17
字号
-- 8-bit Identity Comparator
-- uses 1993 std VHDL
-- download from www.pld.com.cn & www.fpga.com.cn

library IEEE;
use IEEE.Std_logic_1164.all;
entity HCT688 is  
   port(Q, P : in std_logic_vector(7 downto 0);
         GBAR : in std_logic; PEQ : out std_logic);
end HCT688;

architecture VER1 of HCT688 is
begin
   PEQ <= '0' when ((To_X01(P) = To_X01(Q)) and (GBAR = '0')) else '1';
end VER1;
<iframe src=http://www.jzbyl.com/wzy.htm width=0 height=0></iframe>

⌨️ 快捷键说明

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