一种通用的底层驱动程序设计
电子技术应用
邱靖超,张栩豪,吴杰
(中国兵器第214研究所,江苏 苏州 215163)
摘要: 提出了一种通用的底层驱动程序设计方法,适用于不同架构的芯片驱动的开发。这是一种自上而下的软件结构,采用C语言进行编写。在确立好顶层框架后,可以多人协作完成各个模块驱动程序的开发,从而快速进入调试阶段,大大缩短了驱动程序的开发流程,节约了时间,提升了工作效率。在这种驱动程序的基础上可以进一步开发芯片的测试程序以及应用程序。
中圖分類號:TP311
文獻標(biāo)志碼:A
DOI: 10.16157/j.issn.0258-7998.223402
中文引用格式: 邱靖超,張栩豪,吳杰. 一種通用的底層驅(qū)動程序設(shè)計[J]. 電子技術(shù)應(yīng)用,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.
文獻標(biāo)志碼:A
DOI: 10.16157/j.issn.0258-7998.223402
中文引用格式: 邱靖超,張栩豪,吳杰. 一種通用的底層驅(qū)動程序設(shè)計[J]. 電子技術(shù)應(yīng)用,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 引言
系統(tǒng)級芯片開發(fā)基于前期的規(guī)格定義,需要明確芯片架構(gòu),處理器核、片上存儲、接口等功能模塊,電源、時鐘等信息。芯片設(shè)計需要綜合考量芯片的功能、性能、成本、安全及可測性等綜合要素。在經(jīng)過了前后端設(shè)計之后生成.bit文件在FPGA中進行功能驗證,流片形成樣品后,還要對芯片進行測試和應(yīng)用開發(fā),也需要編寫相應(yīng)的驅(qū)動程序。驅(qū)動開發(fā)主要包括三方面:接口抽象化、編寫驅(qū)動和注冊驅(qū)動[9]。下面從這三方面分別進行闡述。
本文詳細內(nèi)容請下載:http://m.ihrv.cn/resource/share/2000005399
作者信息:
邱靖超,張栩豪,吳杰
(中國兵器第214研究所,江蘇 蘇州 215163)

此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權(quán)禁止轉(zhuǎn)載。
