Giter Site home page Giter Site logo

rgbledmod's Introduction

RgbLedMod

Verilog core for managing 3-wire RGB PWM Led (full colors) with blinking support.

Module parameters

The following parameters are configurable:

  • Blink period (full cycle on/off) in clock cycles
  • LED on value (1 for active high, 0 for active low)
  • LED off value (0 for active high, 1 for active low)

Simulation

For simulation purpose, testbench RgbLed_tb is provided.

Simulation is performed with DSim Desktop using VS Code extension and local desktop simulator. Simulation configuration is stored in sim directory.

Steps for simulation:

  • Ensure that VSCode extension is installed (metrics-design-automation.dsim-desktop).
  • Install local tool (using extension panel).
  • Click Manage Licenses button and activate free personal license.
    • NOTE: only one license is allowed.
    • License may be downloaded and manually put to AppData/Local/metrics-ca directory.
  • Create sim directory.
  • Right click on sim directory and create new DSim project with root directory ..\.
  • Right click on Verilog files and add them to project using Configure File command.
  • Go to Library configuration panel and compile work library.
  • Create the simulation RgbLed_sim with the following options: -top work.RgbLed_tb +acc+b -waves waves.mxd.
  • Run simulation.
  • Open waves.mxd file for analysis.

Note: See Tutorial for more details on installation, configuration and running.

Author

Yuriy Kapoyko - [email protected]

rgbledmod's People

Contributors

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