Skip to content

alienflip/n.body.problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N-Body-Problem

abstract

The N-Body-Problem is a problem in physics. It aims to model the interaction of many different bodies in the universe, all who excert gravitiational forces on eachother.

In the following set of algorithms, the problem is approximately solved in 2+1D space using some fairly elementary techniques and formulae

We go further, and send the computationally-intense calculations to an FPGA board for execution, and then read them back into the host program for optimum performance

read more on this project here

Alt Text

set-up environment

set access rights

chmod a+x run.sh
chmod a+x dependencies.sh

virtual environment

python3 -m venv .
source ./bin/activate

install dependecies

./dependencies.sh

tests on host

./run.sh

this directory acts as a sort of intermediate representation between the C++ solution to the nbp and the lower level HLS solution

it also includes a test harness - ideal inputs and outputs


run accelerator on Z2

follow the accelerator directory

on low spec machines - this system will at the least 4X the native python implementation


additions

check out the Python subdirectory for some interesting 3d visualisations!

About

FPGA accelerated physics in 2+1D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published