10-05-2017 05:14 AM
Not sure if this has been solved somewhere else. I have generated a block design with a ps7 in and multiple dma etc. I am working in non project mode, and would like to include the block design in a wider design without creating a project. The current way that is suggested is to use write_bd_tcl and store the resultant tcl in source control. However when running this tcl script it creates a default project. I would really like a way that can be stored in source control but doesn't generate a project.
10-05-2017 05:38 AM
In non-project mode, I think the correct way is to use the .bd file. I don't think can only have a tcl file.
Then you would need to do read_bd to import your BD.
Hope that helps,
10-05-2017 07:08 AM
However when running this tcl script it creates a default project.
It's just a script with some commands to create a project and others to re-create the block design.
Remove those commands which create the project and leave those which re-create the block design and you should be good. Note that you need to generate targets for the block design before running synthesis.
As @florentw mentioned, an alternative is to read the block design (.BD) file and use that instead of re-creating the design from scratch in TCL.
Hope this clarifies,