Support for Custom Properties #1177
-
|
Hi RapidWright Experts, I would like to define custom properties for certain wires in Verilog like the following: Is it possible to access such custom properties through RapidWright? For example, I would expect functionality similar to this: If this functionality is not currently supported, would it be feasible to add support for accessing these user-defined attributes in a future version of RapidWright? Thank you for your time and support. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
@nicolaimueller - Yes, RapidWright does support netlist properties. In RapidWright, we have a logical netlist view and a physical netlist view. All of the properties you would typically find on Verilog are annotated on the logical netlist which is represented by the From your example, you could get the properties of a logical net (from a physical design = Design.readCheckpoint(dcp_path, edif_path)
for net in design.getNets():
property = net.getLogicalNet().getProperty("CUSTOM_PROPERTY") |
Beta Was this translation helpful? Give feedback.

@nicolaimueller - Yes, RapidWright does support netlist properties. In RapidWright, we have a logical netlist view and a physical netlist view. All of the properties you would typically find on Verilog are annotated on the logical netlist which is represented by the
EDIFNetlistobject. Many of the classes in thecom.xilinx.rapidwright.edifcorrespond to logical netlist elements inherit from an object calledEDIFPropertyObjectwhich has its own map of properties. Here is the Object Heirarchy for the [EDIFPropertyObject]:From your example, you could get the properties of a logical net (from a physical
Net) by: