Using FPGA: Difference between revisions

From ArmadeusWiki
 
(52 intermediate revisions by 2 users not shown)
Line 10: Line 10:
| width="50%" |
| width="50%" |


=== 1. Starting Up with FPGA ===
=== FPGA Interfaces ===
All you need to know to play with the Armadeus FPGA.


* '''APF9328''': [[IMX9328-Spartan3 interface description]]
* '''APF27''': [[IMX27-Spartan3A interface description]]
* '''APF51''': [[IMX51-Spartan6 interface description]]
* '''APF6_SP''': [[APF6_SP Interfaces description]]
* '''OPOS6UL_SP''': [[OPOS6UL_SP Interfaces description]]
* '''OPOS93_SP''': [[OPOS93_SP Interfaces description]]


==== Accessing the FPGA address domain from Linux userspace ====
* [[FPGA_registers_access_from_Linux_userspace_on_APF9328,_APF27_SP,_APF51_SP_and_OPOS6UL_SP | APF9328, APF27_SP, APF51_SP and OPOS6UL_SP]]
* [[FPGA_registers_access_from_Linux_userspace_on_APF6_SP | APF6_SP]]
* [[FPGA_registers_access_from_Linux_userspace_on_OPOS93_SP | OPOS93_SP]]
==== Accessing the FPGA address domain from Linux kernel ====
* [[FPGA_registers_access_from_Linux_kernel_on_OPOS93_SP | OPOS93_SP]]


| width="50%" |
| width="50%" |
=== Design Tools===
Description of tools used to simulate, to synthesize, and to download/configure FGPA.


