• 沒有找到結果。

對以智財單元為基系統晶片設計之驗證與測試技術開發研究---總計畫

N/A
N/A
Protected

Academic year: 2021

Share "對以智財單元為基系統晶片設計之驗證與測試技術開發研究---總計畫"

Copied!
6
0
0

加載中.... (立即查看全文)

全文

(1)

對以智財單元為基系統晶片設計之驗證與測試技術開發研究

Ver ification and Testing Technology Exploitation for IP-Based

SOC Design

計畫編號:NSC 89-2215-E-009-118

執行期限:2000 年 8 月 1 日至 2001 年 7 月 31 日

主持人:李崇仁教授 交通大學電子工程系

共同主持人:董蘭榮教授

交通大學電機與控制工程系

陳盈安教授

交通大學資訊科學系

陳竹一教授

中華大學電機系

一、中文摘要 以系統晶片來實現複雜的系統已成 為積體電路設計的主要趨勢。系統晶片的 設計一方面要利用強大計算機輔助設計 整合多個智財(IP)單元於單一的系統晶片 上,另一方面要驗證設計結果以符合系統 要求。為達成後者目的需要有強大有效之 驗證測試系統。本研究團隊基於多年研究 積體電路驗證測試技術的經驗提出此計 畫以開發出完整的系統晶片驗證測試技 術。 計劃分成四子計劃,分三年完成。分 別為:(1)於組織探索階段互動之系統階層 驗證技術;(2)以智財為基系統晶片設計之 功能驗證技術研究;(3)以智財為基系統晶 片設計之測試技術研究;與(4)系統晶片矽 晶偵錯之良率提昇。分別於系統階層驗 證、RTL 階層驗證、IP 單元測試、與元 件偵錯四層面上發展驗證、測試、偵錯與 良率提昇技術,以減少再設計週期。藉由 探討此四個部分的驗證技術及相互間的 分工整合建構成一套具實用性的系統晶 片驗證測試偵錯技術。 關鍵詞:系統晶片、驗證、測試、偵錯、 超大型積體電路/計算機輔助設計、良率 Abstr act

To use an SOC (System-On-a-Chip) realize a complex system has become the main trend for today’s IC design. To design an SOC, in one hand, it needs to have a powerful CAD system to incorporate many

IP’s into one single chip; in the other hand, it needs to verify the designed system and test the finally fabricated chip to guarantee its proper function and performance. To achieve the latter goal, it needs to have a powerful and effective verification, testing and debug system. In view of this, this integrated joint project is proposed to investigate the verification, testing and diagnostic technology for the SOC design.

The project , to be carried out in three year period, has four sub-projects, which are : (1) system-level verification interacting with architecture exploration;(2) Functional verification techniques for IP-based SOC design; (3) Testing technology development for IP-based SOC design; and (4) SOC silicon diagnostics and yield improvement. It is dedicated to investigate the verification, testing and debug techniques at four levels, i.e., system level, RTL level, IP-level and silicon wafer debug of SOC design. The final aim is to develop a complete and practical verification and testing system for SOC design.

Keywor ds: SOC, Verification, Testing,

Diagnosis, VLSI/CAD, Yield

二、緣由與目的 以 系 統 晶 片 (System-on-Chip)來 實 現 複雜的系統已成為積體電路設計的主要 趨勢。系統晶片的設計一方面要整合多個 智財(IP)單元於單一的系統晶片上,另一 方面要驗證設計結果以符合系統要求。合

(2)

成智財單元與整合系統晶片的過程繁複 已屬不易,而要確認該系統晶片製造完成 後,是否能正確地運作則是更大的挑戰。 目前學術及產業界大多投入於系統晶片 的開發設計上,對於系統晶片的驗證測試 技術則著墨不多。鑑於此,本研究團隊提 出此計畫以開發出完整的系統晶片驗證 測試技術。 系統晶片設計通常採用由上而下的 流 程 , 分 為 System-Level Design , RTL-Level Design,Gate-Level Design 以及 Manufacturing, 在 每 一 層 次 設 計 均 產 生 intermediate 設計結果供下一層次之設計 使用。在每進入下一個層次之前,必須先 確 認 設 計 結 果 之 正 確 性 與 其 之 可 測 試 性。我們所提出一套結合設計流程的驗證 程 序 , 分 階 段 地 : 即 System level, RTL-level, Gate level 及 Manufacturing level 完成系統晶片的驗證工作及產生測 試偵錯圖樣(test and diagnostic patterns)。

