Skip to content

Conversation

@clavin-xlnx
Copy link
Member

No description provided.

clavin-xlnx and others added 6 commits June 7, 2024 13:02
Signed-off-by: Chris Lavin <[email protected]>
* disable routability_opt

Signed-off-by: Zhili Xiong <[email protected]>

* fix result path and out_of_context flag

Signed-off-by: Zhili Xiong <[email protected]>

---------

Signed-off-by: Zhili Xiong <[email protected]>
Co-authored-by: Zhili Xiong <[email protected]>
Signed-off-by: Chris Lavin <[email protected]>
@clavin-xlnx
Copy link
Member Author

@zhilix - take a look when you are ready.

@clavin-xlnx
Copy link
Member Author

@clavin-xlnx Hi Chris, I checked out the changes, the schema part is working fine and I was able to recompile and parse. But when I ran java com.xilinx.rapidwright.interchange.DcpToInterchange test/RapidWrightDCP/picoblaze_ooc_X10Y235_2022_1.dcp It generates a .netlist file that doesn't contain any shapes, so when I parse the .netlist it has output: Parsing netlist file benchmarks/IF_netlist/picoblaze_ooc_X10Y235_2022_1.netlist Number of shapes: 0 Is it because I have to include ShapeTools.extractShapes(design, null); ?

Yes, that method will populate the design with the shape objects and then the writer will write them out. For now, it will gather the shapes from the shape file, in future, RapidWright will extract them directly from the design.

@zhilix
Copy link

zhilix commented Jun 24, 2024

@clavin-xlnx Hi Chris, I checked out the changes, the schema part is working fine and I was able to recompile and parse. But when I ran java com.xilinx.rapidwright.interchange.DcpToInterchange test/RapidWrightDCP/picoblaze_ooc_X10Y235_2022_1.dcp It generates a .netlist file that doesn't contain any shapes, so when I parse the .netlist it has output: Parsing netlist file benchmarks/IF_netlist/picoblaze_ooc_X10Y235_2022_1.netlist Number of shapes: 0 Is it because I have to include ShapeTools.extractShapes(design, null); ?

Yes, that method will populate the design with the shape objects and then the writer will write them out. For now, it will gather the shapes from the shape file, in future, RapidWright will extract them directly from the design.

Thanks. Now I got some other errors when I call extractShapes():

Exception in thread "main" java.lang.RuntimeException: ERROR: Please add the following library to your design's netlist: hdi_primitives
at com.xilinx.rapidwright.design.Cell.getCompatiblePlacements(Unknown Source)
at com.xilinx.rapidwright.design.shapes.Shape.addCell(Shape.java:97)
at com.xilinx.rapidwright.design.shapes.ShapeTools.readDebugShapeFile(ShapeTools.java:250)
at com.xilinx.rapidwright.design.shapes.ShapeTools.extractShapes(ShapeTools.java:116)
at com.xilinx.rapidwright.interchange.DcpToInterchange.main(DcpToInterchange.java:46)

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

Successfully merging this pull request may close these issues.

3 participants