'''Xilinx'''
=== FPGA designing on Armadeus platforms ===
* [[ISE WebPack installation on Linux| ISE WebPack (Xilinx's free devt tool) installation]]
 
* [[Vivado installation on Linux]]
These examples give the basis to make VHDL design for FPGA.
* [[How_to_make_a_VHDL_design_in_Ubuntu/Debian| How to setup the FPGA toolchain in Ubuntu/Debian]]
 
* [[How to simulate post synthesis and post place & route design with GHDL]]
*'''APF9328''', '''APF27''', '''APF51''', '''OPOS6UL_SP''':
'''Altera'''
** [[Simple blinking LED | LED]]
* [[Quartus | Quartus Web edition (Altera's free devt tool)]]
** [[A simple design with Wishbone bus | Complete example with button and led on wishbone bus communication and Linux drivers]]
* [[Modelsim-Altera | Install Modelsim-Altera (starter edition)]]
*'''APF6_SP'''
** [[APF6_SP_FPGA_designing | FPGA designing]]
*'''OPOS93_SP'''
** [[OPOS93_SP_FPGA_designing | FPGA designing]]


|----------------
|----------------
|- style="background:#f4f4f4; color:black; -moz-border-radius:18px;"
|- style="background:#f4f4f4; color:black; -moz-border-radius:18px;"
| width="50%" |


| width="50%" |
=== Configuring Armadeus platform's FPGA ===


=== 2. Make some examples ===
'''Platforms'''
* '''APF9328''', '''APF27''', '''APF51''', '''OPOS6UL_SP''': [[APF9328_APF27_APF51_OPOS6UL_SP FPGA_configuration | Configure APF9328, APF27, APF51 or OPOS6UL_SP FPGA]]
* '''APF6_SP''': [[APF6_SP_FPGA_configuration | Configure APF6_SP FPGA]]
* '''OPOS93_SP''': [[OPOS93_SP_FPGA_configuration | Configure OPOS93_SP FPGA]]


These examples give the basis to make VHDL design for FPGA.
'''Tools'''


* [[Simple blinking LED | LED]]
* [[FPGA_loader | FPGA loader Linux driver]]
* [[A simple design with Wishbone bus | Complete example with button and led on wishbone bus communication and Linux drivers]]


| width="50%" |
=== Design Tools===
Description of tools used to simulate, to synthesize, and to download/configure FGPA.


'''Xilinx'''
* [[ISE WebPack and Vivado]]


'''Altera'''
* [[Quartus | Quartus Prime (Altera/Intel's free devt tool)]]
* [[Modelsim-Altera | Install Modelsim-Altera (starter edition)]]


| width="50%" |
'''Efinix'''
* [[Efinity]]


===Using Armadeus FPGA===
'''Lattice'''
Manage the FPGA from Armadeus distribution.


* [[Configure or flash FPGA ?]]
* [[IceCube | Install IceCube]]
* Configure the FPGA [[FPGA_loader | from Linux]], [[Target_Software_Installation#FPGA_firmware_test | from U-Boot]], [[PCIe_fpga_load | from PCIe]].
* [[Diamond | Install Lattice Diamond]]
* Flashing FPGA firmware [[Uboot_FPGA_firmware_update_from_Linux | from Linux]], [[Target_Software_Installation#FPGA_firmware_installation | from U-Boot]]
* [[FPGA_register | Access the FPGA address domain from Linux]]


'''Microsemi'''
* [http://www.fabienm.eu/flf/installing-libero-on-debian-9/ Install Libero]


|----------------
|----------------
Line 59: Line 85:
| width="50%" |
| width="50%" |


=== 3. Automatize FPGA design making ===
=== Automatize FPGA design making ===


==== [[Peripherals On Demand]] ====
==== [[Peripherals On Demand]] ====
For complex projects, POD should be used to simplify design.
For complex projects, POD should be used to simplify design.


==== [[Migen]] ====
==== [[FuseSoC]] ====
FuseSoC is a builder written in Python used to automatize FPGA constructions
 
==== CactusII ====
 
[http://funbase.cs.tut.fi/ Graphical IDE] for managing FPGA/ASIC design with IPX-ACT standard.


With migen, it's possible to develop FPGA design in Python then generate Verilog for synthezis.
| width="50%" |
| width="50%" |
=== HDL ===


===VHDL ===
===VHDL ===
Line 76: Line 108:
* [http://www.gmvhdl.com/VHDL.html An Introductory VHDL Tutorial]
* [http://www.gmvhdl.com/VHDL.html An Introductory VHDL Tutorial]


=== Verilog ===


|----------------
* [https://www.veripool.org/wiki/verilator Verilator] an High speed verilog simulator
|- style="background:#f4f4f4; color:black; -moz-border-radius:18px;"
* [http://iverilog.icarus.com/ Icarus] Famous open-source verilog simulator
* [https://symbiyosys.readthedocs.io/en/latest/ SymbiYosys] open-source Verilog formal verification
 
=== Synthesizable Synchronous HDL ===
==== [[Migen]] ====
 
With migen, it's possible to develop FPGA design in Python then generate Verilog for synthezis.
 
==== [[Chisel]] ====
With Chisel, it's possible to develop FPGA design in Scala then generate C++ model for simulation and Verilog model for synthesis. Armadeus system can help you to integrate a Chisel project on Armadeus board.


| width="50%" |
==== [[SpinalHDL]] ====
=== FPGA Interface ===


* APF9328 : [[IMX9328-Spartan3 interface description]]
[https://github.com/SpinalHDL/SpinalHDL Another HDL generator] (VHDL) written in Scala.
* APF27 : [[IMX27-Spartan3A interface description]]
* APF51 : [[IMX51-Spartan6 interface description]]
* APF6SP:
** [[IMX6-CycloneV interface description | IMX6-CycloneV interface description (PCIe)]]
** [[DDR3-CycloneV interface description | DDR3-CycloneV interface description]]
** [[APF6_SP hirose pinout | Pinout on apf6sp hirose connector]]


|----------------
|- style="background:#f4f4f4; color:black; -moz-border-radius:18px;"


| width="50%" |
| width="50%" |
Line 104: Line 141:
* [http://www.xilinx.com/support/documentation/data_sheets/ds099.pdf Spartan-3 FPGA Family Data Sheet]
* [http://www.xilinx.com/support/documentation/data_sheets/ds099.pdf Spartan-3 FPGA Family Data Sheet]


''' Orchestra '''
''' CycloneV'''
* [http://osocgen.berlios.de/ Orchestra website]
* [https://www.altera.com/products/fpga/cyclone-series/cyclone-v/overview.html CycloneV overview from altera]
* [http://developer.berlios.de/projects/osocgen/ Orchestra project page]
 
''' OpenSource '''
 
* [http://www.fabienm.eu/flf/wp-content/uploads/2017/05/fpgamap-1.svg OpenSource FPGA map]
 
| width="50%" |
 
 


|}
|}

Latest revision as of 17:31, 9 October 2025


Developing on the APF FPGA

FPGA Interfaces

Accessing the FPGA address domain from Linux userspace

Accessing the FPGA address domain from Linux kernel

FPGA designing on Armadeus platforms

These examples give the basis to make VHDL design for FPGA.

Configuring Armadeus platform's FPGA

Platforms

Tools

Design Tools

Description of tools used to simulate, to synthesize, and to download/configure FGPA.

Xilinx

Altera

Efinix

Lattice

Microsemi

Automatize FPGA design making

Peripherals On Demand

For complex projects, POD should be used to simplify design.

FuseSoC

FuseSoC is a builder written in Python used to automatize FPGA constructions

CactusII

Graphical IDE for managing FPGA/ASIC design with IPX-ACT standard.

HDL

VHDL

Verilog

  • Verilator an High speed verilog simulator
  • Icarus Famous open-source verilog simulator
  • SymbiYosys open-source Verilog formal verification

Synthesizable Synchronous HDL

Migen

With migen, it's possible to develop FPGA design in Python then generate Verilog for synthezis.

Chisel

With Chisel, it's possible to develop FPGA design in Scala then generate C++ model for simulation and Verilog model for synthesis. Armadeus system can help you to integrate a Chisel project on Armadeus board.

SpinalHDL

Another HDL generator (VHDL) written in Scala.

Links

Some useful links.

Wishbone

Spartan

CycloneV

OpenSource