cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
733 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
Highlighted
Xilinx Employee
Xilinx Employee
672 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

View solution in original post

0 Kudos
5 Replies
Highlighted
Xilinx Employee
Xilinx Employee
712 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
Highlighted
Observer
Observer
703 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
Highlighted
Moderator
Moderator
690 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
Highlighted
Observer
Observer
678 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
Highlighted
Xilinx Employee
Xilinx Employee
673 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

View solution in original post

0 Kudos