Showing posts with label Synthesis. Show all posts
Showing posts with label Synthesis. Show all posts

Tuesday, September 2, 2008

A Typical RC script for Scan Insertion

read_netlist -top ahb_master

read_sdc ahb_master.sdc

set_attribute dft_scan_style muxed_scan

define_dft test_mode -name test_mode -active high test_mode

define_dft shift_enable -name scan_en -hookup_pin [find / -pin dft_fix/Z] -active high ahb_master/dft_fix/Z (if using an internal pin for scan enable)

define_dft scan_chain -name chain1 -sdi -sdo -shared_out -shared_select test_mode

(assuming that you are using shared scan input and scan outputs)

check_dft_rules

report dft_registers > dft_reg.rpt

report dft_setup > dft_setup.rpt

set_attribute dft_max_length_of_scan_chains

synthesize -to_mapped

connect_scan_chains -preview -auto_create_chains

connect_scan_chains -pack

report dft_chains > chain.rpt

write_hdl >

write_script > dft.tcl

write_atpg -mentor

I have found that the RC tool does not write out a really useful testproc file
I will soon upload a proc file, keep watching

Wednesday, January 2, 2008

Please Note

Take care while using the dont_touch attribute when there are gated clocks in the design

Monday, December 31, 2007

Good Question

What are Top Down and Bottom Up compile methodologies in Synthesis?

In top down compile methodology you start compiling from the top of the design hierarchy. Whereas in the bottom up compile methodology we start building from the bottom of the design hierarcy. In general we go for the top down compile method.

Why should we not use tri-state logic arbitrarily?


Tri-state logic reduces testability
Tri-state logic is difficult to optimize - since it cannot be buffered leading to max fanout violations and heavily loaded nets

However tri-state logic can provide significant savings in area.

Sunday, December 30, 2007

Guidelines

THINK HARDWARE while coding RTL

Keep related combo logic in the same module

Isolate state machines from other logic

Isolate clock syncronizers into separate blocks

Behavioral level coding abstraction allows the design to be independent of timing and explicit sequencing

Avoid multiple clocks per block

Put all the clock related logic in a block

See that you dont have any logic at the top level and instead make it a list of instantiations

Module name same as file name

only one module per file

Register all outputs wherever possible

Implement next state combo using a case statement

Latches make DFT Scan insertion difficult if not impossible and also makes STA no easy.

To avoid latches: -
  1. Assign a value to the output in every branch of a case statement
  2. All if's and/or elseif's should end with an else
To implement muxes, use case statements exclusively.

Avoid full case and parallel case directives as much as possible

Multiple if statements result in the creation of a priority encoder structure

EDAboard.com