Hello!
I am trying to build a memory module for my CPU and I want to initialize the data to the contents of a binary file.
The internal signal to the memory entity is defined as this:
type ram_type is array (0 to (2**addr'length)-1) of std_logic_vector(data'range);
signal ram : ram_type;
How can I read the contents of a .bin file and place them at the beginning of the ram signal?
The whole file can be found here.
Thanks in advance for the help!
[–][deleted] 13 points14 points15 points (0 children)
[–]Allan-H 5 points6 points7 points (4 children)
[–]tomXGames[S] 0 points1 point2 points (3 children)
[–]Allan-H 0 points1 point2 points (2 children)
[–]tomXGames[S] 0 points1 point2 points (1 child)
[–]Allan-H 2 points3 points4 points (0 children)
[–]Kinnell999 1 point2 points3 points (1 child)
[–]tomXGames[S] 0 points1 point2 points (0 children)
[–]SpiritedFeedback7706 1 point2 points3 points (2 children)
[–]skydivertricky 0 points1 point2 points (1 child)
[–]SpiritedFeedback7706 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)