Template:DIP saites: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
| (20 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
= Termini = |
|||
* IC - Integrated Circuit - mikroshēma. |
|||
* FPGA - Field Programmable Gate Array - Konfigurējams loģisko un citu elementu čips, "lego" kluči digitālai elektronikai. |
|||
* EDA - Dizaina plūsma: Electronic Design Automation [https://en.wikipedia.org/wiki/Design_flow_(EDA) (wikipedia)] |
|||
* RTL - [https://en.wikipedia.org/wiki/Register-transfer_level Register-Transfer Level] - dizaina abstrakcija, kurā dati plūst starp reģistriem. |
|||
* [https://en.wikipedia.org/wiki/GDSII GDSII] - Binārs datubāzes falia formāts IC dizaina apmaiņai industrijā. |
|||
= Resursi = |
= Resursi = |
||
| Line 44: | Line 52: | ||
DiLab ir pieejami sekojoši Xilinx (Digilent) attīstītajrīki: |
DiLab ir pieejami sekojoši Xilinx (Digilent) attīstītajrīki: |
||
| ⚫ | |||
| ⚫ | |||
* '''[https://reference.digilentinc.com/reference/programmable-logic/anvyl/start ANVYL]''' |
* '''[https://reference.digilentinc.com/reference/programmable-logic/anvyl/start ANVYL]''' |
||
** [https://reference.digilentinc.com/_media/reference/programmable-logic/anvyl/anvyl_rm.pdf |
** Anvyl Reference Manual: [https://reference.digilentinc.com/_media/reference/programmable-logic/anvyl/anvyl_rm.pdf (PDF)] [https://digilent.com/reference/programmable-logic/anvyl/reference-manual (Website)] |
||
** [[ANVYL programmēšana]] - kā uzlādēt dizainu uz Anvyl dēļa |
** [[ANVYL programmēšana]] - Pamācība, kā uzlādēt dizainu uz Anvyl dēļa |
||
** [https://github.com/elomage/FPGA-resources/tree/main/ucf_templates UCF file templates]. |
** [https://github.com/elomage/FPGA-resources/tree/main/ucf_templates UCF file templates]. |
||
| ⚫ | |||
| ⚫ | |||
* '''[https://reference.digilentinc.com/reference/programmable-logic/spartan-3e/start Spartan-3E]''' |
* '''[https://reference.digilentinc.com/reference/programmable-logic/spartan-3e/start Spartan-3E]''' |
||
| Line 88: | Line 96: | ||
==== Xilinx ISE WebPACK (14.7) ==== |
==== Xilinx ISE WebPACK (14.7) ==== |
||
* [[ISE 14.7 instalācija]] |
|||
Xilinx ISE Webpack versija 14.7 (Windows 7, nevis Windows 10) ir pēdējā versija, kas vēl atbalsta Spartan 3E FPGA. |
|||
To iespējams lejuplādēt no [https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/vivado-design-tools/archive-ise.html Xilinx arhīva web portāla], kurā nepieciešams šim nolūkam izveidot kontu. |
|||
* [[ISE WebPACK 14.7 USB driver]] instalācija (vecākiem Spartan 3E rīkiem) |
|||
* Jaunākiem (ANVYL) rīkem - [https://digilent.com/reference/software/adept/start Digilent Adept] jāinstallē Utilities un Runtime |
|||
Papildus: |
|||
* [https://www.xilinx.com/support/answers/59128.html Digilent driver installation] (no Xilinx portāla) |
|||
* [http://dreamrunner.org/blog/2012/09/12/install-xilinx-ise-on-the-ubuntu/ Install Xilinx ISE on Ubuntu] (learn&think) |
|||
* [https://www.george-smart.co.uk/fpga/xilinx_jtag_linux/ Install Linux ISE] (George Smart) |
|||
* [https://www.programmersought.com/article/24731802295/ ISE instalācija uz Ubuntu 18] |
|||
<!-- |
|||
==== Xilinx ISE WebPACK (12.2) ==== |
==== Xilinx ISE WebPACK (12.2) ==== |
||
| Line 115: | Line 113: | ||
* [http://www.xilinx.com/support/documentation/sw_manuals/xilinx12_2/ise_tutorial_ug695.pdf ISE In-Depth Tutorial] (ver.12.2) PDF 5.04MB |
* [http://www.xilinx.com/support/documentation/sw_manuals/xilinx12_2/ise_tutorial_ug695.pdf ISE In-Depth Tutorial] (ver.12.2) PDF 5.04MB |
||
* [http://www.xilinx.com/support/documentation/sw_manuals/xilinx12_2/plugin_ism.pdf ISim User Guide] (ver.12.2) PDF 1.96MB |
* [http://www.xilinx.com/support/documentation/sw_manuals/xilinx12_2/plugin_ism.pdf ISim User Guide] (ver.12.2) PDF 1.96MB |
||
< --> |
|||
=== Xilinx ISE lietošana === |
=== Xilinx ISE lietošana === |
||
| Line 125: | Line 125: | ||
==== Simulācija ar ISim ==== |
==== Simulācija ar ISim ==== |
||
* [https://www.youtube.com/watch?v=9iQfqhUfAcE Kā lietot iSim] (video, Leo Seļāvo) |
|||
* [http://www.xilinx.com/support/documentation/sw_manuals/xilinx14_7/plugin_ism.pdf ISim User Guide] (ver.14.7) PDF 1.96MB |
* [http://www.xilinx.com/support/documentation/sw_manuals/xilinx14_7/plugin_ism.pdf ISim User Guide] (ver.14.7) PDF 1.96MB |
||
* [https://www.xilinx.com/support/documentation/sw_manuals/xilinx14_7/ug682.pdf ISim in-depth Tutorial] PDF |
* [https://www.xilinx.com/support/documentation/sw_manuals/xilinx14_7/ug682.pdf ISim in-depth Tutorial] PDF |
||
* [https://youtu.be/hPYsQE0-1kQ Simulācija ar ISim] - pamācības video |
<!-- * [https://youtu.be/hPYsQE0-1kQ Simulācija ar ISim] - pamācības video, Colin O'Flynn. --> |
||
==== Simulācija ar ModelSim ==== |
==== Simulācija ar ModelSim ==== |
||
| Line 163: | Line 164: | ||
* [https://pynq.readthedocs.io/en/v2.0/pynq_libraries/pmod.html Par PMOD un PYNQ] |
* [https://pynq.readthedocs.io/en/v2.0/pynq_libraries/pmod.html Par PMOD un PYNQ] |
||
== HDL |
== HDL pamācības (Verilog, VHDL) == |
||
<!-- (unavailable) * [http://www.eecs.harvard.edu/cs141/resources/verilog-tutorial.pdf Verilog Tutorial I (10 pages)] PDF 69.58KB --> |
<!-- (unavailable) * [http://www.eecs.harvard.edu/cs141/resources/verilog-tutorial.pdf Verilog Tutorial I (10 pages)] PDF 69.58KB --> |
||
| Line 172: | Line 173: | ||
** [http://www.asic-world.com/verilog/veritut.html by asic-world, online version] |
** [http://www.asic-world.com/verilog/veritut.html by asic-world, online version] |
||
** [https://www.nandland.com/verilog/tutorials/tutorial-introduction-to-verilog-for-beginners.html by NANDLand.com] |
** [https://www.nandland.com/verilog/tutorials/tutorial-introduction-to-verilog-for-beginners.html by NANDLand.com] |
||
** [https://www.asic-world.com/tidbits/verilog_fsm.html FSM pamācība] no asic-world.com |
|||
* '''VHDL Tutorials''' |
* '''VHDL Tutorials''' |
||
| Line 177: | Line 179: | ||
** [http://lslwww.epfl.ch/pages/teaching/cours_lsl/sl_info/vhdl-tutorial.pdf VHDL Tutorial II (84 pages)] PDF 391.95KB |
** [http://lslwww.epfl.ch/pages/teaching/cours_lsl/sl_info/vhdl-tutorial.pdf VHDL Tutorial II (84 pages)] PDF 391.95KB |
||
* Debouncing |
|||
| ⚫ | |||
** [https://www.fpga4student.com/2017/04/simple-debouncing-verilog-code-for.html Verilog code for debouncing buttons on FPGA] |
|||
| ⚫ | |||
RISC V Assemblers: |
|||
* [https://riscv.org/technical/specifications/ Specifications] |
|||
* [https://github.com/riscv-non-isa/riscv-asm-manual/blob/master/riscv-asm.md Getting started] - Assembly manual |
* [https://github.com/riscv-non-isa/riscv-asm-manual/blob/master/riscv-asm.md Getting started] - Assembly manual |
||
* [https://www.cl.cam.ac.uk/teaching/1617/ECAD+Arch/files/docs/RISCVGreenCardv8-20151013.pdf Green card] |
* [https://www.cl.cam.ac.uk/teaching/1617/ECAD+Arch/files/docs/RISCVGreenCardv8-20151013.pdf Green card] |
||
* [https://five-embeddev.com/riscv-isa-manual/latest/instr-table.html RISC-V Instruction Set Manual] from five-embeddev.com |
|||
* [https://www.cs.cornell.edu/courses/cs3410/2019sp/riscv/interpreter/ RISC-V Interpretators online] |
|||
* [https://riscvasm.lucasteske.dev/# RISC-V Online Assembler] |
|||
== Seriālie protokoli == |
== Seriālie protokoli == |
||
| Line 248: | Line 256: | ||
* [https://youtu.be/TPbroUDHG0s Spēļu programmēšana 8 bitu arhitektūrā] |
* [https://youtu.be/TPbroUDHG0s Spēļu programmēšana 8 bitu arhitektūrā] |
||
* [https://youtu.be/V9xUQWo4vN0 Tranzistors] - 1953.gada dokumentālā filma |
|||
== FPGA pielietojumi == |
== FPGA pielietojumi == |
||
* [http://www.wired.com/2014/06/microsoft-fpga/ Microsoft Supercharges Bing Search With Programmable Chips] |
* [http://www.wired.com/2014/06/microsoft-fpga/ Microsoft Supercharges Bing Search With Programmable Chips] |
||
* [https://tang.sipeed.com/en/ Tang primer board] for RISC V |
|||
* [https://thedatabus.io/fpga-buying-guide FPGA buying guide] |
|||
Latest revision as of 10:28, 19 February 2026
Termini
- IC - Integrated Circuit - mikroshēma.
- FPGA - Field Programmable Gate Array - Konfigurējams loģisko un citu elementu čips, "lego" kluči digitālai elektronikai.
- EDA - Dizaina plūsma: Electronic Design Automation (wikipedia)
- RTL - Register-Transfer Level - dizaina abstrakcija, kurā dati plūst starp reģistriem.
- GDSII - Binārs datubāzes falia formāts IC dizaina apmaiņai industrijā.
Resursi
- Computer organization and design: the hardware/software interface
- Computer Organization & Design The Hardware/Software Interface, 2nd Edition PPT 5.89MB (lekciju slaidi no National Chiao Tung University)
- Computer Organization & Design The Hardware/Software Interface, 3nd Edition PPT 1.86MB (lekciju slaidi no National Chiao Tung University)
- FPGA-Based Prototyping Methodology Manual: Best practices in Design-for-Prototyping (FPMM) is a comprehensive and practical guide to using FPGAs as a platform for SoC development and verification.
- FPGA 101 - Making awesome stuff with FPGAs: Karsten Becker @ 30th Chaos Communication Congress [30c3] by the Chaos Computer Club
Digital design textbooks @ Digilent Inc.
- Introduction to Digital Design - Verilog Edition (PDF)
- Introduction to Digital Design - VHDL Edition (PDF)
- Real Digital - A hands-on approach to digital design
- Module 1: Introduction to Electronic Circuits PDF 465.54KB
- Module 2: Introduction to Digilent's Digital Design Circuit Boards PDF 65.94KB
- Module 3: Circuit Structure with an Introduction to CAD Tools PDF 247.60KB
- Module 4: Logic Minimization PDF 353.07KB
- Module 5: Introduction to VHDL PDF 197.37KB
- Module 6: Combinational Circuit Blocks PDF 244.46KB
- Module 7: Combinational Arithmetic Circuits PDF 361.00KB
- Module 8: Signal Propagation Delays PDF 126.77KB
- Module 9: Basic Memory Circuits PDF 232.41KB
- Module 10: The Structural Design of Sequential Circuits PDF 245.58KB
Saites
Xilinx produkti (FPGA čipi)
- Xilinx kompānijas (FPGA ražotājs) portāls
- Spartan 3E FPGA Family datasheet
- Spartan-6 FPGA Family datasheet
- Using Digital Clock Managers (DCMs) in Spartan-3 FPGAs
Xilinx attīstītajrīki
DiLab ir pieejami sekojoši Xilinx (Digilent) attīstītajrīki:
- ANVYL
- Anvyl Reference Manual: (PDF) (Website)
- ANVYL programmēšana - Pamācība, kā uzlādēt dizainu uz Anvyl dēļa
- UCF file templates.
PMOD papildus moduļi
Mums ir pieejami dažādi PMOD perifērijas iekārtu moduļi (pārsvarā 1x6 formātā) par kuriem sīkāk var lasīt Digilentic portālā.
- ADC modulis PmodAD1 PB200064
- DAC modulis: PmodDA2 PB200-113
- 3.5mm konektori ar pastiprinātāju: PmodAmp1
- RCA konektori: Pmod CON4 (CON1 RevB)
- BNC konektori: Pmod CON2 PB200066
- 7-segmentu LED x 2: PmodSSD
- Pmod LED x 4: PB200076
- Komutācijas modulis PTPH PB200-001
- Seriālā zibatmiņa: PmodSF
- Video signālu dekodera modulis VDEC1
- Pmod kabelis 6x1
- Skaļrunis ar 3.5mm konektoru: SPEAKER
- Konektors vadiem PmodCON1
- Rotējošais enkoderis PmodENC
- USB saskarne PmodUSBUART
- Ultraskaņas distances mērītājs PmodMAXSONAR
- Audio DAC SPI PmodMIC3
Xilinx ISE instalācija
Xilinx ISE WebPACK (14.7)
Xilinx ISE lietošana
- UCF failu šabloni FPGA platformām.
Vispārīga lietošana
- ISE In-Depth Tutorial (ver.14.7) PDF
- Xilinx ISE dokumentācija - dažādi dokumenti
Simulācija ar ISim
- Kā lietot iSim (video, Leo Seļāvo)
- ISim User Guide (ver.14.7) PDF 1.96MB
- ISim in-depth Tutorial PDF
Simulācija ar ModelSim
- Xilinx ISE In-Depth Tutorial - PDF
- Pamācība no Pensilvānijas Universitātes
- How to do a Timing Simulation using Modelsim and Xilinx ISE - video pamācība
Video applications using FPGA
ANVYL attīstītājrīks
ANVYL ir Xilinx Spartan 6G FPGA bāzēts attīstītājrīks ar dažādām papildus un perifērijas iekārtām.
- ANVYL programmēšana - kā uzlādēt dizainu uz Anvyl dēļa
- Video ar Anvyl programmēšanas piemēru
PYNQ ietvars
PYNQ ir ietvars kas iespējo FPGA aparatūras funkciju izmantošanu ar Python programmēšanas valodu. Atbalstītā aparatūra iekļauj ZYNQ.
PYNQ informācijas avoti:
PYNQ projekti
PYNK un PMOD
HDL pamācības (Verilog, VHDL)
- Verilog Tutorials
- handout by Peter Milder (15 pages).
- by asic-world (227 pages) PDF 876.25KB
- by asic-world, online version
- by NANDLand.com
- FSM pamācība no asic-world.com
- VHDL Tutorials
- VHDL Tutorial I (15 pages)
- VHDL Tutorial II (84 pages) PDF 391.95KB
- Debouncing
RISC-V
- Specifications
- Getting started - Assembly manual
- Green card
- RISC-V Instruction Set Manual from five-embeddev.com
- RISC-V Interpretators online
- RISC-V Online Assembler
Seriālie protokoli
- Asinhroni seriālais ports, RS232 un tml.
- SPI protokols
- SPI tutorial at Sparkfun
- I2C un 2-wire protokols
- I2C communication protocol at Circuit basics
- I2C Tutorial at Sparkfun
- One-wire protokols
- 1-wire protocol basics at rfwireless-world.com
- Guide to 1-wire devices at Maxim-IC
- USB
- Specifikācija - Infineon / Cypress.
IP cores priekš FPGA
- LatticeMicro 32 soft-procesors
Ieteikumi prezentāciju veidošanā
Piezīmes par plakātu un prezentāciju veidošanu
Citi kursi un saites
- 8 Bit Workshop - aparatūras simulators pārlūkā, tai skaitā Verilog.
- Circuitlab.com - vienkāršu shēmu testēšana interneta pārlūkā
- FPGA 4 fun! - FPGA informācija un projekti iesācējiem un ne tikai.
- Hades demonstration applets
- CPU Shack
- Why hardware development is hard by Dan Luu
- How a CPU is made (video)
- FPGA 101 - Making awesome stuff with FPGAs - FPGA 101 lekcija "30th Chaos Communication Congress (30c3) by the Chaos Computer Club (CCC)" konferencē.
- Intel: The Making of a Chip with 22nm/3D Transistors (video)
- Down to the silicon: how the Z80's registers are implemented
- MIT Introductory Digital Systems Lab (2008.g. MIT kurss)
- ASIC izmaksu kalkulators (Sigenics)
- HotMobile 2017 - Separated by Birth: Hidden Differences Between Seemingly-Identical Smartphone CPU's
Domu graudi
- Tranzistors - 1953.gada dokumentālā filma