Coder Social home page Coder Social logo

naderabdalghani / ode-solver-chip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aymanazzam/ode-solver

0.0 0.0 0.0 15.15 MB

Verilog implementation of an ordinary differential equation (ODE) solver accelerator chip ― **INCOMPLETE IMPLEMENTATION**

License: Apache License 2.0

Verilog 91.16% Python 7.87% Stata 0.97%
verilog ordinary-differential-equations hardware-acceleration hardware-designs

ode-solver-chip's Introduction


Logo

ODE Solver

Verilog implementation of an ordinary differential equation solver accelerator chip

About The Project

Solving ordinary differential equations is a crucial part of modeling and simulating systems. It is used in order to model how a system state changes over time. Simulating models help us with designing systems and controllers. Solving an ODE analytically can be a very hard and sometimes impossible approach. Therefore, it is a common practice to solve ODE using approximation numerical methods. This project is a synthesizable Verliog implementation of a detailed low-level design of a chip that provides multiple solvers for an ODE. It is a stand-alone chip that reads the system’s data from the user, applies the chosen solver, and generates the output. Solving complicated systems ODEs can be very costly.

ode-solver-design

The chip is designed to solve the following equation:

Where:

  • X is a vector of size eq2 that represents the state of the system
  • A is a matrix of size eq3
  • U is a vector of size eq4 that represents external input to the system
  • B is a matrix of size eq5

The chip consists of four main modules, IO module, forward Euler solver, interpolation module and step algorithm module.

  • The IO module is responsible for loading the initial state of the system, the system parameters, and the solver options.
  • The forward euler solver module is responsible for calculating X of the next time step Xn1.
  • The time step algorithm module is responsible for calculating the timer step depending on the chosen mode.
  • The interpolation module is responsible for calculating U at unknown timesteps.
  • The coordinator orchestrates the execution of the chip through its different execution steps

ode-solver-chip's People

Contributors

nada-adel-mohamady avatar naderabdalghani avatar phaantoom avatar rehamaali avatar sarahraafat15 avatar sha3er97 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.