第 一 階 段 主 要 是 由 第 一 子 計 畫 執 行,其主要工作是成本評估、效能模型、 軟硬體共模擬。此計畫首先就耗電功率、 面積、延遲時間三項因素來評估系統之組 織成本。根據與系統組織配置的設計階段 互動,一方面驗證該組織是否符合系統要 求、一方面提供組織配置的設計參考。此 步驟完成後,再在效能抽像階層上模擬候 選組織。在此階層的模型不強調實際的資 料值而僅考慮系統內的資料流動。因此, 由於模型複雜度的簡化縮短模擬時間。而 設計者依據時間性效能的模擬結果驗證 候選組織並進而改善設計。完成此二步驟 後,軟硬體共模擬開始就包含軟、硬體元 件的異質組織實施模擬以驗證系統晶片 行為結果。至此,系統階層驗證便告完 成。此時將再進行下列階段 RT-level 之驗 證。 第 二 階 段 主 要 是 由 第 二 子 計 畫 執 行。第二子計畫擬對不同的 IPs,特別是 內崁式處理器,DSP IPs 及匯流排,發展 出不同的驗證演算法,然後建構一驗證系 統將所發展之演算法納入,以實地的驗證 一些上述 IPs,另外本計畫亦擬研究一些

System level 與 RTL level 設計間的同等問 題 (equivalence checking) , 以 保 證 當 一 SOC 設計自 System level 轉至 RTL level 時無誤。 第三階段主要是由第三子計畫執行。 於 SOC 設計過程中,除各層次之設計驗 證外,為保證系統晶片製造出來時,無因 製程缺陷等因素而發生不能工作情況,必 須加入可測試性設計之考慮,並對各 IP 產生其測試與偵錯圖樣。晶片測試,長久 以來即是一困難問題。於系統晶片設計 中,由於晶片之規模是更大而複雜,且其 中許多 IP,皆是由不同公司或設計者提 供,所設計出來之晶片測試問題更是嚴 重。又未來之系統晶片,必是屬混模信號 (mixed-mode signal),其製造技術亦必是 以深次微米為主之技術,其信號傳輸是以 奈秒(nano-seconds)(甚至以上)為單位。對 於此種晶片,有一些新的現象,如:信號 於 interconnection wires 傳輸所花費時間 將超過於 MOSFET 電晶體傳輸所花費時 間,interconnection wires 間之信號干擾現 象嚴重,MOSFET 漏電流增大等,晶片測 試需要有新的考量。 故 第 三 子 計 畫 : 擬 在 下 列 三 方 向 對 SOC 晶片測試之諸問題,作一研究:(1) 數 位與類比 IP 之測試與驗證;(2) 深次微米 連接線之測試;(3) 以統計方法研究深次 微米 VLSI 測試。其中第一項係於 gate 或 circuit level 對各類 IP 研究其測試方法, 特別是採用自我測試之方式;第二項係針 對未來 SOC 必是將許多 IPs 用連接線連 接,此連接線會因次微米而有一些如上所 述現象,其測試值得研究;第三項係因深 次微米晶片,其功能受製程參數影響甚 大,處理測試問題已不可循往常固定值之 測試觀念,而必須以統計方式處理。 於第四晶片製造階段,由於製程初 始之 immature tuning,所生產之晶片良率 必低,或於晶片測試時發現晶片不符規 格,必須經由晶片偵錯,甚或設計偵錯, 發現原因,而提升晶片生產良率。此時甚 或需全面檢討晶片設計,以求達到最符經 濟效率的測試與晶圓良率,此階段工作係

(3)

由第四子計畫執行。其於矽晶片製造完成 後,就其測試資料,即 wafer map,尋求設 計、測試與製造流程之缺失,並藉統計理 論分析良率以增進晶片良率與提升晶片品 質。另外亦欲以系統分析方式研究系統晶 片之整個設計、測試與製造的流程,以改 進晶片良率與提升晶片品質。最後此子計 畫更擬研究系統晶片之 Test Economics,希 望能建構一軟體系統,考量各 IP 特性與測 試機之規格與限制,對一系統晶片之測試 成本效益能有一預估並做最佳化。 由上所述可知,各子計畫於本整合計 畫各佔地位且環環相扣,互為幫補。計畫 之完成將對國內 SOC 驗證及測試技術之 提升有幫助。 三、結果與討論

(1) System-level verification interacting with architecture exploration:

In this sub project, our front-end verification environment and its associated tool have successfully overcome the challenges of IP-based architecture exploration mentioned at the beginning of this report. The reasons are:

1. The communication between hardware and software instances is highly feasible because both hardware and software instances are modeled at the same level of abstraction and the simulation environment views hardware and software instances as homogeneous models.

