ELGIP-95 Corrected diag_peek_addr bit slice for RAM select
This commit is contained in:
parent
69323e0c20
commit
d8eb3430e7
1 changed files with 1 additions and 1 deletions
|
|
@ -391,7 +391,7 @@ begin
|
|||
end loop;
|
||||
|
||||
for i in 0 to MAX_OP_WIDTH-1 loop
|
||||
if is_en_peek = '1' and i = unsigned(diag_peek_addr(log2(MAX_OP_WIDTH)-1+PX_DEPTH_LOG2 downto PX_DEPTH_LOG2)) then
|
||||
if is_en_peek = '1' and i = unsigned(diag_peek_addr(log2(MAX_OP_WIDTH) + TOTAL_DEPTH_LOG2 - 1 downto TOTAL_DEPTH_LOG2)) then
|
||||
|
||||
diag_peek_data <= q((i+1)*PX_WIDTH-2 downto i*PX_WIDTH);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue