TCL Using Synopsys
Commands
Notes
TCL
Using Synopsys tools
Objects : -
synopsys data structure to
detailed information
↳ get object-name > -
to obtain
Objects name
·
Cells
ports
·
② Nets
O
pins
Attributes : -
Every object Contains
Certain properties that
are stored in
farm of after-
putes
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
Pins & Ports : -
·
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
-
all-fanout commands to obtain
bins
the , port and cells
coming to
(tanin) or
going from (fanout
the specified pin on part .
· use
-
flat Switch to obtain all
of its
oby regardless
·
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
⑳ Use the all-connectedl command to
Obtain the objects connected to the
specified not , bin or port object .
Using Collections
↳ A collection is a set
of any
numbl
and
type of objects.
↳ Commands" all- * and
"get**
returns collections
I A collection is NOT a list
in fact try these Out !
Clength *J
(get-parts
collection (get-ports I
size of
Collections : Creating
A collection created the
is
everytime
·
all* Commands are used
get -* or
Set all cells (ret-cells -
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
loguc combination ofattributes) .
>
-
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
·
Liters in a collection use the
command
.
for each-in-collection
for each-in-collection item collection ...
https://www.linkedin.com/in/vivek-arya-532558143
other commands :-
Compare-collection
↳
Copy-collection
↳
Selection :
Change-selection ↳ Collection >
get- Selection
* Sourcin
* allas :-
* redirect COM > : -
* regexp
* echo
https://www.linkedin.com/in/vivek-arya-532558143