基于波形比对TestBench的Verilog在线自动测试系统设计  

Design of Verilog Online Automatic Testing System Based on Waveform Comparison TestBench

作  者:黄继业[1] 金清嵩 李平 刘鑫 HUANG Jiye;JIN Qingsong;LI Ping;LIU Xin(School of Electronic and Information,Hangzhou Dianzi University,Hangzhou 310018,China)

机构地区:[1]杭州电子科技大学电子信息学院,杭州310018

出  处:《实验室研究与探索》2025年第2期91-94,109,共5页Research and Exploration In Laboratory

基  金:浙江省“十四五”研究生教学改革项目(浙学位办[2023]1号)。

摘  要:为解决Verilog编程练习需求大和现有在线测评系统无法较好地支持Verilog在线评测的问题,设计了基于波形比对TestBench的Verilog在线自动测试系统。系统将标准答案源码和学生提交代码分别仿真,得到两种输出波形并转换为txt文本加以比对,根据比对结果在线自动评分。根据代码正确率给出具体分数,并将代码错误信息以文本形式反馈给学生,帮助学生全面评估自身水平并快速定位纠错。该系统已部署至程序设计类实验辅助教学平台,经过教学实践,能有效提升学生的Verilog编程能力,在教学中取得了显著成效。To address the high demand for Verilog programming exercises and the inability of existing Online Judges(OJ)to adequately support Verilog online testing,a Verilog online automatic testing system based on waveform comparison TestBench has been designed.The system simulates both the standard answer source code and the student-submitted code to obtain two sets of output waveforms,which are then converted into txt text for comparison.Based on the comparison results,the system provides online automatic testing scores.The feedback not only includes a specific score based on the correctness of the code but also provides error information in text form to help students comprehensively assess their own level and quickly locate errors.The system has been deployed on a programming design experimental teaching platform and has been proven effective in enhancing students’Verilog programming skills,achieving significant results in teaching practice.

关 键 词:Verilog在线自动测试 OJ系统 测试基准 波形比对 

分 类 号:TN402[电子电信—微电子学与固体电子学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象