Skip to content

CospanDesign/nysa

Repository files navigation

Project: Nysa

Goal: Simplifiy both generation of HDL and interactions with FPGAs.

"Read the Docs"

Problem:

FPGA are extremely flexible. They can be used to:

  • Communicate with sensors that employ a variety of protocols including I2C, UART, SPI etc...
  • Read images from cameras and write to LCD screens
  • Interface with memory devices
  • Exchange data with a processor

Unfortunately FPGAs require a lot of resources and knowledge before users can get the initial "blinky" up and running. Not only does one need to know about the physical constraints of an FPGA but understand how it interacts with a hardware description language.

What Nysa is:

A set of software tools designed to simplify each aspect of FPGA development.

  1. Communicating with an FPGA using a simple Python API (read to register, write to register, etc...)
  2. Create FPGA images from a configuration (no knowledge of HDL required) that can be downloaded to a user FPGA.
  3. Create and simulate HDL cores that can easily be integrated with the forementioned FPGA image generator

Users can develop:

  • A flexible I/O peripheral expansion for a host.
    • This host can be a desktop computer a laptop an Android tablet or even a microcontroller
  • A platform to build interfaces to complex sensors including:
    • Cameras
    • LCD screens
  • A core that can process data including:
    • Software defined radio processing
    • Image processing algorithm

What Nysa is NOT:

  • A general FPGA development environment
  • A platform for soft core processors. There are may projects that already do that including OpenCores and Papilion.
  • Used to develop stand alone FPGA platforms, independent of the host

Description:

The suite is split into three subgroups: cbuilder (generates verilog modules), ibuilder (generates FPGA images) and host (host side software used to interface with an FPGA)

cbuilder (Core Builder): Generates individual cores to interface with a sensor, IC, or process an algorithm.

  • Utilities to create Wishbone slave modules that can be used within a Nysa image.
    • The created module includes.
      • An actual verilog module the user edits.
      • Software tools to build, simulate and view the waveform of the simulations using gtkwave.
      • A simple mechanism that allows users to easily introduce different stimulus on the core.
  • The verilog modules generated here are fed into ibuilder to be used within an actual FPGA image.

ibuilder (Image Builder): Generates FPGA images to go onto a board

  • Using only a configuration file users can generate an FPGA image specifying the behavior they want from the FPGA.
  • Generates PlanAhead projects and associated scripts to build a bit or binary file that can be used to program an FPGA.

Host: Host side software

  • Interface with an FPGA image using Python or c. An simple low level API is defined to detect and interact with an FPGA board.
  • Users can simply plug in an FPGA board, such as Dionysus, and the host computer can query the FPGA for it's behavior.
  • Writing drivers for a module is as simple as creating a Python module or a C library.
  • Writing applications for Nysa based FPGAs are simpler than writing software to control native components on a desktop, laptop or an embedded device.

Releases

No releases published

Packages

No packages published

Languages