-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] external register type seems to not be working #207
Comments
Issue occurs because instantiation of u_register: entity work.rggen_external_register
generic map (
ADDRESS_WIDTH => 11,
BUS_WIDTH => 32,
STROBE_WIDTH => DATA_STROBE_WIDTH,
START_ADDRESS => x"010",
BYTE_SIZE => 1024
) doesn't provide the size of string, thus it's by default expanded to 12 in u_register: entity work.rggen_external_register
generic map (
ADDRESS_WIDTH => 11,
BUS_WIDTH => 32,
STROBE_WIDTH => DATA_STROBE_WIDTH,
START_ADDRESS => 11x"010",
BYTE_SIZE => 1024
) Specifying the actual size represented by string START_ADDRESS => 11x"010", fixes the issue. |
Hi @SzymonHitachi , I've pushed the fix for this error to the branch below. |
Hi @SzymonHitachi , |
I apologize for late response. It did indeed slip my mind. Yes this one fixes the issue. Thank you. |
It seems that external registers mode does not work
failing line:
external register is defined with offset
0x10
(determined byregisters existing before it)version:
The text was updated successfully, but these errors were encountered: