一种通用的底层驱动程序设计
电子技术应用
邱靖超,张栩豪,吴杰
(中国兵器第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
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]。下面從這三方面分別進行闡述。
本文詳細內容請下載:http://www.tom3567.com/resource/share/2000005399
作者信息:
邱靖超,張栩豪,吳杰
(中國兵器第214研究所,江蘇 蘇州 215163)

此內容為AET網站原創,未經授權禁止轉載。
