all_registers command

Status
Not open for further replies.

ouahhabi5

Newbie level 6
Joined
Feb 14, 2006
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,390
all_registers

I use all_registers command in dc_shell to display all FF in my design, unfortunately, it complet the list by "...}". I want the list of all registers displayed. If some one have any idea I will be very gratful
 

all_registers -clk

Hehe,
You can Assign the [all_registers] into a set,
and then use "foreach_in_collection" to display every item in the set.
 

pdf all registers

Hi ouahhabi5,

Frankly, I don't understand your problem
unfortunately, it complet the list by "...}"

But I've checked it in Synopsys Solvenet. Below is the result:

Hope this helps.
-no_mad
 

synopsys tcl all_registers

just append "> filename", then you can find them in the file.
or simply use tcl to print them out
 

synopsys list all_registers

Use

set FF [list [all_registers]]
 

design compiler all_registers

1.set REGS [all_registers]
sizeof_collection $REGS > ./rpt/regs.rpt

2.report_reference
 

assign it in a tcl variable and then see it using a for loop
 

You can use one of the following ways to get the list of all registers in a design:

1: report_cell [all_registers]

2: foreach_in_collection el [all_registers]
{
puts [get_object_name $el]
}

3: set file_handle [open my_file a]
foreach_in_collection $el [all_registers] {
set reg_name [get_object_name $el]
puts $file_handle $reg_name
}
close $file_handle
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…