This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROCEDURE READ_FROM_FILE ( | |
file_name : string; | |
signal Memory : out memory_array -- Need to pass memory as parameter | |
) IS | |
file input_file : text; -- Declare file variable (not with open mode here) | |
variable input_line : line; | |
variable hex_value : std_logic_vector(63 downto 0); | |
variable addr : integer := 0; | |
BEGIN | |
-- Open the file using the parameter |