2. The performance estimation of the architecture is fast and accurate because our time-faithful modeling technology saves a large amount of simulation time, by not modeling the processing data and their transforms.

3. The selection of IP cores is efficient because the architectural attributes can be rapidly tuned to find suitable architecture specifications. Furthermore, RIPEE can

also determine suitable architectural attributes without using existing IP cores. This allows designers to use the attributes to define IP specifications.

(2) Functional verification techniques for IP-based SOC design:

In the sub project 2, we have built the framework of our verification system. It can take gate-level Verilog as input. We developed our algorithms and system based on two embedded processor IP designs: a simple pipelined Floating Point Unit (FPU) and a commercial product “embedded Sparc Processor”. After studying the design of the simple pipelined FPU design, we have developed an efficient verification algorithm and implemented into our verification system. We have verified some properties of the simple FPU design and found several bugs in the design. We also studied the embedded Sparc processor design and converted the RTL design in gate-level format for our verification. After converting it, we will apply the same verification method to verify the FPU in Sparc processor. Experimental results show the usefulness of our algorithms and system. Besides, we have written several papers based on this research work [1-3]. (3) Testing technology development for IP-based SOC design:

For the first year of the sub-project, there are six topics under investigation. For all the topics, significant progress has been obtained and some of results are being or have been written into papers for publication or for application for patents:

1. “Stuck-at and open/short” testing on IP interconnection wires and 2. Coupling (noise) fault testing between IP interconnection:

In IP-based SOC design environment, all IP’s are assumed to be designed with IEEE1149.1 boundary scan and connected in P1500 format. For the above two topics, an innovative scheme has been invented which can detect both the above two classes, i.e., “stuck-at and open/short”, and “coupling” faults of interconnection lines of IP’s. Through modifying boundary scan cells of each IP, we can construct oscillation rings on selecting interconnection lines of IP’s. By observing oscillation of rings, we can detect

(4)

all the stuck-at and open/short faults of the connected interconnection lines. By observing if there are oscillation signals of the neighboring interconnection lines, we can detect the coupling faults between the oscillating interconnection lines and the neighboring interconnection lines. Furthermore, with some additional modification on the oscillation detection circuit to detect the period of the oscillation signal, the delay of the interconnection lines can be measured. This offers an additional way to detect delay faults of interconnection lines.

3. A BIST scheme based on oscillation ring test for combinational digital IP’s:

For this topic, instead of using the original idea of forming oscillation ring to detect stuck-at and delay faults for combinational IP’s, we invent a “Socillator” scheme to detect the above faults. The scheme is neat and powerful. The idea is to use an oscillation source, from which the name “Socillator” comes from, to be fed into the path-under-test (PUT) of the combinational IP with the pattern for other inputs of the IP shifted from the boundary scan chain. A detection circuit is designed to catch the transition of signal propagating through the PUT. By varying the period of oscillation source, the delay of the PUT can be tested. This offers a way to detect the delay fault of a combinational IP without using an external ATE. The scheme has been written into a paper and accepted for presentation in VTS2001 [4], and been filed for patenting.

4. Oscillation ring test for sequential IP’s: Sequential IP’s intrinsically have a potential to oscillate when their state variable outputs are connected directly to their corresponding inputs. Through oscillation of the connected oscillation rings, the stuck-at faults of the associated lines with the oscillation rings can be detected since existence of those faults will stop the oscillation, and the delay of connected paths

can be tested if the period of the oscillation is measured. An algorithm to select the feedback paths to be connected has been developed to make the sequential IP oscillate under fault-free condition. Also, the flip-flops of the circuit are modified to have four different modes in order to insert additional inversion in the feedback path to create oscillation. In addition, a test generator to generate hazard-free delay test pattern for the circuit-under-test is developed to facilitate this test scheme and a fault simulator is under development to evaluate the fault coverage of the generated patterns. Currently, benchmark circuits are test-run to verify the algorithm and the developed software packages. It is expected that the scheme offers an approach which is completely different from the current sequential circuit testing but powerful without using an ATE.

5. Delay test methodology for mixed-signal IP testing:

For this topic, we have proposed a new fault model and, based on the model, a test strategy for testing linear analog circuits. The proposed fault model is called OPA fault model, i.e., the fault effects of a linear circuit are lumped as the offset(O), phase(P), or amplitude(A), in addition to the delay time, of the output response of the circuit under the periodic input. Instead of measuring the whole waveform of the output response, we measure the OPA of the output signal as signatures of the CUT under the applied input periodic signal. This saves much testing time for analog circuits. A theoretical foundation for the scheme has been developed and several benchmark circuit examples are used to demonstrate the scheme. The results are compared with those of other test methods.

