Code Monkey home page Code Monkey logo

picosim's Introduction

PicoSim - Xilinx PicoBlaze Assembly Simulator

Copyright (C) 2017 Vadim Korolik - see [LICENCE] (https://github.com/Vadman97/PicoSim/blob/master/LICENSE)

[ISR] (https://www.xilinx.com/support/documentation/ip_documentation/ug129.pdf)

Project Goals

The ultimate goal is to create a easy-to-use GUI simulator that will allow simple hookups for Verilog top level logic to the soft-core CPU and complete simulation of assembly code, with realistic simulation of outputs to top-level LEDS and SSDs as well as button/switch inputs.

Working on basic instruction simulation first. Once the assembler is complete and the assembly simulation is tested, I will work on an interface for connecting top level logic to the CPU. After this functions, I plan to expand this project into a web application to implement a GUI.

TODO / Notes:

System IO (simulated portin/portout address-controlled multiplexing). CPU Execution should be at a hard-set rate. Debugging / execution should control instruction exec rate via ProgramManager. Look into performance difference if we switch to numpy for the memory backend. Memory operations are quite efficient, except set_value and get_value for a memory row taking more time during conversion of binary to int. This process can definitely be optimized.

On an average machine, the ALU simulation is on the order of 500x slower than on FPGA (runs at 170 KHz).

picosim's People

Contributors

vadman97 avatar

Stargazers

 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.