1)
pt_shell> set mynets [get_nets *]
the above cmd creates a collection of nets and passes that collection to a variable names mynets
2)
pt_shell> set Cells [get_cells "U1/*" -filter {area <= 12 || ref_name =~ "A*P"}]
The Above cmd gets the cells in U1 that have an area no greater than 12 or reference a design ( or library cell) named AN2P, AO2P, and so on.
The command then assaigns the collection to the Cells variable.
The filter language supports the following relational operators:
== Equal
!= Not Equal
> Greater Than
< Less Than
>= Greater than or equal to
<= Less Than or Equal to
=~ Matches pattern
!~ Does not match pattern
No comments:
Post a Comment