о뷢չ
JOURNAL OF COMPUTER RESEARCH AND DEVELOPMENT
1999Vol.36No.6P.764-768



רüɵ·֤
һʵʵͨ΢ƵĶ༶֤ϵ
Ļ
ժҪרüɵ·칤ռƷķٷչƬϵͳɼɵĹԽԽ࣬ģԽԽ֤ԽԽӣֻʹȽֵ֤֤ƣܱ֤һͶƬɹ.רüɵ·֤ĸַһʵʵͨ΢ƵĶ༶֤ϵרŵƬϵͳڹԼ֤ʹƵԳ֤ܸһĲο.
ؼʣרüɵ·ģ⣬¼Ӳ٣Ӳ棬̬ʱʽ֤
ţTN4TP3
ASIC DESIGN VERIFICATION METHODOLOGY
AND A REAL UNIVERSAL MICROPROCESSOR'S DESIGN
VERIFICATION SYSTEM
YANG Wen-HuaLUO Xiao-Pei
(Mentor Graphics Beijing 100081)
(Graduate School, University of Science and Technology of China Beijing 100039)
AbstractASIC(application specific integrated circuit) technology and design methodologies develop very rapidly. More and more functions and circuits are integrated in a SOC(system-on-chip). Designers must use advanced methodologies and tools to verify their larger and larger VLSI design, so as to guarantee the first silicon success and meet the time-to-market.Here described are various kinds of ASIC verification methods and a real universal microprocessor's design verification system, which would be helpful to those who want to build a powerful verification plan and make their design adequately verified.
Key wordsASIC, software simulation, event-driven, hardware acceleration, hardware emulation, static timing verificationformal verification
1
רüɵ·(application specific integrated circuit, ASIC)ʱĲʧǾ޴ģû޸ƷASICоƬļܶASICеĴ󲿷ֱֽ溸ӣASICƵĽֻֿ:ҪôɹҪôʧܣڵ3м״̬.ʧܺƸɻ޴ʧ˶˵Ҫ֤оƬһͶƬɹֵ֤Ҫ.
ASICƹУ֤ʱռEDAԴĵط.Ҫ֤EDAг˽⣬ԹһЧ֤.ǰ˵֤Ҫ31,2:
(1) ֤ԭʼȷ.
(2) ֤Ƶ߼ǷԤ߼.
(3) ֤ƽʱϵǷԤָ.
EDAߵĳ֤Ҫģ⣬¼ģ(event-driven simulation)ڵģ(cycle-based simulation)Ӳ٣hardware acceleration )Ӳ(hardware emulation)̬ʱ(static timing analysis)ȷʽ֤(formal verification)ǽһ֤ʽ֤֤ķ֤ƽȷԣ34.ģӲҪ֤޵ʱģɵ·Ƶʱþ̬ʱķЧ.Ľ沿ֶ֤ӦEDA߼Խ.
2ģ
ģ(simulation)ָӵ·(ͼ)ȡģͣȻⲿźŻʩڴģ.ͨ۲ģⲿźµķӦжϸõ·ϵͳǷʵԤڵĹܣ2.Ҫͨģ⡢ȷЧز׽ƹ.ģǶԲͬ󼶱ĵ·ģ⣬ΪĴż򿪹ؼ.HDL(VHDL/Verilog)ֶ֧Բͬ󼶱ĵ·HDLԵģ⹤ͨҲֶ֧Բͬ󼶱ĵ·ģ.ͳģ⹤ǻԭͼżģ⹤ߣǴͳPCBICб㷺Ӧõģ⹤.
󼶱Ҫģ⣬ҪעоƬΪģ.оƬΪģҪΪ֤ǷҪռıߵ30%ϣ̵ڱԱڵıʹЧһܱƵ.
3¼ģͻڵģ
ģⷽĿǰõ¼(event-driven)ķ.¼ģҪ·һ¼ģеÿһ仯Ҫ¼.ģеĹУ¼е¼˳ÿһ¼Ѹ¼Ϊǰ¼㵱ǰ¼ֵ·Ӱ죬õһֵֵδֵδֵΪһδ¼¼УʱߵǸʱ̺ԭδ¼ͱ˵ǰ¼ȡõǰֵ2.
¼еĳʱɸ¼ֻеЩ¼ȫ֮ģʱǰһʱ㣬ɴ˿ɼģٶȫȡ¼Ķ봦ٶ.ÿԪá͡ʱ¼ʱԿǽȥʹ¼ģʱϻ׼ȷҲʹڴ֤ʱﲻٶ.
(cycle-based)ģΪ֤ṩһָ򵥡ٵķģʱֻСҪ¼ı仯׼ȷʱֻʾʱϵźű仯4.
ڵģͨ¼ģͬĳ.ʹʱûڵģ֤ͳ¼ģϸµĹܼʱ֤.ڵģһԼд첽߼¼ģļֱܱõ.
ĿǰҲνڵŻߣԽͨHDLģתŻĻڵģͣе¼ģ¼ģļŻģͣ5.е¼ģֿԼٴܵģ֤.
4ģٵֶΣӲٺӲ
΢ӼķչʹϵͳһоƬϳΪܣȫоƬģϵͳģ.ϵͳӶȵߣŵĵ·Ѿʼ죬ͳ¼ģ취ʹļٶȻ.ҪݡӽĿģⷽ.
ڵģܹһ̶ϼٴ֤ٶȣӲ(hardware acceleration, ʵʵӲоƬ·еģģ)ԴؼģٶȣҲԵԼһǱģϵͳбǺпӲоƬCPUMemoryģⷽģķٶջǾģٶ.
Ӳ(hardware emulation)ǿͨģ⣬ͨӦӲʵֱ߼ṹʵϵͳз棬ٶȱȼģҪö࣬ӲĿǰֻڽй֤ģ⣬Լֵʱ֤.
ɵ·Ӳ漼Ŀǰ:һFPGAΪӲ;һԴΪӲ.ԴΪӲһԼ첽߼ƣͬʱǶԷļʲFPGAĸߣ6.
Է漼ĻҪǾȡٶȺͷ.˵ϵͳָ.Ŀǰַ漼죬澫һ㶼ܴﵽҪ.ٶǵڶҪָ꣬رڹģĳģɵ·ķУٶΪƿ.⣬Ŀýٵķ֤ϵͳǷﵽԤҪ󣬴Ӷڷ⣬شʧֻзõڽʵϵͳʱмֵ.ͼ1Ϊģ⼰ģٷɱϵʾͼ¼ģ⣬ģ⣬ӲӲǵٶԽԽ죬ɱҲԽԽ.ҪȷʺԼģ湤.

ͼ1漰ٵķ
5̬ʱ(static timing analysis)
ģ淽Ҫû뼤()ҶԳģɵ·ģʱ൱ʱ.ASICƵĹģڼʮʱ߾ҪָĲģʱ䡢Լľ޴Ӳֵ֧.˲òѰż֤·԰ܶȡ΢Ƶ.̬ʱṩ··ȫҪ.ֻ¼ģʱĺһ֣ȴṩ·ʶġ̶ϵȷ.ԽԽ߿ʼͬʱþ̬ʱ¼ģڣСʶķ.ڳ˵¼ʽģʱϾ̬ʱȻ⣬ǽ̬ʱ֤һּٵĹ֤һʹýй֤߰ʽ֤ڵģ⡢ӲٺӲ.ͼ2ʾASICҪƷϵı7.

ͼ2ASICҪƷϵı
̬ʱߵŵǼСоƬƵķգҲҪκβĿ.Ȼ̬ʱ걸Ҳһ˫нвֵĹؼ·(critical path)Ҳʶ.ʶҽضЩ·(false path)һֱߵһҪʱǷǳҪصģʹ߷˾̬ʱԼĶô.⣬ͳ̬ʱЩȫֻͬ൱򵥵ʱӽṹԼشĴƣЩԭʹþ̬ʱ߱г֮.ܷǡؽ⽫̬ʱܷ񱻹㷺.
6ʽ֤
ʽ֤ǽһ֤.ṩ֤ʵĽ֤ƽȷԣ3.ģⲻ֮ͬУ2:
(1)ģźŵļʽֻ֤ǵ·з.Ͻһ·ȷ񣬽ȡڵ·Ƕźŵļ.
(2)ģͨźڵ·Ԫ֮䶯̬ʵֵ;ʽ֤̬ͨ߼ʵֵ.
(3)ģֱָ·Ƿдָ·λãҪûԼģжϲҳƵĴ.ʽֱ֤Ӹȷǡ󡱽.
ĿǰEDAгѿʼʽ֤.֤ۺǰڼ߼Ƿ߼ܵı仯, ƵĵȼԼ348.
7һʵʵͨ΢֤
ͨ΢оƬĵ·ģԼΪ50ţڲ߼ģָ롢ڲϵͳʶͨſơӼĴѿơӴ洢ַݡ㡢㼰жϡλʱơ߽ɨȵ·ģ.
ڸоƬв˶༶֤ϵͼ3ʾ.ģ鼶ģ(ߺģ)ȫ¼ʽģ⹤֤ģģ⼰оƬĹ֤(Ĵ伶ż)ʹӲڲTop-DownƷõżģ飬ʱߺʱֱ߼ۺϹߵʱɣģʹרŵľ̬ʱʱ.֤ܵϵӦȽEDAʹоƬƵõ˳֤.

