Lab3b Conformal
Lab3b Conformal
▪ This Lab will familiarize you with one of Cadence tool – Conformal-LEC, which perform LEC.
© 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.
© 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
%> 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
© 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 -
© 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”
© 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 ./
%> 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
© 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:
© 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)
⑧ 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