UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer soccerchamp
Observer
473 Views
Registered: ‎03-08-2018

tcl command to get all cells outside pblocks

Jump to solution

Hi,

I have a design in vivado 2018.1. I have 3 pblocks say A, B and C.

After opening implemented design, I want to get list of all cells outside of pblocks A , B and C.

What is the tcl command for this?

Also is it possible to get only specific type of cells like FF, LUT, CARRY8 etc(which are outside pblocks).

Anyone please help.

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
412 Views
Registered: ‎05-22-2018

Re: tcl command to get all cells outside pblocks

Jump to solution

Hi @soccerchamp ,

Yes PBLOCK is a property.

So  if you want to try different TCL syntax to specifically achieve wht you want, i will suggest you to open the device view and do control +F

a Find window will open and you can try out:

 

PblockCapture.JPG

Hope that helps.

 

Thanks,

Raj

0 Kudos
5 Replies
Xilinx Employee
Xilinx Employee
452 Views
Registered: ‎05-22-2018

Re: tcl command to get all cells outside pblocks

Jump to solution

Hi @soccerchamp ,

I am not sure on for finding specific cells, but for cells you can try to use below command:

show_objects -name find_1 [get_cells -hierarchical -filter { PBLOCK !~ "*" } ]

Thanks,

Raj

0 Kudos
Observer soccerchamp
Observer
443 Views
Registered: ‎03-08-2018

Re: tcl command to get all cells outside pblocks

Jump to solution

@rshekhaw 

 

Thanks. It will surely help.

In the command , If I want to specificy the pblock names , how should it look like?

show_objects -name find_1 [get_cells -hierarchical -filter { PBLOCK !~ "A B C" } ] 

is it correct?

 

0 Kudos
Moderator
Moderator
430 Views
Registered: ‎11-04-2010

Re: tcl command to get all cells outside pblocks

Jump to solution

Hi, @soccerchamp ,

It looks ok for the command. To get the specific cells, you can add the below content:

show_objects -name find_2 [get_cells -hierarchical -filter { PRIMITIVE_TYPE =~ CLB.LUT.*  &&  PBLOCK !~ "A B C" } ]

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Observer soccerchamp
Observer
418 Views
Registered: ‎03-08-2018

Re: tcl command to get all cells outside pblocks

Jump to solution

@hongh 

Just for confirmation, I gave below command

show_objects -name find_1 [get_cells -hierarchical -filter { PBLOCK == "A" } ]

But there was no objects found.

Is PBLOCK is a property? Shouldn't we give properties in filer list?

0 Kudos
Xilinx Employee
Xilinx Employee
413 Views
Registered: ‎05-22-2018

Re: tcl command to get all cells outside pblocks

Jump to solution

Hi @soccerchamp ,

Yes PBLOCK is a property.

So  if you want to try different TCL syntax to specifically achieve wht you want, i will suggest you to open the device view and do control +F

a Find window will open and you can try out:

 

PblockCapture.JPG

Hope that helps.

 

Thanks,

Raj

0 Kudos