chisel icon indicating copy to clipboard operation
chisel copied to clipboard

SyncReadMem: read(addr) problem inside ShiftRegisterMem

Open milovanovic opened this issue 3 years ago • 2 comments

Type of issue: Bug Report

I believe that the commit broke some edge cases of ShiftRegisterMem. A detailed demonstration of this bug can be found here.

milovanovic avatar Dec 09 '22 23:12 milovanovic

I have not looked too closely, but I am inclined to believe that this is actually a bug in the implementation of ShiftRegisterMem. It should not rely on the undefined read-data of a SyncReadMem when the read-enable is low.

jerryz123 avatar Dec 21 '22 09:12 jerryz123

You were right. The problem was indeed inside the ShiftRegisterMem. It should be fixed now, so this issue can be closed. Thanks.

milovanovic avatar Dec 21 '22 14:12 milovanovic