-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hi Brad,
I was playing around with macros in Vivado (specifically, how you specify the placement of the internal cells of a macro), which lead me to your read_tcp function. I have tried using this function to import a design back into Vivado and the function looks to complete successfully (there are no errors), but I open the GUI and there is just an empty netlist. Attached is a TCL script for the simple design I was testing. Here are the exact commands I used to help recreate the issue.
source -notrace test.tcl
tincr::write_tcp macro.tcp
close_design
tincr::read_tcp macro.tcp
start_gui
Are you able to reproduce this? And if so, do you know why its happening? Thanks!
NOTE: Vivado is expecting the name of the edif file you import to be the same as the top level cell in the edif. I modified your write_tcp function on my end slightly to guarantee this behavior.
write_edif -force "${filename}/[get_property TOP [get_design]].edf"
test.txt
(I couldn't upload a .tcl script, so the file extension is .txt, sorry)