GithubHelp home page GithubHelp logo

icyselec / tptriscv Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 212 KB

Implement the RISC-V instruction set on TPT.

License: GNU Lesser General Public License v2.1

Lua 100.00%
disassembler lua luajit multi-platform riscv-emulator zero-dependency powder-toy

tptriscv's Introduction

tptriscv

Implement the RISC-V 32-bit Microprocessor on The Powder Toy.

How to Run?

  1. Copy the tptriscv folder in the src directory to the TPT data directory.
  2. Copy the examples folder to the TPT data directory.
  3. Run TPT, open the console, and enter the following command. dofile("tptriscv/main.lua")
  4. Select the DBG material, install one of the blank spaces on the canvas, and unstop the simulation to import the example file.
  5. The inspection will be done automatically. Please wait a moment and we will inform you of the results. (The real-time dis-assembly will be activated while it is running, please wait as there is no abnormality.)
  6. Once the operation is complete, you must save the changed memory information. Please enter a file name.
  7. Compare the printed and original files with each other to see what has changed.

Can I contribute to this project?

Yes, it is always possible, but please be careful because the source code is very unstable because it is in the early stages of development.

What exactly are the features currently available?

It includes what appears to be a normal operation of the processor, the implementation of a compressed set of instructions, the implementation of some multiplication and division of instructions, debugging, and real-time display assembly output.

Can I use it for other projects as well?

Yes, of course. If it's an environment where LuaJIT and BitOp libraries are supported, it can be driven. But I would like to let you know that it doesn't guarantee complete compatibility because it's being developed around TPT right now.

tptriscv's People

Contributors

icyselec avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.