Digital Integrated Circuit Design Laboratory Department of Computer Science and Information EngineeringNational Cheng Kung University Experiment on Digital.

Slides:



Advertisements
Similar presentations
FCU, Department of ECE, IC Design Research Lab. TEL: # 4945 Pre-SIm , Post-Sim.
Advertisements

布林代數的應用--- 全及項(最小項)和全或項(最大項)展開式
學習C++的基本語法 認識關鍵字與識別字的不同 學習程式碼偵錯的流程 學習如何提高程式的可讀性
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/2 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH 1.4~CH /10/03.
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/3 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH3.5 ~ CH /10/31.
PowerPoint2010 李燕秋 版面配置 版面配置指的是每一個頁面的內容配置 方式,不同的版面配置會有對應的母片。
Mobile IP Lab TA: 洪敏書
Android Class vs. Jar 建國科技大學 資管系 饒瑞佶 2013/4 V1. 從 MyAndroidProject 專案改起 將 BMI_method.java 改寫成 class 方式 步驟 1 :在原 package 內新增一個 class.
1 Web of Science 利用指引 單元二 瀏覽與處理查詢結果. 2 瀏覽檢索結果 查出的結果,預設以時間排列, 使用者可改變結果的排列方式: 還可以依被引用次數、相關度、 第一作者、刊名、出版年等排序 回到前先查的結果畫面 點選想看資料的完整書目 本館訂購範圍的期刊 全文,便可直接連結.
五小專案 黃詩晴 章乃云. 目錄 計算機 智慧盤 拼圖 記憶大挑戰 數學題庫 心得 參考文獻.
邏輯設計 題目:3_8解碼器 姓名:李國豪 學號:B09322001.
1 Web of Science 利用指引 逢甲大學圖書館 參考服務組 單元五 存檔或輸出.
Chapter 0 Computer Science (CS) 計算機概論 教學目標 瞭解現代電腦系統之發展歷程 瞭解電腦之元件、功能及組織架構 瞭解電腦如何表示資料及其處理方式 學習運用電腦來解決問題 認知成為一位電子資訊人才所需之基本條 件 認知進階電子資訊之相關領域.
STAT0_sampling Random Sampling  母體: Finite population & Infinity population  由一大小為 N 的有限母體中抽出一樣本數為 n 的樣 本,若每一樣本被抽出的機率是一樣的,這樣本稱 為隨機樣本 (random sample)
: Matrix Decompressing ★★★★☆ 題組: Contest Volumes with Online Judge 題號: 11082: Matrix Decompressing 解題者:蔡權昱、劉洙愷 解題日期: 2008 年 4 月 18 日 題意:假設有一矩陣 R*C,
各種線上電子資源的特異功能 STICnet 的 SDI 專題訂閱服務 2003/4/28 修改. 無論校內外皆可使用。連線至
MS-DOS 作業系統 張基昇 (Microsoft-Disk Operating System).
Web Meeting 使用教學 ─ 學生版.  如何即時線上與老師互動? 一. 瀏覽太御科技首頁 二. 安裝 JoinNet 在首頁的左手邊 1. 下載 JoinNet 進行安裝 JoinNet.
VHDL 邏輯設計 題目:一對十六解多工器 題目:一對十六解多工器 姓名:李國豪 姓名:李國豪 學號:B09322001 學號:B09322001.
資訊科技概論 第5章 系統程式.
南投縣社區大學 Excel 實務應用入門 講師 : 林泉成
長訊科技 EVRCOM Voice Mail System 使用者操作說明及流程. 自動總機 -- 來電語音轉接服務流程 ( 範例流程 )
Introduction to Java Programming Lecture 17 Abstract Classes & Interfaces.
第 5 章 深入 Response 物件 製作. 網頁的轉向與強制輸出 - 讓網頁轉彎的 Redirect 敘述 運用 Response 物件的 Redirect 方法,將瀏覽器顯 示的網頁,導向至其他網頁,語法如下: Response.Redirect 網頁路徑與名稱 此網頁路徑與名稱  若是導向到同一台.
最新計算機概論 第 5 章 系統程式. 5-1 系統程式的類型 作業系統 (OS) : 介於電腦硬體與 應用軟體之間的 程式,除了提供 執行應用軟體的 環境,還負責分 配系統資源。
: Happy Number ★ ? 題組: Problem Set Archive with Online Judge 題號: 10591: Happy Number 解題者:陳瀅文 解題日期: 2006 年 6 月 6 日 題意:判斷一個正整數 N 是否為 Happy Number.
Digital Signal Processing with Examples in M ATLAB ® Chap 1 Introduction Ming-Hong Shih, Aug 25, 2003.
行政院國家科學委員會工程技術發展處自動化學門 * 試以國立成功大學製造工程研究所 鄭芳田教授 產學合作計畫 : 智慧預測保養系統之設計與實作 成果報告盤點為範例 國科會工程處專題計畫成果典藏 自動化學門成果報告盤點範例.
資料庫程式設計與系統管理 SQL Server 2005 Express 第六章 進階資料庫設計.
North Point Government Primary PM School 北角官立下午小學 應用 ‘ 基本能力學生評估 ’ 及 ‘ 網上學與教支援系統 ’ 經驗分享.
公司加入市場的決定. 定義  平均成本 = 總成本 ÷ 生產數量 = 每一單位產量所耗的成本  平均固定成本 = 總固定成本 ÷ 生產數量  平均變動成本 = 總變動成本 ÷ 生產數量.
從此處輸入帳號密碼登入到管理頁面. 點選進到檔案管理 點選「上傳檔案」上傳資料 點選瀏覽選擇電腦裡的檔案 可選擇公開或不公開 為平台上的資料夾 此處為檔案分類,可顯示在展示頁面上,若要參加 MY EG 競賽,做品一律上傳到 “ 98 MY EG Contest ” 點選此處確定上傳檔案.
1 國立清華大學博碩士論文 全文系統 清華圖書館讀者服務組 分機: 論文轉檔說明 -- 上載論文操作說明 上載論文操作說明.
資料結構實習-一 參數傳遞.
6-2 認識元件庫與內建元件庫 Flash 的元件庫分兩種, 一種是每個動畫專 屬的元件庫 (Library) ;另一種則是內建元 件庫 (Common Libraries), 兩者皆可透過 『視窗』功能表來開啟, 以下即為您說明。
1 Introduction to Java Programming Lecture 2: Basics of Java Programming Spring 2008.
Management Abstracts Retrieval System; MARS 檢索操作.
1 Web of Science 利用指引 逢甲大學圖書館 參考服務組 單元六 個人化服務.
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/25 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH 2.4~CH 2.6 &
XML 簡介 Extensible Markup Language 人類、機器皆可讀懂的標籤 XML 的可攜性 跨平台 提供長期 data 保存的格式 理想的檔案交換格式.
演算法 8-1 最大數及最小數找法 8-2 排序 8-3 二元搜尋法.
845: Gas Station Numbers ★★★ 題組: Problem Set Archive with Online Judge 題號: 845: Gas Station Numbers. 解題者:張維珊 解題日期: 2006 年 2 月 題意: 將輸入的數字,經過重新排列組合或旋轉數字,得到比原先的數字大,
無線隨意及感測網路技術與 應用課程 實驗 1. 2 實驗目的 建立課程所使用平台 FT-6200 無線傳輸設備的相 容軟體環境 Jennic Evaluation System ,並學習相 關設定以及使用方法。 所有資源皆可從光碟片或網站上下載。 安裝並執行範例程式並且分析程式碼。
T H O M S O N S C I E N T I F I C ISI Web of Knowledge 新功能與提升 2005 年第 3 季.
Linguistics phonetic symbols. 先下載 IPA 字型檔案,執行安裝。 由於這個程式的字型目錄設定錯誤, 所以等重新開機時就會發現字型消失。 所以必須根據以下步驟來讓 Windows 加入 IPA 字型。
簡易的 JBoss 安裝與部署. 安裝 Step 1 下載 J2SE JDK 5.O 並安裝 下載 JBoss 並解壓縮 (.zip 檔 )
概念性產品企劃書 呂學儒 李政翰.
無線通訊網路 Mac 層 TDM 通訊模式的操作與效能研究 專題生 : 林書弘、蔡逸祥、毛建翔、王政 華 指導教授 : 黃依賢.
組合語言與系統程式 軟體使用教學. 軟體下載及安裝 下載 到課程網頁下載 tw/~jiun/ 安裝 解壓縮後將 System Software 資料夾放在 D 槽 (C 槽版本放在 C 之下 )
1 Introduction to Java Programming Lecture 2: Basics of Java Programming Spring 2009.
1 第二十章 大型程式的發展 使用名稱空間 熟悉大型程式的開發方式 條件式編譯指令的撰寫. 2 名稱空間 名稱空間就像是一個管理介面,可以將定義的識別 字放在名稱空間之下,而不會有相互衝突的發生 名稱空間的語法如下 把變數 var 放在名稱空間 name1 內 要存取使用名稱空 間 name1 的變數.
Biological Science Database 個人化服務設定步驟. Biological Science Database 僅提供專題選 粹服務 專題選粹 (Alerts) :查詢後,提供儲存檢 索策略的功能,日後每週將符合條件的 更新資料,採 方式通知。每筆設定 最多每週可收到.
1 EndNote 金珊資訊有限公司 2 EndNote X2 新功能 新增標籤 (Tab) 視窗 線上查詢群組 智慧群組 (Smart Groups) 新增參考文獻類型 查詢全文 標示日期 以電子郵件傳送壓縮的 Library 檔案 Library.
09610CS_ 校園授權軟體下載與安裝 講師 : 張智宏. 登入校務資訊系統 校園軟體下載.
-Artificial Neural Network- Matlab操作介紹 -以類神經網路BPN Model為例
Visual C++重點複習.
1 Introduction to Java Programming Lecture 2: Basics of Java Programming Spring 2010.
OmniFile Full Text 系列資料庫 個人化服務設定步驟. 此相關資料庫之個人化服 務只提供類似專題選粹的 服務,然無提供 mail 通知的 服務,讀者可建立個人 ID , 並儲存檢索策略,日後需 再進入該資料庫,查詢檢 索策略之新進文章。 導航目次 個人化服務說明 個人帳號密碼申請 個人化服務設定.
數字系統與資料表示法 教師: 陳炯勳 數系轉換 r進制數字 稱為 base r或 radix r 有r個計數符號,計數順序逢r歸零(進位) A n A n - 1 ‥‥A 2 A 1 A 0 ﹒A -1 A -2 ‥‥A -m 其中A n 及A.
著作權所有 © 旗標出版股份有限公司 第 14 章 製作信封、標籤. 本章提要 製作單一信封 製作單一郵寄標籤.
MIS之何去何從 朝陽資管 劉熒潔.
1 Introduction to Java Programming Lecture 3 Mathematical Operators Spring 2009.
VHDL語法(3).
遠端北風資料庫 公佈時間: 2006/4/26 繳交截止時間: 2006/5/10. 作業目的 實作遠端資料庫瀏覽程式.
嵌入式系統概論 - 以 S3C2440 核心為架構 第 6 章 S3C2440 開發平台基本操作.
安裝 Android 開發環境 建國科技大學 資管系 饒瑞佶 2013/2 V1. 需要 JDK ( Java Runtime 1.5 above) Eclipse IDE Android SDK ADT.
SOPC/NIOSII 設計與實作課程 © 2007 Terasic Corporation 1 Hello World 軟 / 硬體實作 硬體實作 軟體實作.
SQL CE. 註冊 RDA REGSVR32 IIS 設定 新增虛擬目錄 IIS 設定 輸入虛擬目錄名稱.
數位系統實驗 Experiment on Digital System Lab05: IC design flow and FPGA Introduction to Verilog HDL 負責助教:葉俊顯 stanley.
數位系統實驗 Experiment on Digital System Lab06: Verilog HDL and FPGA (2) 負責助教:葉俊顯 stanley.
Presentation transcript:

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information EngineeringNational Cheng Kung University Experiment on Digital System Advanced Practice /25

