GithubHelp home page GithubHelp logo

arekinath / jop Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 2.0 19.55 MB

Implementation of the Java VM as soft processor core in an FPGA for embedded real-time systems. (this is my personal branch of JOP for working on better I/O support for the Nexys2 board from Digilent)

Home Page: http://www.jopdesign.com/

Shell 0.02% Scheme 0.13% Assembly 0.42% Perl 0.78% C 0.82% Python 0.82% Verilog 1.65% Tcl 1.87% VHDL 12.48% Java 81.01%

jop's Introduction

Getting started

Refer to the JOP wiki for some general background and starting material: http://www.jopwiki.com/Getting_started

Bare minimum to get stuff working

Build tools and jopser image

cd jop/
make tools
cd asm/
sh jopser.sh

Create BIT file for FPGA

cd ../xilinx/nexys2/
ise jop.xise

Then synthesise, implement, create a bit file and program it onto the board. You could also use one of the pre-provided BIT files in the Downloads link above.

Compile demo app

cd ../../
make java_app P3=NexysTest

Now you can download the image java/target/dist/bin/NexysTest.jop via serial using the down_posix app:

gcc -o down_posix ./c_src/down_posix.c
./down_posix -usb -e java/target/dist/bin/NexysTest.jop /dev/ttyS0

After it finishes, you should see the LEDs scanning back and forth while the 7seg increments once per second. Also, the current time should print out on the serial console.

The code causing this demo to happen is in java/target/src/test/test/NexysTest.java

jop's People

Contributors

arekinath avatar flagr avatar jeunes2 avatar rupitm avatar schoeberl avatar stefanhepp avatar torurstrom avatar visq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.