0% found this document useful (0 votes)
31 views16 pages

Lab3b Conformal

Uploaded by

sinh.voz04
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views16 pages

Lab3b Conformal

Uploaded by

sinh.voz04
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

BKU / RVC / CADENCE COLLABORATION

LAB 3B – LOGIC EQUIVALENCE CHECK

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved.


Overview
▪ In LSI design flow, after Synthesis, we need to perform Logic Equivalence checking (LEC)
between RTL and its Netlist to ensure that the functionality of them are the same:

Phases that Logic Equivalence checking is performed

▪ This Lab will familiarize you with one of Cadence tool – Conformal-LEC, which perform LEC.

▪ This Lab will cover the following:

❑ How to use Conformal-LEC


❑ How to debug Non-equivalent points by using GUI (Graphic User Interface)

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 2
Advantages of Conformal-LEC
▪ Conformal-LEC has many product to adapt with your purpose:

❑ Conformal L (ASIC): Verify synthesized and place & route netlist transformation.
❑ Conformal XL (Ultra): Conformal L + Verify complex datapath.
❑ Conformal GXL (Custom) : Conformal XL + Verify custom logic and custom memories.
❑ Conformal Low Power: Conformal XL + Verify low-power logic and power domains.
▪ It’s self-contained and it not tied to any particular synthesis environment. Thus, it gives you a
higher degree of confidence than equivalence checkers integrated with a particular logic
synthesis tool.

▪ It has excellent debugging capabilities. It automatically diagnoses design mismatches and


accurately pinpoints the source of the differences.

▪ It supports Hierarchical Comparison, which speed up the compare process. Moreover,


Cadence already introduced Smart LEC with special engine, which can execute hierarchical
comparison in parallel to achieve the best run time.

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 3
Perform LEC with Conformal (1/4)
▪ Step 1: Change directory to “lec_env” folder. In this Lab 4, we will work at this place:
%> cd /home/vlsi_group??/vlsi/${Student_ID}/work/lec_env

▪ Step 2: Link the RTL, Netlist and Library file from “synthesis_env” into this place:
%> ln –sf ../synthesis_env/Genus_BoundFlasher/RTL/bound_flasher.v
%> ln –sf ../synthesis_env/Genus_BoundFlasher/LAB1/outputs??/bound_flasher_m.v
%> ln –sf ../synthesis_env/Genus_BoundFlasher/LIB/slow.lib

▪ Step 3: Confirm there has no broken link (link files successfully):

%> ll

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 4
Perform LEC with Conformal (2/4)
▪ Step 4: Prepare the setup script for Conformal as below:
%> vi ./lec.tcl

set_log_file lec.log -replace Set Log file name lec.tcl

read_library slow.lib -lib -revised Read libraries

read_design bound_flasher.v -verilog -golden Read RTL

read_design bound_flasher_m.v -verilog -revised Read Netlist

set_mapping_method -name only


set_system_mode lec Mapping process
map_key_points

add_compared_points -all Compare process


compare

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 5
Perform LEC with Conformal (3/4)
▪ Step 5: Prepare the execution script as below:
%> vi ./go_lec

#!/bin/bash -f go_lec

cd /home/share_file/cadence
source add_path Setting license for
source add_license using Conformal
cd -

lec -64 -dofile ./lec.tcl & Invoke Conformal

▪ Step 6: Execute %> ./go_lec

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 6
Perform LEC with Conformal (4/4)
▪ Step 7: It will automatically open the GUI and execute processes that we described in file “lec.tcl”

Don’t have any Non-equivalent points


=> Netlist equivalent vs RTL

Type “exit” here to exit the GUI

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 7
Debug Non-equivalent point (1/8)
▪ Step 1: Copy Netlist into this place:
%> rm –rf bound_flasher_m.v
%> cp –rf ../synthesis_env/Genus_BoundFlasher/LAB1/outputs??/bound_flasher_m.v ./

▪ Step 2: Confirm Netlist already copied (not link):

%> ll

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 8
Debug Non-equivalent point (2/8)
▪ Step 3: Modify Netlist to make a “bug” intentionally:
%> vi ./bound_flasher_m.v

Pick up 1 INV-cell
randomly and change
it to BUF-cell

▪ Step 4: Re-execute %> ./go_lec

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 9
Debug Non-equivalent point (3/8)
▪ Step 5: When execution is done, “Non-equivalent” points will appear:

Non-equivalent points

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 10
Debug Non-equivalent point (4/8)
▪ Step 6: There are many ways for debugging nonequivalent points. The following part is the
debugging example using “Diagnosis Manager” and “Schematics Viewer” in GUI:

① Click to open “Mapping Manager”

② In “Mapping Manager” window, click


“Class”, choose “Disable All” then
choose “Non-Equivalent” to display only
nonequivalent points

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 11
Debug Non-equivalent point (5/8)

③ Right-click to first
nonequivalent key point and
choose “Diagnose” to open
“Diagnosis Manager”

④ In “Diagnosis Manager”
window, choose “Schematics”
to open “Schematics Viewer”

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 12
Debug Non-equivalent point (6/8)

⑤ As you can see, on the Revised schematic (left), the end- ⑥ If you want to expand the logic cone at specific pin, right-
point simulation (pink circle) is 1, while the Golden is 0 click to this pin and choose “Fan-in Cone –> Open”

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 13
Debug Non-equivalent point (7/8)

⑦ Purple gate is the gate


has a corresponding
equivalent gate on the
other schematic, you can
use it for easier debugging

⑧ After trace back, you can find that the root cause is BUF-gate ⑨ When you hover your mouse over any gate, it will show the
(pink rectangle) in Revised design corresponding line number in source code

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 14
Debug Non-equivalent point (8/8)

⑩ Double-click to the error gate (BUF gate) in Revised design, ⑪ You can confirm and give the suitable solution such as re-
the corresponding source code will be opened synthesize, do ECO…

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 15
THANK YOU FOR YOUR LISTENING

© 2019 Renesas Design Vietnam Co., Ltd. All rights reserved. Page 16

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy