GithubHelp home page GithubHelp logo

a314-1000-gateware's Introduction

A314-1000 gateware

A314-1000 is a variant of A314 for the Amiga 1000.

This repository contains the gateware for the Trion T8 FPGA on the A314-1000 board.

The hardware can be found here: https://github.com/Eriond/A314-1000-PCB.

The software is available in the A314 repository: https://github.com/niklasekstrom/a314.

The HDL for A314-1000 is available in the a314-1000 subdirectory.

In the flash-connect subdirectory there is a simple HDL that lets the Raspberry Pi connect directly to the flash memory chip on the PCB. This is used to program a new configuration to the flash memory chip. When the FPGA is reset it loads the configuration from the flash memory.

Compiling

The projects are compiled using a recent version of Efinity which is available for free here: https://www.efinixinc.com/products-efinity.html. The compiled binary files are available in the release for this repository.

Programming

The programming is done from the Raspberry Pi on the A314-1000 board.

The programming is done in two steps. In the first step, the flash-connect configuration is written to the FPGA using the JTAG interface. In the second step, the a314-1000 configuration is written to the flash memory using a SPI interface. After this, the FPGA will load the configuration from the flash memory on reset.

A modified version of openFPGALoader is available that can perform both steps described above. The source for the modified version of openFPGALoader is available here: https://github.com/niklasekstrom/openFPGALoader/tree/a314-1000-spi.

The bash script program_flash.sh will perform both steps. Both openFPGALoader and the script use libgpiod to toggle GPIO pins. Install libgpiod with: sudo apt install libgpiod-dev.

Note that a314d must be stopped before programming! Shutdown a314d first using the command sudo systemctl stop a314d. After the programming is done you restart it with sudo systemctl start a314d.

a314-1000-gateware's People

Contributors

niklasekstrom avatar

Stargazers

Nicola Avanzi avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

ogg1e

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.