teknillinen korkeakoulu helsinki university of technology [email protected]‹#› hardware and...
TRANSCRIPT
![Page 2: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/2.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
Hardware and Software:A complete design
• Hardware and software support each other
• Sometimes it is necessary to shift functions from software to hardware or the other way around
• Cost, speed,overall system complexity, development time and skills, etc. all affect design choices
![Page 3: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/3.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
Limitations of the software approach
• processors are more capable• but:
– power consumption– cost– programming– the solution must fit the application
![Page 4: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/4.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
Tradeoffs depend on appliction
• SOFTWARE– Cons:constraints:
• power budget• cost• security?
– Pros:• can be modified• easier to develop
• HARDWARE– Pros:
• lower power (sometimes)
• lower cost in volume• less vulnerable to
tampering
– Cons:• no modifications
![Page 5: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/5.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
Circuits
• A little electronics can go a long way• Design choices• Very few people are experts in
everything - so work with other experts to achieve more
• It is still good to know what is possible using other methods
![Page 6: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/6.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
Logic circuits
• discrete logic (74xx series components)
• AND, OR, NOR, NAND, XOR, and their combinations...
• Programmable logic is one way to consolidate digital logic circuits into fewer chips.
• Can be very fast, 250MHz
![Page 7: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/7.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
State machines/lookup tables
Source: http://www.caa.lcs.mit.edu/~devadas/6.004/Lectures/lect6/
![Page 8: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/8.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
State machines/lookup tables
• Simple state machines can be implemented as lookup charts
• For a fixed set of inputs, a fixed set of outputs
• Quick and easy to do with a PLD• Use logic design and logical algebra
to reduce ‘instructions’ to a minimum
![Page 9: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/9.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
PLD
• Programmable Logic Device• One-time or reprogrammable• Contain macrocells which consist of basic logic, a
1-bit memory, and multiplexers• Macrocells are linked by a configurable array of
logic.• A good example is the 22V10 Gate Array Logic
devicehttp://www.latticesemi.com/templates/_download.cfm?CFID=265847&CFTOKEN=66178828&AMID=120
![Page 10: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/10.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
Complex PLD
• Complex PLDs borrow capabilities from FPGAs (next) but need to be pre-programmed
• High-speed digital logic• Example: Cypress top-of-the-line
Delta39K CPLDhttp://www.cypress.com/cypress/prodgate/cpld/delta39k.html
![Page 11: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/11.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
Verilog/VHDL
• Verilog and VHDL are hardware description languages
• With them, one can create hardware implementations through programming
• Can be used to program all programmable devices and even design ASICs
• Cypress Technical Article on VHDL http://www.cypress.com/design/techarticles/skahill1.html
![Page 12: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/12.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
FPGA
• Field Programmable Gate Array• Recofigurable logic device• Can be reprogrammed in a short
time in-circuit• Xilinx FPGA brochure
http://www.xilinx.com/partinfo/ds031-1.pdf
• Xilinx FPGA detailshttp://www.xilinx.com/partinfo/ds031-2.pdf
![Page 13: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/13.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
DES/3DES En/Decryption
• A complex algorithm in a 25MHz AVR microcontroller with FPGA at 4.2 MByte/Sec throughput
http://www.atmel.com/journal/documents/issue4/pg29_30_des3des.pdf
![Page 14: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/14.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
ASIC
• Application Specific Integrated Circuit
• Multiple analog and/or digital components incorporated in a single chip
• www.fincitec.com
![Page 15: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/15.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
System On Chip
Source: http://www.altera.com/products/devices/excalibur/exc-arm_index.html
A combination of a System On Chip and programmable logic
![Page 16: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/16.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
System On Chip pt2
Source: www.zflinux.com
A basic PC on a chip, just add memory and connectors
![Page 17: TEKNILLINEN KORKEAKOULU HELSINKI UNIVERSITY OF TECHNOLOGY olli.seppala@hut.fi‹#› Hardware and Software](https://reader036.vdocuments.mx/reader036/viewer/2022062404/551a6c0f550346b52d8b4d49/html5/thumbnails/17.jpg)
TEKNILLINEN KORKEAKOULUHELSINKI UNIVERSITY OF TECHNOLOGY
Programmable System on Chip
• Triscend www.triscend.com• A fixed core (uProc)• configurable logic• configurable peripherals• Can reduce system cost significantly
for low and medium volumes