-
-
Save davilamds/11066940 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library ieee; | |
use ieee.std_logic_1164.all; | |
entity eq1 is | |
port( | |
i0 , i1: in std_logic; | |
eq: out std_logic); | |
end eq1; | |
architecture sop_arch of eq1 is | |
signal p0 , p1 : std_logic; | |
begin | |
eq <= p0 or p1; | |
p0<=(not i0) and (not i1); | |
p1 <= i0 and i1; | |
end sop_arch; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment