ImageVerifierCode 换一换
格式:PPT , 页数:21 ,大小:3.35MB ,
资源ID:389583      下载积分:2000 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
注意:如需开发票,请勿充值!
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.mydoc123.com/d-389583.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(SystemVerilog and UVM for the ABC system verification.ppt)为本站会员(progressking105)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

SystemVerilog and UVM for the ABC system verification.ppt

1、SystemVerilog and UVM for the ABC system verification,Francis Anghinolfi,14 Nov 2013,SystemVerilog MiniWorkshop,OUTLINE,The ABC verification environments SystemVerilog and UVM UVM techniques for the ABC system Development plans SystemVerilog for ABC system?,14 Nov 2013,SystemVerilog MiniWorkshop,2,T

2、he ABC verification environment,What is ABC function (in short),256 ch events,L0 trigger,R3 trigger,L1 trigger,Commands,Buffer,Actions,Buffer,Buffer,Readout,Packets,Verification does (in short) : Stimulation of hits, triggers, commands Analysis of packets (in relation to Stimulations),14 Nov 2013,Sy

3、stemVerilog MiniWorkshop,3,One of the verification setup (verilog only based),Test Harness,Verification does (in short) : Stimulation of hits, triggers, commands, precoded time relations Analysis of packets (in relation to Stimulations),tbInclude,DUT,The ABC verification environment,tests,tasks,Cloc

4、ks, fixed sequences,Sequence orders,Python Analysis,Analyser,14 Nov 2013,SystemVerilog MiniWorkshop,4,Joel de Witt UCSC F.A. CERN,The ABC verification environment,Algorithm Development Using Matlab and Cadence Incisive,14 Nov 2013,SystemVerilog MiniWorkshop,5,Michelle Key-Charriere RAL,The ABC verif

5、ication environment,Object Oriented Software Trace,Michelle Key-Charriere RAL,14 Nov 2013,SystemVerilog MiniWorkshop,6,SystemVerilog and UVM,MY starting point : the SystemVerilog training course .,(Sorry Mr. Fitch! It was a wonderful course!),14 Nov 2013,SystemVerilog MiniWorkshop,7,SystemVerilog an

6、d UVM,And later on about UVM . (from an Accelera course slide),YES !,?,14 Nov 2013,SystemVerilog MiniWorkshop,8,SystemVerilog and UVM,At least I have seen the interest of THIS feature in SV/UVM :$RANDOM !In the spirit of SV, this has to do with test & functionality coverage, through generation of ra

7、ndom data and address sets.For exp. systems the feature becomes naturally useful as experiments have to deal with random (physics) data AND random triggers time distributions (with constraints ),14 Nov 2013,SystemVerilog MiniWorkshop,9,So generating random physics data set is an easy trickrand int u

8、nsigned hit; constraint Hits (hit dist 0,255;)for (int i=0;i256;i+) beginif (i = hit) hitbusi = 1;elsehitbusi = 0;end,SystemVerilog and UVM,transaction,driver,14 Nov 2013,SystemVerilog MiniWorkshop,10,SystemVerilog and UVM,transaction,sequencer,What about getting a fix pattern data ?rand bit 57:0 co

9、m0; constraint busy0 com07:0 dist 0:255; constraint busy1 com015:8 dist 0:255; Data = 4h3, 4h0, 4h0, 4h0, 4h1, 4hf, 3h0,LEFT, 4h1; uvm_do_with (req, com057:0 = HEADER, HCCField, HCCID, ABCID, RegAdress, WRITE, Data ; start_data 100;),Com0 is 58 bits word : 258 = 288230376151711744, seems beyond SV l

10、imits,14 Nov 2013,SystemVerilog MiniWorkshop,11,UVM for the ABC verification,Transaction !,What appeared is that UVM is a sort of wrapper formalism for SystemVerilog,UVM is a METHODOLOGY,Predefined list of filesPreformatted files contents,14 Nov 2013,SystemVerilog MiniWorkshop,12,UVM for the ABC ver

11、ification,For ABC the interest is in running parallel transactions,sequence,driver,agent,L0COM interface,sequence,driver,agent,interface,sequence,driver,agent,sequencers,env,test,DUT,Hit,L0,COM,sequence,driver,agent,sequence,driver,agent,R3L1interface,L1,R3,14 Nov 2013,SystemVerilog MiniWorkshop,13,

12、transaction,transaction,transaction,transaction,transaction,UVM for the ABC verification,HitBus_if si (clk); ABCDriveCOML0_if comL0_si (clk); ABCDriveR3L1_if R3L1_si (clk);,ABC_top.sv (module),task main_phase(uvm_phase phase); phase.raise_objection(this);begin/ create and start the virtual sequencev

13、irtual_seq vseq;vseq = virtual_seq:type_id:create();vseq.start(m_env.m_virtual_seqr);endphase.drop_objection(this); endtask: main_phase,ABC_test1.sv (class),ABC_env.sv (class),m_virtual_seqr.HitBus_seqr = m_HitBus_agent.m_sequencer; m_virtual_seqr.COM_seqr = m_COM_agent.m_sequencer; m_virtual_seqr.L

14、0_seqr = L0_agent.m_sequencer; m_virtual_seqr.L1_seqr = L1_agent.m_sequencer;,14 Nov 2013,SystemVerilog MiniWorkshop,14,UVM for the ABC verification,virtual ABCDriveCOML0_if vif;m_driver.L0_si = vif;m_driver.seq_item_port.connect(m_sequencer.seq_item_export);,L0_agent.sv (class),virtual ABCDriveCOML

15、0_if.senderL0 L0_si;virtual task drive_L0_trans (ABCDriveL0_transaction tl0);drive_L0 (tl0.L0, 2*bit_period*tl0.L0_dist); endtask : drive_L0_transseq_item_port.get(tl0); / Getdrive_L0_trans(tl0); / and Drive,L0_Driver.sv (class),. . .,. . .,. . .,Same (similar) class definitions for the 3 other tran

16、sactions (L1, com, Hit),Interface decl.,Seq. to Drive connection,Transaction, interval,Get and Drive,14 Nov 2013,SystemVerilog MiniWorkshop,15,UVM for the ABC verification,L1_sequence.sv (class),task body; / Does L1 selection within countfor (int i=0; i=count;i+) beginL1val = L1val+1;$display (“L1va

17、l = t %b, count = t %b“, L1val7:0, i); uvm_do_with (req, L1C10:0 = HEADER, L1val ; L1_dist = $dist_exponential(1,400);) end,Number of L1 sequences,11bits sequence, 3 bits Header, 8 bits binary count number, Interval btw. sequences with exponential distribution,14 Nov 2013,SystemVerilog MiniWorkshop,

18、16,UVM for the ABC verification,L1_transaction.sv (class),rand bit 10:0 L1C;constraint busy9 L1C dist 0:2047; rand bit pick_L1; / Select First Level Trigger signalconstraint busy10 pick_L1 dist 0 :/ 9, 1 :/ 1; / 10% at 1rand int unsigned L1_dist;constraint val1 L1_dist dist 200:400; ,Variables decla

19、rations with constraints,14 Nov 2013,SystemVerilog MiniWorkshop,17,UVM for the ABC verification,Hit,COM,L0,L1,14 Nov 2013,SystemVerilog MiniWorkshop,18,UVM for the ABC verification,Hit,COM,L0,L1,14 Nov 2013,SystemVerilog MiniWorkshop,19,Development plans,Develop the control & input sequences close t

20、o real case Join with the existing setup for ABC+HCC system, developed at RAL by M. Key-Charriere Explore the random nature of stimuli to verify/validate the response of the ABC/HCC to false commands, bit errors, disordered triggers etc ,14 Nov 2013,SystemVerilog MiniWorkshop,20,SV/UVM for ABC syste

21、m ?,Could I have described the same sequences with std. verilog ? My experience : a veeery looooong training process UVM methodology saved me : I think I could not do the job with SystemVerilog without the UVM formalism The monitor/checker options did not look so attractive, however I did not do much work there Pay off for the effort . ?,14 Nov 2013,SystemVerilog MiniWorkshop,21,

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1