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.

[PrimeTime] List of all registers

Status
Not open for further replies.

maulin sheth

Advanced Member level 2
Joined
Oct 24, 2010
Messages
502
Helped
90
Reputation
179
Reaction score
90
Trophy points
1,318
Location
Bangalore, India
Activity points
4,161
Hello All,

Can anyone please help me to get list of all registers inside design at all hierarchical level in Synopsys PrimeTime?
I have tried with all_registers, but it reports nothing. Thereafter, I change top module to some internal module, thn it reports the registers which are in that module. So, how can I get it from top level? I want all registers from top level of all the sub-modules.

Thanks in advance.

--
Thanks & Regards,
Maulin Sheth
 

I think you can try like
get_cells -of_object <ref_names of registers> *

get_cells -filter {is_sequential == "TRUE"} *
 

command: "[all_registers]", return the list of all registers.

foreach_in_collection e [sort_collection [all_registers]] {
puts "[get_object_name $e]";
}

all_registers return a pointer then you need to return the name with get_object_name...
 

Hello RCA,

thank you very much.
This one is also not working in PrimeTime.

all_registers command working fine in dc_shell but not not working in PrimeTime.

What happened is :
current_design top_module
link -keep_sub_design
all_registers.

-> all_reg reports not a single cell.

Now,
current_design top_module
link -keep_sub_design
current_design sub_design_1
all_registers.

-> this all_reg list out the registers which are in sub_design_1.

But why not working when I set current design as a Top module in PrimeTime while its working fine in DC?

Please help me to solve problem.

Thanks in advance

Maulin
 

Sorry mauln sheth,
Code:
foreach_in_collection e [sort_collection [all_registers]] {
puts "[get_object_name $e]";
}

but this code works with primetime, I used it to check if the reset pin of the registers is connected to the right reset generator.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top