Giter Club home page Giter Club logo

ml-powelec's Introduction

ML-Powelec

This is project aims at accelerate the circuit simulation process when using machine learining to train the power converter designer. The algorithm is based on AutoCkt 12. An FPGA accelerator is implemneted via xilinx vitis to accelerate the circuit simulation. Half-bridge LLC converter is used as the example. Compare with using PowerSim as the simulator, it is 60x fatser. This project contains:

  • A python script that transfer spice like netlist into accelerator required matrixes and vectors.
  • A Xilinx Vitis project to create the hardware accelerator.
  • The training and forwarding script that used to train the circuit designer. A customed GYM environment that use FPGA accelerator to do the simulation.

RUN

To run the project, an AWS F1 instance is required. The following python packages (and there dependencies) are required:

  • ray
  • ray[rllib]
  • pynq

These three packages may not be installed correctly with conda. If so, please use python3 -m pip install <package name>

To run the training, run following teriminal commands.

git clone https://github.com/aws/aws-fpga.git
cd aws-fpga
source vitis_setup.sh
cd ..
git clone https://github.com/URI-nextlab/ML-Powelec.git
cd ML-Powelec/fpga_train
ipython
run train.py

Footnotes

  1. https://github.com/ksettaluri6/AutoCkt.git

  2. Settaluri, K., Haj-Ali, A., Huang, Q., Hakhamaneshi, K., & Nikolic, B. (2020). AutoCkt: Deep Reinforcement Learning of Analog Circuit Designs. Proceedings of the 2020 Design, Automation and Test in Europe Conference and Exhibition, DATE 2020, 490–495. https://doi.org/10.23919/DATE48585.2020.9116200

ml-powelec's People

Contributors

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