3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-20 22:30:33 +00:00

add tests

This commit is contained in:
N. Engelhardt 2025-10-14 15:48:16 +02:00
parent 1f11b2c529
commit 4513783a02
4 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,15 @@
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity top is
Port (
a : in STD_LOGIC_VECTOR(3 downto 0);
b : in STD_LOGIC_VECTOR(3 downto 0);
y : out STD_LOGIC_VECTOR(3 downto 0)
);
end top;
architecture Behavioral of top is
begin
y <= a nor b;
end Behavioral;