stanford-ppl / spatial-lang

Spatial: "Specify Parameterized Accelerators Through Inordinately Abstract Language"
MIT License
99 stars 12 forks source link

Mux between memories #237

Open mattfel1 opened 6 years ago

mattfel1 commented 6 years ago

Example:

From Sort_Radix, this can be merged to be a single store node

      if (valid_buffer == a) {
        // println("dumping buf a")
        data_dram store a_sram
      } else {
        // println("dumping buf b")
        data_dram store b_sram
      }