EPFL-LAP / dynamatic

DHLS (Dynamic High-Level Synthesis) compiler based on MLIR
Other
49 stars 14 forks source link

[HandshakeSimulator] Draft attempt inspired with the example #104

Closed Liudmila-Paskonova closed 1 week ago

Liudmila-Paskonova commented 1 month ago

Class Circuit represents the circuit and includes the set of components and the set of channels (with corresp. wires). The channels are stored in the memory -> all the components have smart pointers, pointing on it, that's why, if the particular component updates some value, other components which are connected to the same channel, can see it, and additional memory isn't wasted. Everything is built around abstract classes - they help create containers that can store whatever we want.

Not implemented yet:

  1. Multi comps inside the arch (e g muli) - working on it
  2. inputs/outputs for the circuit - forgot about it:))
  3. Clock changes, now exec's modelling only reset
  4. Writer/ Reader
lucas-rami commented 1 week ago

Superseeded by #127.