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.

Report generation in RTL compiler

Status
Not open for further replies.

dha_synth

Junior Member level 1
Joined
Jun 5, 2015
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
128
Hello all,

I a beginner and just running RTL compiler for some given design by the cadence using a generic tcl file.

My boss asked this question,
1. How much "Unclocked flip-flops" are there in the design and
2. "how many clocks are present in the design?".

Kindly help me to find the answer of these questions

Thanx in advance.:smile:
 

if you want to list only unclocked flip-flops, the following small TCL script can be used to achieve the results:


Code:
proc instance_has_clock {instance} {

  foreach pin [find $instance -pin pins_in/*] {

    if {[llength [get_attribute propagated_clocks $pin]]} {

       return 1

    }

  }

  return 0

}

 

foreach instance [find / -instance instances_seq/*] {

  if {! [instance_has_clock $instance]} {

    puts [vname $instance]

  }

}

----------------------------------------
report_clocks ..... command for all the clocks
 
Last edited by a moderator:

hello artmalik,

Thanks for the valuable reply, now i am able to see the unclocked flip-flops.

I want to calculate the number of the flip flops, how can i calculate?

Is there any direct command which gives the number of unclocked flip-flops?

Thanks
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top