《电子技术应用》
您所在的位置:首页 > 模拟设计 > 设计应用 > 一种通用的底层驱动程序设计
一种通用的底层驱动程序设计
电子技术应用
邱靖超,张栩豪,吴杰
(中国兵器第214研究所,江苏 苏州 215163)
摘要: 提出了一种通用的底层驱动程序设计方法,适用于不同架构的芯片驱动的开发。这是一种自上而下的软件结构,采用C语言进行编写。在确立好顶层框架后,可以多人协作完成各个模块驱动程序的开发,从而快速进入调试阶段,大大缩短了驱动程序的开发流程,节约了时间,提升了工作效率。在这种驱动程序的基础上可以进一步开发芯片的测试程序以及应用程序。
中图分类号:TP311
文献标志码:A
DOI: 10.16157/j.issn.0258-7998.223402
中文引用格式: 邱靖超,张栩豪,吴杰. 一种通用的底层驱动程序设计[J]. 电子技术应用,2023,49(7):95-98.
英文引用格式: Qiu Jingchao,Zhang Xuhao,Wu Jie. A general bottom layer driver design[J]. Application of Electronic Technique,2023,49(7):95-98.
A general bottom layer driver design
Qiu Jingchao,Zhang Xuhao,Wu Jie
(East China Institute of Photo-electron IC,Suzhou 215163,China)
Abstract: A general bottom layer driver design method is proposed, which is suitable for the development of chip drivers with different architectures. This is a top-down software structure written in C language. After the top-level framework is established, multiple people can collaborate to complete the development of each module driver, and then quickly enter the debugging stage, which greatly shortens the driver development process, saves time, and improves work efficiency. On the basis of this driver, the test program and application program of the chip can be further developed.
Key words : bottom layer;driver;chip;top-down

0 引言

系统级芯片开发基于前期的规格定义,需要明确芯片架构,处理器核、片上存储、接口等功能模块,电源、时钟等信息。芯片设计需要综合考量芯片的功能、性能、成本、安全及可测性等综合要素。在经过了前后端设计之后生成.bit文件在FPGA中进行功能验证,流片形成样品后,还要对芯片进行测试和应用开发,也需要编写相应的驱动程序。驱动开发主要包括三方面:接口抽象化、编写驱动和注册驱动[9]。下面从这三方面分别进行阐述。



本文详细内容请下载:https://www.chinaaet.com/resource/share/2000005399




作者信息:

邱靖超,张栩豪,吴杰

(中国兵器第214研究所,江苏 苏州 215163)


微信图片_20210517164139.jpg

此内容为AET网站原创,未经授权禁止转载。