Objectives:
In this lab, you will learn:
How to generate single stuck-at fault test patterns for our simple ALU
Invoke Tetramax
To invoke Tetramax, first include the following C shell script
source /usr/cad/synopsys/CIC/tmax.csh
And then, you can do either one
tmax -nogui (command mode)
tmax & (GUI mode)
In this Lab, we will use the command mode. You are welcome to try the
GUI mode. In the GUI mode, you can type in your commands in the
command line, located at the bottom of the window.
NOTE: unlike the design compiler, Tetramax does not take the library in .ddc
format. Instead, Tetramax reads library in Verilog format.
The location of tsmc13.v is at:
/home/raid2_2/course/cvsd/CBDK_IC_Contest/CIC/Verilog/tsmc13.v
1 of 4
NTU GIEE Computer Aided System Design
NTU GIEE
NOTE: You may see some warning messages. Should you ignore these
warning messages? Try to explain these warning messages.
2 of 4
NTU GIEE Computer Aided System Design
NTU GIEE
Save your patterns into files. There are many formats supported by
TetraMAX. WGL (Waveform Generation Language), and STIL
(Standard Test Interface Language) are two of the popular formats.
Depends on the test equipment you use, you can choose other different
formats.
write_patterns ALU_syn_ATPG.wgl -format WGL
write_patterns ALU_syn_ATPG.stil -format STIL
Question: How many files do you get by typing the last command? ______
3 of 4
NTU GIEE Computer Aided System Design
NTU GIEE
Try to run Verilog simulations and see if you get correct results.
Checkpoints:
Please check with TAs before leaving this lab to make sure the following
goals are accomplished and to get credits.
1. Show your ATPG results.
2. Answer the questions in this lab.
END of LAB
Creator:
1st Edition: Chien-Mo Li, 2001
2nd Edition: Yu-Lin Chang, 2004
3rd Edition: Jui-Hsin Lai(Larry), 2008
4th Edition: Bing-Chuan Bai, 2010
5th Edition: Bing-Chuan Bai, 2011
4 of 4
NTU GIEE Computer Aided System Design