Skip to content

ArdavanKhalij/Synchronous-Dataflow-or-SDF-Simulator

Repository files navigation

SDF Simulator

It receives some data and simulates the output of the Synchronous Dataflow(SDF). It also make the Gantt graph of each token and also a network graph for showing the SDF graph.
This is my Co-Design Project in university of Kashan.

Inputs

Output Matrix:
It is the outputs of each actor. (from,number of tokens,to)
Remmber the format should be exactly like this, otherwise it doesn't work.
Sample:
0,1,1
1,1,2
2,1,3
3,1,-2

-2 in here is the virtual ending node.

Input Matrix:
It is the inputs of each actor. (from,number of tokens,to)
Remmber the format should be exactly like this, otherwise it doesn't work.
Sample:
-1,1,0
0,1,1
1,1,2
2,1,3

-1 in here is the virtual starting node.

Matrix of edges:
A matrix of 0 and 1.
Remmber the format should be exactly like this, otherwise it doesn't work.
Sample:
0,1,0,0
0,0,1,0
0,0,0,1
0,0,0,0

Primary Tokens:
The primary tokens
Remmber the format should be exactly like this, otherwise it doesn't work.
Sample:
10
0,1,0,0
0,0,0,0
0,0,0,1
0,0,0,0

10 at the first is the primary tokens that are waiting to enter the SDF.

Processing Time of each node
Remmber the format should be exactly like this, otherwise it doesn't work.
Sample:
3,4,2,3

Number of clocks
Remmber the format should be exactly like this, otherwise it doesn't work.
Sample:
100

Frequency of each clock
Remmber the format should be exactly like this, otherwise it doesn't work.
Sample:
2
The Cython version is also available.

Github link: https://github.com/ArdavanKhalij/Synchronous-Dataflow-or-SDF-Simulator

Releases

No releases published

Packages

No packages published

Languages