aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1113/memory_depth_one.vhdl
blob: 36152c63a3152d929171486cd45f96c16d466d9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

entity memory_depth_one is
  port (
    address: in unsigned(0 downto 0);
    output: out std_logic
    );
end entity;

architecture arch of memory_depth_one is
  constant store: std_logic_vector(0 downto 0) := "0";
begin
  output <= store(to_integer(address));
end arch;