Download presentation
Presentation is loading. Please wait.
Published byChester Holland Modified over 8 years ago
1
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 12016/1/30NTU DSD (Digital System Design) 20071 Digital System Design 2007 Jackie Kan
2
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 2 Computer
3
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 3 Basic CPU Block Diagram
4
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 4 Digital Systems A collection of interconnected digital modules designed to perform a particular service or functions Applications Computers Microprocessors Embedded Systems Special Purpose Systems
5
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 5 Digital Systems Hardware Design Modules High Level Digital Design Module Microprocessor Microcontroller PLD ASIC FPGA Low Level Digital Design Module Logic Gates AND, OR, NOT, NAND, NOR, XOR, … Block Diagrams Adder, Subtractor, Shifter, Counter, … Implementation Method PCB - Printed Circuit Board FPGA - Field Programmable Gate Array
6
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 6 PCB - Printed Circuit Board Source: http://home.cogeco.ca, http://www.chinaforge.com/, http://www.unitechelectronics.com/
7
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 7 Example PCB Layout
8
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 8 Example PCB Board
9
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 9 FPGA - Field Programmable Gate Array Source: http://www.entegra.co.uk, http://www.beis.de
10
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 10 Byte Blaster - FPGA Download Cable (1/5) Source: http://www.serielectronique.com, http://perso.orange.fr
11
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 11 Byte Blaster - FPGA Download Cable (3/5) Source: http://perso.orange.fr, http://www.mcu123.com
12
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 12 Byte Blaster - FPGA Download Cable (4/5) Source: http://opencollector.org
13
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 13 Byte Blaster II - FPGA Download Cable (1/11) Source: ALTERA
14
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 14 Byte Blaster II - FPGA Download Cable (3/11) Source: ALTERA
15
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 15 Byte Blaster II - FPGA Download Cable (4/11) Programming Modes Joint Test Action Group (JTAG) Mode Programs or configures all Altera devices supported by the Quartus II software Excluding FLEX 6000 devices In-Socket Programming Mode Not supported by the ByteBlaster II cable Passive Serial (PS) Programming Mode Configures all Altera devices supported by the Quartus II software Excluding MAX 3000 and MAX 7000 devices Active Serial (AS) Programming Mode Programs a single EPCS1, EPCS4, EPCS16, or EPCS64 serial configuration device Source: ALTERA
16
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 16 Digital System Design Related Course 數位電子學 (Digital Electronics) 主要在學習基本電路的特性,各種電路元件如電阻、電容、電晶體等,基本邏輯運算概念, 和其與電晶體的關係。 離散數學 (Discrete Mathematics) 為許多學科的基礎數學知識,如演算法、線性代數、邏輯設計等等。包括了代數、組合數 學、圖論等。對電腦的很多領域關係都相當密切、重要。 計算機組織與組合語言 (Computer Organization and Assembly Languages) 組合語言可說是一種按照電腦行事方式設計的一種語言,與先前所學的程式語言不同,這 種語言是機器較能看得懂的語言。所以熟悉組合語言後,對於電腦這種機器裡面是如何做 事,會有更清楚的概念。 數位電路實驗 (Digital Circuit Lab.) 等於是將大二的數位電子學做個實際的應用。運用以前所習知識,利用各種晶片及其他電 路裝置,根據邏輯與晶片特性來組合製造出一些成品,如加法器、平交道紅綠燈等。 數位系統設計 (Digital System Design) 利用數位電子學所學到的元件,以及離散數學裡代數的觀念,達到我們想要的功能,如加 法器等。 計算機結構 (Computer Architecture) 電腦核心的製造原理,軟體與硬體的介面設計,硬體效率的提昇等等方面加以介紹。
17
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 17 Computer Organization & Computer Architecture Computer architecture ( 計算機結構 ) 計算機結構是指程式師能看到的計算機時什麼樣子 Refers to those attributes of a system visible to a programmer or, put another way, those attributes that have a direct impact on the logical execution of a program. Computer organization ( 計算機組織 ) 計算機組織是指計算機的邏輯組成與其交互連接 Refers to the operational units and their interconnections that realize the architectural specifications. Example: Architecture Multiply instruction ( 乘法指令 ) Organization 指實作之方式 Implement by Multiply-Unit ( 乘法器單元 ) Implement by Adder-Unit ( 加法器單元 )
18
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 18 Two Major Hardware Description Languages Verilog Slightly better at gate/transistor level Language style close to C/C++ Pre-defined data type, easy to use VHDL Slightly better at system level Language style close to Pascal User-defined data type, more flexible Equally effective, personal preference
19
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 19 Taste of Verilog Module ports Module name Verilog keywords module Add_half ( sum, c_out, a, b ); input a, b; output sum, c_out; wire c_out_bar; xor (sum, a, b); nand (c_out_bar, a, b); not (c_out, c_out_bar); endmodule Declaration of port modes Declaration of internal signal Instantiation of primitive gates c_out a b sum c_out_bar
20
2016/1/30 Jackie Kan - 2007 (jackiekan@LinTon.1D24H.com/jackiekan@csie.ntu.edu.tw) http://linton.1d24h.com/~jackiekan/ 20 Example of Flip-flop in Verilog module Flip_flop ( q, data_in, clk, rst ); input data_in, clk, rst; output q; reg q; always @ ( posedge clk ) begin if ( rst == 1) q = 0; else q = data_in; end endmodule data_inq rst clk Declaration of synchronous behavior Procedural statement
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.