Question: How do I solve this error: library ieee; use ieee.std _ logic _ 1 1 6 4 . all; use ieee.std _ logic _ arith.all;

How do I solve this error:
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
use ieee.numeric_std.all;
entity Ram_8Register_Sarah_John is
port (
D: in std_logic_vector(15 downto 0);
Clock, load: in std_logic;
address: in std_logic_vector(2 downto 0);
Q: out std_logic_vector(15 downto 0)
);
end Ram_8Register_Sarah_John;
architecture behavioral of Ram_8Register_Sarah_John is
type Array8*16 is array(7 downto 0) of std_logic_vector(15 downto 0);
signal RAM: Array8*16;
signal index: integer range 0 to 7;
begin
process (Clock)
begin
if (rising_edge(Clock)) then
if (Load ='1') then
for i in 0 to 7 loop
if address = std_logic_vector(to_unsigned(i,3)) then
RAM(i)= D;
end if;
end loop;
end if;
for i in 0 to 7 loop
if address = std_logic_vector(to_unsigned(i,3)) then
Q = RAM(i);
end if;
end loop;
end if;
end process;
end behavioral;
How do I solve this error: library ieee; use

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!