Code Monkey home page Code Monkey logo

rubyreg's Introduction

Ruby Reg

Customizable Verilog Register Generator written in Ruby

What this does

  • Reads a basic excel sheet defining registers
  • Creates a single flat verilog register file output
  • Implements a very basic register structure than can be extended on
  • Allows for easy user customization using ERB (enbeded ruby) template files

What this isn't

  • A complex tool that will deal with systemVerilog verification

Rubyreg

See the example folder and makefile for usage as well as formatting

cd example
make regs

Supported Register Types

  • external/reserved
  • reg_port - generates a port with the full undecoded register value

Supported Field Types

  • ro - Read Only - creates input ports for the register fields that go directly to the read mux (no physical register)
  • rw - Read/Write - Creates a register and associated output port
  • w1trig - Write 1 to trigger - Creates a single clock trigger when a 1 is written to the field

Special columes

  • write enable - The value here is ANDED with the register write enable for the field.

Also see

RubyReg was inspired by another tool "Rggen", an open source tool that contains more advanced features

https://github.com/rggen/rggen

rubyreg's People

Contributors

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