stanford-ppl / spatial

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

Spatial Ctrl BBox + Pipe Inserter #294

Closed mattfel1 closed 4 years ago

mattfel1 commented 4 years ago

Something is messed up when the pipe inserter transforms a spatial ctrl bbox. Looks like the return of the bbox gets moved and there is an inserted pipe that comes after it.

mattfel1 commented 4 years ago

Turns out it is because I accidentally constructed the BlackboxImpl inside the accel, which is wrong. It will now throw an error if you try to do this.