Skip to content

Commit

Permalink
Update mistercompile.md
Browse files Browse the repository at this point in the history
  • Loading branch information
birdybro committed Apr 23, 2024
1 parent 78b62b6 commit 60ff074
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/developer/mistercompile.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
MiSTer uses a combination of various compiled binaries in the finished product. There is a customized minimal Linux Kernel, a bootloader, a Main MiSTer binary that's written in C, and then there are the cores built on the MiSTer framework written in a combination of VHDL, Verilog, and SystemVerilog. In order to compile the "full stack" as it were, you need a variety of tools. I'm writing this guide with the hopes of expanding on it as I explore how to compile the variety of MiSTer cores and programs myself.
MiSTer uses a combination of various compiled binaries in the finished product. There is a customized minimal Linux Kernel, a bootloader, a Main MiSTer binary that's written in C, and then there are the cores built on the MiSTer framework written in a combination of VHDL, Verilog, and SystemVerilog. In order to compile the "full stack" as it were, you need a variety of tools.

## To compile MiSTer FPGA cores

The vast majority of MiSTer FPGA cores currently use Quartus 17.0.2 for compilation. Here are the download links for both Windows and Linux:

[Windows Download](https://download.altera.com/akdlm/software/acdsinst/17.0std.2/602/ib_tar/Quartus-lite-17.0.2.602-windows.tar){target=_blank}

[Linux Download](https://download.altera.com/akdlm/software/acdsinst/17.0std.2/602/ib_tar/Quartus-lite-17.0.2.602-linux.tar){target=_blank}

The Linux version is intended to work with Ubuntu 18.xx, you may have to adjust by downloading some missing dependencies if you use a newer version or another distribution.

Open the .qpf file from the MiSTer core you wish to compile with Quartus and press the play button. It's as simple as that!

## General prerequisites for ARM Cross Compiling

Expand Down

0 comments on commit 60ff074

Please sign in to comment.