Skip to content

How use UDPs RDLImporter for RDL generation. #274

Answered by amykyta3
engdoreis asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Douglas,
There are a few things at play here.

UDP declarations in RDL

For some background - First I'll explain how UDPs work a pure RDL design, without any importers in-play.
The SystemRDL standard mandates that any user-defined properties be explicitly declared in the code ahead of their use. For example:

property my_udp {
    type = longint;
    component = field;
};

This allows one to declare a property, alongside some very very basic semantics: The property called my_udp takes an integer type, and can only be applied to fields. Once declared, this unlocks the ability to assign the my_udp property to field components. If not declared, the compiler will reject it as an unrecognized p…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@engdoreis
Comment options

Answer selected by engdoreis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants