spatial-lang
spatial-lang copied to clipboard
Spatial: "Specify Parameterized Accelerators Through Inordinately Abstract Language"
Seems like the IIof the second FSM in BasicFSM is not capturing the fact that the next state is dependent on the operations that happen inside of the fsm body....
I am creating the pull request for the develop branch just to check the mergeability. I think these changes will be pulled into a new branch.
It would be nice to have a function similar to numpy.fromfile, e.g. ``` ReadTensor(file_path, datatype, dims) ``` Where the file is in binary format, e.g. 4 byte float, 1 byte...
In SimpleTileLoadStore, I had the following: `Accel{` ` val b1 = SRAM` ` Foreach(N by 1 par 2) { i =>` ` b1(i) = // something` ` }` `}` `...
Right now, all function in a Spatial program are "meta-programming" functions, meaning they get inlined before the construction of the IR. We have noticed that for complex programs, the compilation...
The output of SingleFifoLoad is the sum of all elements in the last input tile. The app passes in VCS simulation. However, on the Zynq, I consistently get the sum...
Shouldn't this code throw an exception? It is making it through codegen but the sram has one bank and two writers that happen at the same time. ``` @virtualize def...
``` val i = Reg[Int] if (i == 0) ??? [error] /home/atoll/spatial-lang/apps/src/ParticleFilter.scala:22: Cannot find way to lift type Int to type C. Try adding an explicit cast using .to[C]. [error]...