Giter VIP home page Giter VIP logo

rvcd's Introduction

RVCD

VCD wave file viewer written in Rust.

With egui, rvcd can be compiled to win/linux/web.

Usage

CLI

$ ./target/release/rvcd --help
Simple program to greet a person

Usage: rvcd [OPTIONS] [FILE]...

Arguments:
  [FILE]...  Files to open

Options:
  -i <INPUT>         Input sources
  -s, --src <SRC>    Default source path [default: ]
  -p, --port <PORT>  Manager port [default: 5411]
  -h, --help         Print help
  -V, --version      Print version

GUI

  1. Open and show .vcd file:File->Open

  2. Open source code dir: `File->e

  3. Wave view operations

    1. Shift+Mouse Scroll / TouchPad move left-right / Shift+TouchPad move up-down: ⬅️ move view window ➡️
    2. Mouse Scroll / TouchPad move up-down: ⬆️ move signal view ⬇️
    3. Ctrl+Mouse Scroll / Ctrl+TouchPad move up-down: zoom in/out
    4. Mouse middle drag to move signal view vertically
    5. Mouse right drag to select new view range
  4. Signal operations

    1. Right click on the signal to set Height / Color / Display Mode, or goto source code

      image-20230407115617137

    2. Goto Source:

      1. If multi nets found, select one

        image-20230407115800560

      2. Can call Visual Studio Code / Scaleda / Internal Editor

        image-20230407115900480

        image-20230407115940405image-20230407120020508

  5. Edit source code: After To Source, you can edit source code directly in the internal editor. Ctrl+S Save.

  6. Manage windows: Menu bar minimize/New Window/Close All/Quit

    image-20230407114407825

  7. Cursors:

    1. Right click timebar to add/remove all cursors⬇️

      image-20230407113711862image-20230407113742710

    2. Drag on timebar to drag any cursor⬆️

    3. Click on wave to put main cursor⬇️

      image-20230407113958527

    4. Drag on wave to drag temporary cursor⬆️

    5. Right click cursor on timebar to add/remove spans

      image-20230407114105915

  8. Appearance

    1. Switch theme: 🌞 on right top corner
    2. Language: menu Language->en/zh-CN
    3. Signal Tree (SST): menu SST
  9. Goto Wave: You can call Goto Waveform in Scaleda

    image-20230407120410894

  10. Debug: menu bar Debug Panel

    image-20230407120451546

Build

Windows / Linux

# run rvcd
cargo run
# compile to release executable
cargo build --release

Web

# install wasm target
rustup target add wasm32-unknown-unknown
# install cli tool
cargo install trunk wasm-bindgen-cli
# dynamical run in debug
trunk serve
# build release static files
trunk build --release

rvcd's People

Contributors

chiro2001 avatar

Stargazers

 avatar  avatar  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.