6. IDDQ testing to deep submicron VLSI considering process and device parameter variations:

For this topic, the IDDQ current of the deep sub-micron VLSI in Year 2011 is estimated with a statistical approach

(5)

considering process variations and device parameter deviations. The estimation is done with the reference to 1999 edition of International Technology Roadmap for Semiconductors. Also, during estimation, 2000 different input vectors are applied and simulated to find the statistical distribution of the IDDQ. The estimated results show that the standard deviation of the IDDQ current is proportional to the square root of the circuit size and the IDDQ currents of the defect-free and defective devices, which are of the gate count up to 107; and the defective IDDQ is still differentiable from the fault-free case under the condition of random process variations and input vectors. In addition, we have invented two new IDDQ testing schemes, which instead detect the magnitude of IDDQ of a single circuit, detect the difference of IDDQ’s of two different circuits. This makes the IDDQ testing more effective in detecting faults.

The results of this study has been written into a paper and presented in ATS2000 [5]

(4) SOC silicon diagnostics and yield improvement: 茲將本年計畫進行中之八項工作,並 已達成規劃書所列的目標部份,分述於下: 1.設計與製程能力用於良率最佳化之分析: 本工作起因於探討製程能力相對於不 同的設計規格的影響。其中使用到多變量 分析的方法並將實例推衍至多變數及其相 關性,從現有的數據顯示規格參數其相關 性少許的的變化可引起功能良率極大(可 達 20~40%)的改變。 本工作已完成(二維變數)參數相關性 對應於不同設計規格之功能良率評估,由 此功能評估良率亦可做為設計最佳化的指 標。在本工作中亦將繼續探討規格轉換、 規格分割以及維數降低等問題,以利於從 晶片、模組、電路、元件以至製程階層的 良率評估。 2.測試機之性能分析: 本工作起因於探討測試機準確度無法 應付快速晶片測試其對測試良率與品質的 影響。其中測試機的性能參數將以如整體 測試準確度、邊緣位移準確度、解析度和 精確度來構述,並著重在探討更清析的量 測環境和完整測試時序。因此結合完整測 試時序的總體良率與品質得以評估。 本工作已完成資料論文搜集,正研讀 整理中。本工作亦將進行準確度差的測試 機是否可提昇其準確量度能力的探討。 3.完整測試時序之評量: 本工作起因於探討晶片測試時並非只 一次的評量,而是一連串的。其中吾人要 探討一連串的評量其間的相依性,以及其 對測試良率與品質的影響。 本工作已完成一次評量的品質良率 圖,使用者可依其需求得到某一製程能 力、設計規格、測試能力、測試規格相對 的良率與品質;反之亦然。現正規劃單規 格與多規格的複次評量。 再者根據製程、測試能力參數以及設 計規格,吾人欲嘗試使用一延伸測試電路 來做為數位電路製造良率的評估。由此評 估良率可用來充作製程參數偏易的診斷指 標。 4.激突(Jitter)在高速數位電路通訊之影響 分析: 本工作起因於時鐘激途的穩定度影響 高速數位電路通訊的品質。其中吾人要加 入時鐘激途與位偏(skew)於延伸測試電路 中探討性能模型。使用 MatLab 完成激途 產生器並利用其於電路行為模擬。 本 工 作 已 完 成 針 對 IEEE 1394 (FireWire)架構的傳輸品質分析,驗證資料 觸發編碼(Data-Strobe Encoding)傳輸方式 的確是優於資料時脈(Data-Clock)傳輸方 式,並探討內部激途源分配對於傳輸品質 的影響。 5.一具從屬關係多變量常態分佈之強化隨 機數產生器: 本工作起因於使用蒙地卡羅方法於良 率評估時對從屬關係多變量常態分佈的需 求。由於共變數矩陣應是正值限定(Positive

(6)

Definite),產生一高維度和好性質的共變數 矩陣是相當不易的。其中吾人欲利用懷特 寧與倒懷特寧方法將一獨立矩陣轉換成所 需之具從屬關係矩陣,以利良率評估。 本工作已完成,可產生數萬個具從屬 關係多變量常態分佈的隨機變數。 6.類比數位/數位類比轉換器之規格評估: 本工作起因於類比數位/數位類比轉 換器會大量使用於系統單晶片中,故先從 其規格評估起,進而做良率評估。其中吾 人根據類比數位/數位類比轉換器建構階 層式功能模型,依此探討製程偏移對功能 良率的影響。 本工作已初步完成,吾人分析從元件 參數,(如 Vref+, Vref-, R1, R2… ),對應到 輸出參數,(如 V1,V2,V3,V4… ),再對應到 規 格 參 數,(如 Offset, Gain Error, INL, DNL… ) 的 靈 敏 度 , 進 而 做 容 忍 分 析 (Tolerance Analysis)。 7. Sigma-Delta 轉換器之規格評估: 本工作起因於 Sigma-Delta 轉換器可 使用於系統單晶片自我測試中,故先從其 規格評估起,進而做良率評估。其中吾人 根據 Sigma-Delta 轉換器建構階層式功能 模型,依此探討製程偏移對功能良率的影 響。 本工作已完成資料論文搜集,正研讀 整理中。 8.一強化晶圓參數粹取器: 本工作起因於深次微米技術之參數不 匹配性(mismatch)加大,使得電路設計與良 率評估變難。其中吾人欲分析批對批、晶 圓對晶圓、晶片間和晶片內之參數不匹配 性。架構一分佈式模型參數,依此亦可加 入延伸測試電路中,有利於來做為各種電 路行為的評估。 本工作已完成資料論文搜集,正研讀整理 中。 四、計畫成果自評 子計畫一:本計畫第一年已建立基礎 成本與效能模型,可有助於組織探索階段 完成驗證工作。本計畫之研究成果已發表 下列兩篇國際會議論文與一篇國內會議論 文[1-3]。另外,部分研究成果將發表於 Canadian Journal of Electrical and Computer Engineering 第四季期刊。 經由本計畫之執行已培養六名碩士畢 業生。該六名碩士畢業生目前服務於系統 晶片相關之高科技企業。 子計畫二:。 子計畫三:本計畫第一年已建立智財單元 本身與相互間連線的測試機制,有助於後 續計劃之執行。吾人已完成原提計劃之 83%,並已發表於國內外之期刊[4,5]。 子計畫四:本計畫研究內容與原計畫目標 相符,尤其是在類良率模型的建立,以此 模型所做的良率評估,可使吾人分段模 擬,其結果幾乎與不分段一致;另外對於 不同規格參數轉換的探討,不僅可用於設 計時做最佳化之指引(尤其是高靈敏度電 路如:高速數位電路、類比電路、高頻電 路),亦可用於測試圖樣產生時最佳測試參 數選取以及測試圖樣減少的指引,亦可用 於晶片測試時做為晶片診斷的指引。是以 本計畫在這一年度的工作中,獲得豐碩的 成果,亦在許多項目上值得繼續延伸。 五、參考文獻