Reference Links Altera Quartus II Handbook Altera Quartus II Web Edition - Free (Create a user account) 北瀚科技股份有限公司 SMIMS北瀚科技股份有限公司 SMIMS – FPGA Board 數位 IC 設計入門 -Verilog ,滄海書局, 2008 (ISBN )(ISBN ) 2

Outline Traffic Light System Snake Scrolling Text LFSR 3

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information EngineeringNational Cheng Kung University Traffic Light System

Please use the following components:  3 LEDs (green, yellow, and red)  2 Seven-Segment Display  1 LED Dot Matrix Display  1 button The layout: 5

Traffic Light System LEDs :  10 seconds for green light, then 3 seconds for yellow, then 10 seconds for red light, and then back to green light. Seven-Segment Display :  Count down from 13 to 1 when the LED is green or yellow, then count down from 7 to 1 when the LED is red. LED Dot Matrix Display :  Show img.1 when the LED is green or yellow  Show img.2 when the LED is red Button :  Reset the system – LED green, Seven-Segment Display13, and show img.2 6 img.2img.1

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information EngineeringNational Cheng Kung University Snake

Please use 4 Seven-Segment Displays, 1 switch, and 1 reset button. The layout is as follow: 8

Snake The positive (switch = 0)movement of the snake is: a0a1a2 → a1a2a3 → a2a3b3 → a3b3g3 → b3g3g2 → g3g2g1 → g2g1g0 → g1g0e0 → g0e0d0 → e0d0d1 → …….. The negative (switch = 1)movement is the reverse direction. When reset is pressed, the snake bake to the initial state. 9 Reset state

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information EngineeringNational Cheng Kung University Scrolling Text

