All Projects → jbush001 → Nyuziprocessor

jbush001 / Nyuziprocessor

Licence: apache-2.0
GPGPU microprocessor architecture

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Nyuziprocessor

xeda
Cross EDA Abstraction and Automation
Stars: ✭ 25 (-98.15%)
Mutual labels:  fpga, hardware, verilog
Connectal
Connectal is a framework for software-driven hardware development.
Stars: ✭ 117 (-91.34%)
Mutual labels:  verilog, hardware, fpga
Openfpgaduino
All open source file and project for OpenFPGAduino project
Stars: ✭ 137 (-89.86%)
Mutual labels:  verilog, hardware, fpga
gateware-ts
Hardware definition library and environment for designing and building digital hardware for FPGAs, using only open source tools
Stars: ✭ 83 (-93.86%)
Mutual labels:  fpga, hardware, verilog
Verilog
Repository for basic (and not so basic) Verilog blocks with high re-use potential
Stars: ✭ 296 (-78.09%)
Mutual labels:  verilog, hardware, fpga
Platformio Atom Ide
PlatformIO IDE for Atom: The next generation integrated development environment for IoT
Stars: ✭ 475 (-64.84%)
Mutual labels:  verilog, hardware, fpga
Cascade
A Just-In-Time Compiler for Verilog from VMware Research
Stars: ✭ 413 (-69.43%)
Mutual labels:  verilog, hardware, fpga
Platformio Vscode Ide
PlatformIO IDE for VSCode: The next generation integrated development environment for IoT
Stars: ✭ 676 (-49.96%)
Mutual labels:  verilog, hardware, fpga
Icestation 32
Compact FPGA game console
Stars: ✭ 93 (-93.12%)
Mutual labels:  verilog, fpga
Heteroflow
Concurrent CPU-GPU Programming using Task Models
Stars: ✭ 57 (-95.78%)
Mutual labels:  gpu, gpu-computing
Pycuda
CUDA integration for Python, plus shiny features
Stars: ✭ 1,112 (-17.69%)
Mutual labels:  gpu, gpu-computing
Fpga101 Workshop
FPGA 101 - Workshop materials
Stars: ✭ 54 (-96%)
Mutual labels:  verilog, fpga
Rggen
Code generation tool for configuration and status registers
Stars: ✭ 54 (-96%)
Mutual labels:  verilog, fpga
Haddoc2
Caffe to VHDL
Stars: ✭ 57 (-95.78%)
Mutual labels:  hardware, fpga
Electron
A mixed signal netlist language (pre-alpha)
Stars: ✭ 52 (-96.15%)
Mutual labels:  verilog, fpga
Vbiosfinder
Extract embedded VBIOS from (almost) any BIOS Update
Stars: ✭ 64 (-95.26%)
Mutual labels:  gpu, hardware
J1sc
A reimplementation of a tiny stack CPU
Stars: ✭ 64 (-95.26%)
Mutual labels:  verilog, fpga
Darkriscv
opensouce RISC-V cpu core implemented in Verilog from scratch in one night!
Stars: ✭ 1,062 (-21.39%)
Mutual labels:  verilog, fpga
Core jpeg
High throughput JPEG decoder in Verilog for FPGA
Stars: ✭ 64 (-95.26%)
Mutual labels:  verilog, fpga
Jt gng
CAPCOM arcade hardware accurately replicated on MiST and MiSTer FPGA platforms. It covers Ghosts'n Goblins, 1942, 1943, Commando, F1-Dream, GunSmoke, Tiger Road, Black Tiger, Bionic Commando, Higemaru, Street Fighter and Vulgus.
Stars: ✭ 65 (-95.19%)
Mutual labels:  verilog, fpga

Nyuzi Processor

CI Codacy Badge

Nyuzi is an experimental GPGPU processor hardware design focused on compute intensive tasks. It is optimized for use cases like deep learning and image processing.

This project includes a synthesizable hardware design written in System Verilog, an instruction set emulator, an LLVM based C/C++ compiler, software libraries, and tests. It can be used to experiment with microarchitectural and instruction set design tradeoffs.

Documentation: https://github.com/jbush001/NyuziProcessor/wiki
License: Apache 2.0

The following instructions explain how to set up the Nyuzi development environment. This includes an emulator and cycle-accurate hardware simulator, which allow hardware and software development without an FPGA, as well as scripts and components to run on FPGA.

Install Prerequisites

Linux (Ubuntu)

This requires Ubuntu 16 (Xenial Xeres) or later to get the proper package versions. It should work for other distributions, but you will probably need to change some package names. From a terminal, execute the following:

sudo apt-get -y install autoconf cmake make ninja gcc g++ bison flex python \
    python3 perl emacs openjdk-8-jdk swig zlib1g-dev python-dev \
    libxml2-dev libedit-dev libncurses5-dev libsdl2-dev gtkwave python3-pip
pip3 install pillow

Emacs is used for verilog-mode AUTO macros. The makefile executes this operation in batch mode

MacOS

These instruction assume OSX Mavericks or later.

Install XCode from the AppStore application (Click Here). Then install the command line compiler tools by opening Terminal and typing the following:

xcode-select --install

Install python libraries:

pip3 install pillow

Install Homebrew from https://brew.sh/, then use it to install the remaining packages from the terminal (do not use sudo):

brew install cmake bison swig sdl2 emacs ninja

Alternatively, you could use MacPorts if that is installed on your system, but you will need to change some of the package names

You may optionally install GTKWave for analyzing waveform files.

Windows

I have not tested this on Windows. Many of the libraries are cross platform, so it should be possible to port it. But the easiest route is probably to run Linux under a virtual machine like VirtualBox.

Build (Linux & MacOS)

The following script will download and install the Nyuzi toolchain and Verilator Verilog simulator. Although some Linux package managers have Verilator, they have old versions. It will ask for your root password a few times to install stuff.

./scripts/setup_tools.sh

Build everything else:

cmake .
make

Run tests:

make tests

If you are on a Linux distribution that defaults to python3, you may run into build problems with the compiler. In tools/NyuziToolchain/tools/CMakeLists.txt, comment out the following line:

add_llvm_external_project(lldb)

Occasionally a change will require a new version of the compiler. To rebuild:

git submodule update
cd tools/NyuziToolchain/build
make
sudo make install

Next Steps

Sample applications are available in software/apps. You can run these in the emulator by switching to the build directory and using the run_emulator script (some need 3rd party data files, details are in the READMEs in those directories).

For example, this will render a 3D model in the emulator:

cd software/apps/sceneview
./run_emulator

To run on FPGA, see instructions in hardware/fpga/de2-115/README.md

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].