[1] Lan-Rong Dung, Yen-Lin Lee, Chun-Ming Wu, “A Reconfigurable Architecture for DSP System-on-a-Chip,” SCI2001

[2] Yen-Lin Lee and Lan-Rong Dung, “The Configurable Scheduler for IP-based SOC Synthesis,” VLSI/CAD Symposium 2001

[3] Lan-Rong Dung, Yen-Lin Lee, Chun-Ming Wu, “A Reconfigurable Architecture for DSP SOC,” IWMATT2001

[4] Tek Jau Tan and Chung Len Lee,Socillator test: a delay test scheme for embedded ICs in the boundary-scan environment,” IEEE VLSI Test Symposium, pp.158-162, 2001

[5] Chih-Wen Lu, Chauchin Su, Chung Len Lee, and Jwu-E Chen, “Is IDDQ testing not applicable for deep submicron VLSI in year 2011?” IEEE Asian Test Symposium, pp.338-343, 2000

參考文獻

相關文件

本專題研究目的旨在活用 kinect 捕捉人體動作,並設法順暢與 設備連動的方法;同時對 HTML5(少許)與 javascript 進行研究,設

本專題研究目的旨在活用 kinect 捕捉人體動作,並設法順暢與 設備連動的方法;同時對 HTML5(少許)與 javascript 進行研究,設

八、 應檢人參加技術士技能檢定學科或術科採筆試非測驗題職類,測試使用計算器,除

1, the Educational Research Establishment (ERE) of the Education Department undertook four research projects on the medium of instruction in secondary schools, three of which

分項計畫「海上絲路之探索」之設計與推行,基本上針對本校通

一、職能標準、技能檢定與技能職類測驗能力認證政策、制度、計畫之研 擬、規劃及督導。. 二、職能標準、技能檢定與技能職類測驗能力認證法規制(訂)定、修正

事前事後比較((前測 前測 前測 前測 前測//後測 前測 前測 前測 後測 後測 後測 後測 後測 後測 後測))研究設計 研究設計 研究設計 研究設計 研究設計

For a 4-connected plane triangulation G with at least four exterior vertices, the size of the grid can be reduced to (n/2 − 1) × (n/2) [13], [24], which is optimal in the sense