How to Fit TestKompress into a Magma Flow

So, you have a customer who has finally had it with certain other synthesis tools and has turned to Magma. Because they value quality, they naturally turn to TestKompress® to meet their DFT requirements and it is now up to you to make it work.

Fortunately, it is relatively simple to integrate TestKompress into the Magma RTL to GDSII design flow.

For this tech tip, we will assume that your customer is using Blast Create TM for scan insertion.

  1. Follow the normal process of inserting scan to the design.
  2. When complete, generate a report of the scan chains using the command "report dft scan chains." This will produce a text file that describes the scan chains in the design.
  3. Next you will convert this into the skeleton design format for use with the "create_skeleton_design" script. Contact Rich Ackerman ( Richard_Ackerman@mentor.com ) for a script to make this conversion.
  4. Generate your TestKompress logic with the skeleton design as described in Chapter 9 of the EDT Process Guide.
  5. Now, you need to instantiate your TestKompress logic into the design. You may need to downgrade the RTL-71 error to a warning as follows:

             config message level RTL-71 warning

  6. Next, you will need to define the connections for the TestKompress logic.  Use the set conList command as follows:

          set conList [ list edt_clock     $m/PAD_EDT_CLOCK_I/pin:C   \
                      edt_update             $m/PAD_EDT_UPDATE_I/pin:C  \
                      edt_bypass             $m/tap/pin:userIR[2]       \
                      clock1_i                  $m/core/pin:clock1_i  \
                      clock2_i                  $m/core/pin:clock2_i  \

                    …

                       edt_channels_out[2] $m/PAD_SCAN_OUT_O__2/pin:I \
                       edt_channels_out[3] $m/PAD_SCAN_OUT_O__3/pin:I \
                       edt_scan_in[63:0]    $m/core/pin:SI[63:0] \
                       edt_scan_out[63:0]  $m/core/pin:SO[63:0] ]

  7. Finally perform the incremental synthesis of the TestKompress logic as follows:

          run dft infra create $m $l $m core_edt u_core_edt ./core_edt.v \
               $conList -no_scan_style

More information is available in the Magma Application note "Using Scan Vector Compression With Magma Blast Create." Please contact your local Magma representative or logon to: http://www.magma-da.com/c/@q_rvLOLjgx6KU/Pages/index.html.

More DFT Tips & Techniques

© Mentor Graphics Corp. All rights reserved.