Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Tcl script to find the entry points of a clock in partition in primetime

Status
Not open for further replies.

Jaya29

Newbie
Newbie level 1
Joined
Jun 26, 2022
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
11
Hi, I am trying to dump clock entry points for each partition (block) from full-chip primetime session-
Below is what I am doing, I want to dump all $port_name with same clock together and not separately, Can anybody help ?

Code:
foreach par [get_object_name [get_cells * -filter "is_hierarchical==true"]] {
foreach_in_collection p [filter  [get_pins $par/*] "@direction == in && direction != internal"] {
        set net [get_object_name $p]
        if {[get_attribute -quiet [get_nets -quiet $net] object_class] == "net"} {
        set clock [get_attribute [ filter [all_connected [get_nets $net] -leaf] "@direction == out" ] clocks]
        } else {
        set clock [get_attribute [get_pins $p] clocks]
        }

if {$clock == "" } {
} else {
set port_name $net
echo $par,[get_object_name $clock],$port_name }}}
(added code tags)
 
Last edited by a moderator:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top