Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for macros to Tincr checkpoints #18

Open
ttown523 opened this issue Mar 3, 2016 · 2 comments
Open

Add support for macros to Tincr checkpoints #18

ttown523 opened this issue Mar 3, 2016 · 2 comments

Comments

@ttown523
Copy link
Collaborator

ttown523 commented Mar 3, 2016

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.

  1. source -notrace test.tcl
  2. tincr::write_tcp macro.tcp
  3. close_design
  4. tincr::read_tcp macro.tcp
  5. 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)

@bradselw
Copy link
Collaborator

bradselw commented Mar 4, 2016

The read_tcp and write_tcp functions do not currently support macros. That being said, I think it would be worth investigating whether support could be added. I'm updating this bug to a feature request.

@bradselw bradselw changed the title tincr::read_tcp showing empty netlist after importing Add support for macros to read_tcp and write_tcp Mar 4, 2016
@bradselw
Copy link
Collaborator

bradselw commented Mar 4, 2016

To clarify, the ask here is to add support for Vivado's macro construct to Tincr's checkpoint functions. This issue will be considered complete when one of the two happens:

  1. It is determined that a Vivado macro is not compatible with the Tincr checkpoint (i.e. support cannot be added, or the cost of adding such support is too great)
  2. Support for Vivado macros is added to the Tincr checkpoint

@bradselw bradselw changed the title Add support for macros to read_tcp and write_tcp Add support for macros to Tincr checkpoints Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants