Coder Social home page Coder Social logo

jefferyxm / yuu_register_productor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seabeam/yuu_register_productor

0.0 0.0 0.0 274 KB

UVM register utility generation by inputting xls table

License: MIT License

JavaScript 57.11% Python 18.27% CSS 7.12% SystemVerilog 7.89% Jinja 9.61%

yuu_register_productor's Introduction

yuu_register_productor

Register utility by inputting xls table. It has a full template to generate uvm register, register HTML. You can implement your own template for register FW code, RTL etc.

Dependency

openpyxl jinja2

License

Under Apache License, Version 2.0

NOTICE

For HTML5 code exist in HTML template, only new version of browser supported(Bug have exclude Chrome)

More

Feel free to contact via email: [email protected]

Usage

usage: yrp.py [-h] -n MODULE_NAME -t TEMPLATE_NAME -i INPUT_XLSX
      [-o OUTPUT_PATH] [-f] [-c]

Register utils generator for DFV

optional arguments:
 -h, --help      show this help message and exit
 -n MODULE_NAME, --name MODULE_NAME
            [Required] Expected module name
 -t TEMPLATE_NAME, --template TEMPLATE_NAME
            [Required] Template name, file extension should be .j2
 -i INPUT_XLSX, --input INPUT_XLSX
            [Required] xlsx file for generator input
 -o OUTPUT_PATH, --output OUTPUT_PATH
            [Optional] Output path, current path by default
 -f, --factory
            [Optional] Use UVM factory
 -c, --coverage
            [Optional] Use functional coverage

Example:
yrp.py -n SLAVE -t uvm_reg_model.j2 -i .\test\reg.xlsx -o test -f
yrp.py -n SLAVE -t html.j2 -i .\test\reg.xlsx -o test

update 230730

support generate RTL code rtl gen example: python -n TEST_MODULE -t rtl_reg_model.j2 -i ./test/reg.xlsx -o out01

yuu_register_productor's People

Contributors

seabeam avatar niudaoguajiao avatar hatakeyuu 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.