Please use 3 LED Dot Matrix Displays, 1 switch, and 1 reset button. The layout is as follow: 11

Scrolling Text The text pattern are : The text scrolls to left when switch is 0, and scrolls to right when switch is 1. When reset is pressed, the test bake to the initial state. 12 Reset state

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information EngineeringNational Cheng Kung University LFSR

LFSR (Linear-feedback Shift Register) can be used as a random integer generator in hardware design. The architecture of LFSR could be described as shift registers, and there exists an extra feedback wire. 14

LFSR In this exercise, the feedback is Q[0] xor Q[3], and the initial state of the registers are all 1. Please complete a random generator based on the architecture above. 15

LFSR Please use 2 Seven-Segment Displays, and 2 buttons (one for reset and another for generating a number). The layout is as follow: When reset is pressed, show 00 and assign 1 to the all registers. When generate is pressed, show the random number. 16

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information EngineeringNational Cheng Kung University Appendix

Dot Matrix The dot matrix is controlled by 8 column lines and 8 row lines. When the column line and the row line are both 1, the dot will be turned on

Dot Matrix Scan the rows frequently, and control the column lines, the image could be showed by Persistence of vision →→→→ … =>

Notice wire and reg type define  always begin … 裡面變數 … end ,宣告 reg type  always begin …… end 外面變數,宣告 wire type 需搭配 assign 使用 reg == register  在組合電路中使用 reg type ,合成 → 線 (net)  在循序電路中使用 reg type ,合成 → Flip-flop (register) Inferred latch  在組合電路中, case 、 if…else… 若沒有寫滿,合成後會產生 latch

Notice 建議請勿在 C:\ 與 Desktop 建立專案  請勿命名中文資料夾或數字開頭資料夾 請確認 Device family 是否與 FPGA 晶片符合  Family: Cyclone / Device: EP1C6Q240C8 top module name & project name 需要一致 燒錄檔案至 FPGA 前, Double-check Pin Assignment  設定錯誤的 Pin ,會導致 VeriInstrument 無法執行 連接 FPGA 板後,請先確認是否可以正常燒錄與動作  VeriLite USB Driver (For all students)  USB Blaster  如果出現無法辨識硬體裝置,請先將 JTAG 拔除後,先裝 VeriLite USB Driver 後,再裝上去 JTAG ,讓電腦去辨 識 USB Blaster 裝置,接著去指定到 USB Blaster Driver 目標資料夾 C:\altera\8.0\quartus\drivers\usb-blaster

Number Representation May be represented using  Binary, decimal, hexadecimal, Format  ’  base_format:  b, d, h, Example  4'b1111; 16'd255  (32-bit decimal # by default); 'hc3 (32 bit)  12'b1111_0000_1010