stanford-ppl / spatial-lang

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

Implement Spatial ILA for On-Board Waveform Debugging #253

Open mattfel1 opened 6 years ago

mattfel1 commented 6 years ago

We already made a lot of progress on getting this functionality through the connectDbgSig in MAGCore, we just need another kind of debug port that logs values to an sram for each cycle, probably with a start and end trigger. This will also require a new axi interface for interrogating each value in the sram after execution. This seems like a project that would have a lot of value for us and spatial users and has a relatively sealed scope that would be a good fit for a new student who is interested in learning about fringe, verilog, and the overall ip architecture

raghup17 commented 6 years ago

Is this tracking our own version of ILA, or some ability to automatically insert probes using target-specific IPs?

mattfel1 commented 6 years ago

I meant for it to track our own version of ILA

raghup17 commented 6 years ago

It might be worth spending some time to define our own target-agnostic API to enable viewing signals from the board to host. We can then choose to implement the API using either our own modules or using ILA cores from vendors.