Skip to content

Commit

Permalink
[sim] minor comment edit
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed Dec 12, 2024
1 parent 2fbf1bf commit 00ae825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/xbus_memory.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ architecture xbus_memory_rtl of xbus_memory is
index_v := 0;
while (endfile(hex_file) = false) and (index_v < num_words) loop -- not end of file / end of memory
readline(hex_file, hex_line_v); -- read one line from file
for i in 7 downto 0 loop -- get full 32-bit word
for i in 7 downto 0 loop -- get full 32-bit word in 'word_v'; no VHDL2008 required
read(hex_line_v, hex_char_v);
if (hex_char_v >= '0') and (hex_char_v <= '9') then
tmp_v := 0 + (character'pos(hex_char_v) - character'pos('0'));
Expand Down

0 comments on commit 00ae825

Please sign in to comment.