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.stdlogicall;
use ieee.stdlogicarith.all;
use ieee.stdlogicunsigned.all;
use ieee.numericstdall;
entity RamRegisterSarahJohn is
port
D: in stdlogicvector downto ;
Clock, load: in stdlogic;
address: in stdlogicvector downto ;
Q: out stdlogicvector downto
;
end RamRegisterSarahJohn;
architecture behavioral of RamRegisterSarahJohn is
type Array is array downto of stdlogicvector downto ;
signal RAM: Array;
signal index: integer range to ;
begin
process Clock
begin
if risingedgeClock then
if Load then
for i in to loop
if address stdlogicvectortounsignedi then
RAMi D;
end if;
end loop;
end if;
for i in to loop
if address stdlogicvectortounsignedi then
Q RAMi;
end if;
end loop;
end if;
end process;
end behavioral;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
