Code Monkey home page Code Monkey logo

ac_inout_psu's Introduction

ac input/output power supply

A vhdl implementation for a 3kW single phase input/output power supply control and communications. Power supply has gigabit ethernet and uart communications. Hardware test code currently developed in source/system_control/system_components/system_components.vhd

There is a run_ghdl_testbenches.bat file that can be run on console to trigger testbenches.

A companion website with some descriptions on the project can be found at https://hardwaredescriptions.com

A tutorial on how to use the code and install ghdl/gtkwave is currently being written at https://hardwaredescriptions.com/getting-started-with-fpga-and-vhdl-step-by-step-guide-from-tool-installation-to-your-first-inverter-control/

The steps to produce the uart console programs for testing the VHDL are found in https://hardwaredescriptions.com/?page_id=912

system sources are in ./get_vhdl_sources.tcl file in reverse order compared to the code architecture. This is done to ease maintaining ghdl_compile.bat which is used for syntax checking and simulation

Currently compiled with quartus software and for cyclone 10lp025. Build can be started with call to quartus shell and the top level tcl script is in /cyclone_10/tcl/build_project.tcl

.gitignore includes ./compile folder in which project can be compiled using

quartus_sh -t ..\cyclone_10\tcl\build_project.tcl

after build, the code can be uploaded to FPGA using quartus_pgm -c "USB-Blaster [USB-0]" -m JTAG -o "p;./output/top.sof"

The repository folder structure follows the code architecture

top -- physical mapping layer
  system_control -- high level system control functions like power sequencing
    system_components -- interconnect for top level module interfaces
        ad_interface,
        uart,
        ethernet,
        (lcd),
        (power_supply_control)

ac_inout_psu's People

Contributors

johonkanen avatar lukipedio avatar

Stargazers

 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.