mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-29 01:03:29 +02:00
By adding ivtest to the iverilog source tree, it is easier to keep the regression test synchronized with the source that is being tested. This should be especially helpful for PRs that add a new feature, and have a matching ivtest PR with the regression test for that feature.
17 lines
291 B
VHDL
17 lines
291 B
VHDL
library IEEE;
|
|
use IEEE.std_logic_1164.all;
|
|
|
|
|
|
entity or_gate is
|
|
port (
|
|
a_i : in std_logic; -- inputs
|
|
b_i : in std_logic;
|
|
c_o : out std_logic -- output
|
|
);
|
|
end entity or_gate;
|
|
|
|
architecture rtl of or_gate is
|
|
begin
|
|
c_o <= a_i or b_i;
|
|
end architecture rtl;
|