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.

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:
Getting a List of Registers Optimized Away by DC

There is no direct way to get a list of registers optimized away by
Design Compiler. A workaround is to get a list of all registers in the
design before compile by using

set pre_compile_regs [all_registers]

Then get a list of registers after compile by using

set post_compile_regs [all_registers]

Then you can find out which registers were optimized away by using

set lost_regs [remove_from_collection $pre_compile_regs $post_compile_regs]

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top