stanford-ppl / spatial

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

Use protobuf serialization between chisel3 and firrtl #175

Open mattfel1 opened 5 years ago

mattfel1 commented 5 years ago

Some big apps get random firrtl errors, so it seems the best way to bypass this is to use protobuf inbetween chisel and firrtl to avoid the firrtl parser. This should also speed up compile times.

https://stackoverflow.com/questions/54028416/compiling-modules-separately-and-linking/54030669#54030669

mattfel1 commented 5 years ago

Implemented on issue175_protobuf branch but these two things (protobuf compilation vs regular firrtl compilation) should stay isolated until we are confident the chisel3 3.2 snapshots are stable or there is an immutable release. Also hoping that firrtl exec will not need separate installation for protobuf compilation to work.