Notes: TCL Using Synopsys Commands
Notes: TCL Using Synopsys Commands
Commands
Notes
TCL
Using Synopsys tools
Objects : -
detailed information
↳ get object-name > -
to obtain
Objects name
·
Cells
ports
·
② Nets
O
pins
Attributes : -
commandin
get-attributes
report attributes -
https://www.linkedin.com/in/vivek-arya-532558143
Cells :· cells are the atomic
physical units in
synopsys
Command
:
get-cells
·
Both pins and ports describe
connection points
·
Ports are the 10 interface of
block
your current
working
Q
Pins the IO interface
are
of
cellsinstantical inside
your
current block .
·
Pins and ports have direction
So
they can be inplet are output
https://www.linkedin.com/in/vivek-arya-532558143
Commands : -
getpins
get-ports
Note
:- Use the all-formin and
-
· use
-
cts
hiearachy .
Use to Obtain
a
Celi , filtnly-cells out pins and parts
only
.
O
Use start points-only/-endpoint only
switches
Startpoint/endpoint
return
.
only the timing
si -
· Nets are
pins/parts
ObIict that
together .
Connect
commands
>
-
getnets
Using Collections
↳ A collection is a set
of any
numbl
and
type of objects.
↳ Commands" all- * and
"get**
returns collections
Clength *J
(get-parts
collection (get-ports I
size of
Collections : Creating
A collection created the
is
everytime
·
all]
set all Regs [all-registers]
T
on t
nares one quateempt
lisa
·
far
here how .
but 700$3 :
Quering : -
I
you can
display the object
insid collection
a
using .
query-objects (collection
collection-result-display-time's
>
set
-
200
https://www.linkedin.com/in/vivek-arya-532558143
filtering: You can filter the items inside
collection
object (or
a
to a curtain attribute a
>
-
Set a (get-cells-filter "don't-touch
== tre is ref-name =inst
>
-
Using filter-collection
set b ↳ Filter-collection (getborts
"direction ==
out"] ;
Adding
::
add-to-collection existent-cK-
collection
(get-ports *
CK] ;
append-to-callttion current-nets
(get-nets -
hearchy *
Its
Removing : -
To get verson
of the original collection
⑳
without certain
objects
Set
remaining-cells remove-from-collection
/get-cells * I
To just
emptynull completly a collection
·
,
set it to
Set existent-collection 4 4;
Iterating : -
To through each
of the
go
·
for each-in-collection
https://www.linkedin.com/in/vivek-arya-532558143
other commands :-
Compare-collection
↳
Copy-collection
↳
Selection :
get- Selection
* Sourcin
* allas :-
* redirect COM > : -
* regexp
* echo
https://www.linkedin.com/in/vivek-arya-532558143