ͼ3һͨ΢ƵĶ༶֤ϵ
8ᡡ
ŹռĲϷչƬϵͳ(SOC)ԼɵĹģԽԽʹTop-DownƷIP(intellectual property)ѴߣͬʱҲ֤ĸֻоƬɹģͬʱֶ֤Σܱ֤оƬһͶƬɹ.
߼飺ĻŮ19691Mentor Graphics ʦйƼѧоԺѧоҪоΪEDAASICӦ.
棬У19336ڣоΪϵͳϢϵͳ.
ߵλĻMentor Graphics100081
棨Mentor Graphics100081
ĻйѧѧоԺ100039
棨йѧѧоԺ100039
οף
1Huber J P, Rosneck M W. Successful ASIC Design: The First Time Through. Portland: Meritor Graphics Corporation Press, 1991
2, ־. רüɵ·ͼϵͳԶƷ. ҵ磬 1997
(Zhou Zucheng, Wang Zhihua. ASIC and Integrated System Design Automation Methods (in Chinese). Beijing: National Defense Industry Press, 1997)
3Goering R. Logic verification: Beyond Simulation. EETimes, December 22, 1997, 986
4Goering R. Turmoil at Abstract Symbolizes Fight for Survival in Equivalency Checking-Vendors Scraps for Survival in Formal Market. EETimes. August 10, 1998, 1020
5QuickHDL-XLC User's and Refernce Mannual. Portland: Mentor Graphics Corporation, 1997
6Rizzatti L. Celaro: State-of-the-art hardware emulator. Mentor Graphics, Corporation, Tech Rep: Celaro White Paper, 1998
7Cline D P. SST velocity: Timing analysis and verification for high-end ASIC. Mentor Graphics, Corporation, Tech Rep: SST Velocity White Paper, 1998
8Musgrave G et al. User experience with high level formal verification. In: ACM Proceedings of the 35th Design Automation Conference. San Francisco, ACM, 1998. 327
9Keating M, Bricaud P. Reuse Methodology Manual for System-on-a-Chip Designs. Norwell, Massachusetts: Kluwer Academic Publishers, 1998
ոڣ1998-08-11
޸ڣ1998-10-26
