stanford-ppl / spatial

Spatial: "Specify Parameterized Accelerators Through Inordinately Abstract Language"
https://spatial.stanford.edu
MIT License
271 stars 33 forks source link

Port FrameIn/Out to cpp backend #289

Open mattfel1 opened 4 years ago

mattfel1 commented 4 years ago

Currently only works for the rogue backend (i.e. KCU1500, Alveo*). It would be nice to have this in cpp so that we can use it for simulation in all apps that are Stream based, rather than 1) simulating a stream interface using an in-Accel fifo or 2) use a StreamIn/Out directly and then have no good way of piping data through the streams in simulation. Alternatively, we can just figure out a way to handle StreamIn/Outs in cpp simulation but the FrameIn/Out gives us a nice solution to the amount of data going in and out for the simulation world already.