Skip to content
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

Binding RDL UDP to addrmap is not recognized #46

Closed
amykyta3 opened this issue Apr 28, 2018 · 2 comments
Closed

Binding RDL UDP to addrmap is not recognized #46

amykyta3 opened this issue Apr 28, 2018 · 2 comments

Comments

@amykyta3
Copy link

amykyta3 commented Apr 28, 2018

If I do the following:

property my_rdl_udp {
  type=boolean;
  component=addrmap;
};

addrmap my_sub_addrmap {
    my_rdl_udp;
    reg {} a;
};

addrmap my_top_addrmap {
    my_sub_addrmap sub;
} top;

It seems that the RDL user-defined property is discarded, and does not show up in the XML output.
Instead the following warning is emitted:

*** WARNING ***: assignment of property my_rdl_udp will be ignored in regfile my_sub_addrmap near line 10

If I switch the UDP declaration to be bound to a regfile component, it works correctly, even though the target component is actually an addrmap.
So far to future proof, my workaround has been to bind to both component types:

component=regfile | addrmap;
sdnellen pushed a commit that referenced this issue Apr 30, 2018
@sdnellen
Copy link
Contributor

fix committed in 180430.01. will be picked up in next rls.

@amykyta3
Copy link
Author

amykyta3 commented May 7, 2018

Confirmed fix in pre-release 180502.01

@sdnellen sdnellen closed this as completed May 7, 2018
sdnellen pushed a commit that referenced this issue May 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants