Skip to content

Adding shape support for DREAMPlaceFPGA inputs and Interchange Netlist#1011

Open
clavin-xlnx wants to merge 14 commits intodreamplacefpgafrom
dreamplacefpga_shapes
Open

Adding shape support for DREAMPlaceFPGA inputs and Interchange Netlist#1011
clavin-xlnx wants to merge 14 commits intodreamplacefpgafrom
dreamplacefpga_shapes

Conversation

@clavin-xlnx
Copy link
Copy Markdown
Member

No description provided.

clavin-xlnx and others added 6 commits June 7, 2024 13:02
Signed-off-by: Chris Lavin <chris.lavin@amd.com>
Signed-off-by: Chris Lavin <chris.lavin@amd.com>
* disable routability_opt

Signed-off-by: Zhili Xiong <zhilix691@utexas.edu>

* fix result path and out_of_context flag

Signed-off-by: Zhili Xiong <zhilix691@utexas.edu>

---------

Signed-off-by: Zhili Xiong <zhilix691@utexas.edu>
Co-authored-by: Zhili Xiong <zhixiong@xsjzhixiong40x.xlnx.xilinx.com>
Signed-off-by: Chris Lavin <chris.lavin@amd.com>
Signed-off-by: Chris Lavin <chris.lavin@amd.com>
Signed-off-by: Chris Lavin <chris.lavin@amd.com>
@clavin-xlnx
Copy link
Copy Markdown
Member Author

@zhilix - take a look when you are ready.

@clavin-xlnx
Copy link
Copy Markdown
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
Copy Markdown

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)

zhilix and others added 8 commits June 25, 2024 14:02
Signed-off-by: Zhili Xiong <zhilix691@utexas.edu>
Signed-off-by: Chris Lavin <chris.lavin@amd.com>
…rdered bels

Signed-off-by: Chris Lavin <chris.lavin@amd.com>
Signed-off-by: Chris Lavin <chris.lavin@amd.com>
Signed-off-by: Chris Lavin <chris.lavin@amd.com>
Signed-off-by: Chris Lavin <chris.lavin@amd.com>
Signed-off-by: Chris Lavin <chris.lavin@amd.com>
Signed-off-by: Chris Lavin <chris.lavin@amd.com>
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.

2 participants