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
 

jackson_peng

Full Member level 2
Joined
Apr 11, 2005
Messages
141
Helped
24
Reputation
48
Reaction score
9
Trophy points
1,298
Location
Shanghai, China
Activity points
2,380
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.
 

no_mad

Full Member level 5
Joined
Dec 10, 2004
Messages
272
Helped
30
Reputation
60
Reaction score
11
Trophy points
1,298
Location
Naboo
Activity points
2,473
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
 

gerade

Advanced Member level 4
Joined
May 4, 2004
Messages
109
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
the hole eletron left behind
Activity points
1,014
synopsys tcl all_registers

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

spauls

Advanced Member level 2
Joined
Dec 17, 2002
Messages
524
Helped
26
Reputation
52
Reaction score
9
Trophy points
1,298
Activity points
3,354
synopsys list all_registers

Use

set FF [list [all_registers]]
 

hgz

Member level 3
Joined
Feb 26, 2004
Messages
60
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
611
design compiler all_registers

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

2.report_reference
 

sumit_techkgp

Full Member level 2
Joined
Apr 1, 2007
Messages
134
Helped
8
Reputation
16
Reaction score
5
Trophy points
1,298
Activity points
1,866
assign it in a tcl variable and then see it using a for loop :)
 

svlsi

Newbie level 1
Joined
Mar 23, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
india
Activity points
1,286
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

Top