摘要
基于RISC-V架构设计了一个具有条形码识别功能的控制器,采用两级流水线架构,支持RV32EC指令集。通过外设控制模块扩展条形码识别接口,并为其配置中断响应端口,可用中断或查询方式读取条形码识别结果,并可通过写控制字方式进行处理模式设定,以及实时监测图像识别的工作状态等。在VCS平台上进行了仿真测试,验证了控制器逻辑功能的正确性,并在FPGA开发板上,实现了软硬件协同仿真验证。
A controller with barcode recognition function is designed based on RISC-V architecture,which adopts two-stage pipeline architecture and supports RV32EC instruction set.The bar code recognition interface is extended through the peripheral control module,and the interrupt response port is configured for it,the bar code recognition results can be read by interrupt or query,and the processing mode can be set by writing control words,as well as the real-time monitoring of the working state of image recognition.The simulation test is carried out on VCS platform to verify the correctness of the logic function of the controller,and the software and hardware co-simulation verification is realized on FPGA development board.
作者
马颖颖
施隆照
魏陈鸿
林伟峰
MA Ying-ying;SHI Long-zhao;WEI Chen-hong;LIN Wei-feng(College of Physics and Information Engineering,Fuzhou University)
出处
《中国集成电路》
2022年第4期30-36,共7页
China lntegrated Circuit