Coder Social home page Coder Social logo

fleker / chipyard-viewer Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 2.0 15.84 MB

An online viewer for Chipyard output files

Home Page: https://felker.dev/chipyard-viewer

License: Apache License 2.0

HTML 18.52% JavaScript 2.95% TypeScript 74.41% CSS 4.12%
hacktoberfest system-on-chip chipyard webapp

chipyard-viewer's Introduction

Chipyard Viewer

Build Status

An online app that can visualize Chipyard-generated .out files.

It is available in hosted form online: https://felker.dev/chipyard-viewer

demo.png

Features

  • Show Pass/Fail state clearly
  • Visualize clock cycles with gaps
  • Hover over each operation to see operation details
  • View file text with syntax highlighting

Setup

Prerequisites

  • Node.js >= 12.14.0
npm install
npm run start # Starts app on localhost
npm run build # Generates website under `/dist/app`
npm run test  # Run unit tests

Examples

Examples in /examples largely are generated by following the Chipyard getting started guide with default settings.

These examples are used to verify the behavior of the app through unit tests.

LICENSE

This is licensed under Apache-2.0. See LICENSE.

chipyard-viewer's People

Contributors

aakhtar3 avatar fleker avatar za avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

neeraj15022001 za

chipyard-viewer's Issues

Improve architecture

[ ] Split JS and CSS into separate files
[ ] Unit tests for JS against various output files

Add support for a 'default' theme

Add a bit of JS to the app-component.ts to check the system dark theme and enable it in the changeDarkTheme method rather than just checking the app setting.

Create menu UI

Add menu UI for a Settings dialog to appear and allow other dialogs to be created in the future like a register viewer.

Instruction disassembler

Is there a way to easily break down the instruction opcodes to provide insight into how it is converted into a specific instruction/params?

Probably not unless we make certain architectural assumptions.

Consolidate file parsing to one instance

Create a file-parser.service which uses file-parser to make sense of all data. Then send that to each of the three chipyard HTML elements rather than each one performing the parsing themselves.

Assembly instruction decoder

Have a mapping from the assembly op to the canonical instruction.

addi ...

Should be mapped to some kind of content like:

Add Immediate: This instruction is used to do X, Y, or Z.

Register viewer over time

Keep track of which registers are updated at each clock cycle and create a new dialog to show them at different cycles

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.