摘 要:在嵌入式系統中,IP核的使用已成為SoPC系統的重要組成部分,針對現有LCD控制器型號之間兼容性差的缺陷,提出了一種基于SoPC Builder工具的參數化TFT-LCD控制器IP核的設計方法。用硬件描述語言進行通用TFT-LCD控制器的功能描述,將設計的控制器以IP核的形式添加到SoPC Builder中去,供SoPC系統設計使用。進行設計驗證,結果表明,該方法具有很好的通用性,也提高了系統的兼容性。關鍵詞:SoPC; TFT-LCD; IP核; 嵌入式系統
中圖分類號:TN911-34文獻標識碼:A
文章編號:1004-373X(2010)16-0077-03
Design of General TFT-LCD Controller IP Core Based on SoPC
MA Hong-feng1,2, DANG Jian-wu2, WANG Hong-bin1
(1.Electronic Information Engineering Department, Lanzhou Polytechnic College, Lanzhou 730050, China;
2.College of Electronics and Information Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China )
Abstract: IP core is an important part of the SoPC system in the embedded system. A design method of parametric TFT-LCD controller IP core based on SoPC Builder is put forward for solving the poor compatibility among different LCD controller models. The general TFT-LCD controller is described with hardware description language(HDL), the designed controller is added into SoPC Builder as a IP core for designer to construct SoPC system. The results show that the system has good generality and compatibility. Keywords:SoPC;TFT-LCD;IP core; embedded system
收稿日期:2010-03-19
基金項目:甘肅省自然科學基金項目(096RJZA084);高等學校博士學科點專項科研基金項目(20060732002);甘肅省教育廳研究生導師科研計劃項目(0814-4)
隨著電子技術的迅猛發展,液晶顯示器(LCD)具有功耗低,體積小,重量輕,超薄等許多其他顯示器無法比擬的優點,被廣泛用于智能儀器、儀表和低功耗電子產品中[1]。TFT-LCD屏采用有源顯示方式,具有抗抖動,色彩飽和度高,還原能力強和對比度高等特點,在嵌入式系統中具有廣泛的應用前景[2]。在嵌入式系統中,LCD控制器是處理器與LCD顯示驅動器之間的接口部件,對LCD屏提供時序信號和顯示數據,用來控制數據在LCD屏幕上的顯示,是LCD系統中重要的組成部分。現有的LCD控制器一般都由各個生產廠家自行開發,通用性差,而軟件控制TFT-LCD會占用大量的處理器資源,使得系統的集成度不高。
SoPC Builder是Altera公司實現SoPC概念的一款工具軟件[3],使得用戶可以通過自定義邏輯的方法方便地開發基于NiosⅡ 的SoPC 系統。SoPC Builder 集成在EDA 工具QuartusⅡ中,提供NiosⅡ處理器及一些常用外設接口,用于組建一個在模塊級和組件級定義的系統,能夠自動生成片上總線和總線仲裁器等所需的邏輯[3]?!?br>