stanford-ppl / spatial

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

IDEA cannot correctly give coding suggestion #284

Closed CristinaZN closed 4 years ago

CristinaZN commented 4 years ago

when i tried coding by myself, i think the IDEA give coding suggestion based on Scala rather than Spatial. For example, it gives some "errors" like "no implicits found for parameter bits$A$0:Bits[Int]" val argin1 = ArgIn[Int] (...) val argout1 = ArgOut[Int] (...) val io1 = HostIOInt

kelayamatoz commented 4 years ago

Hi @CristinaZN , thanks for trying out Spatial.

By saying IDEA, do you mean you are using Intellij? If so, here's a tutorial on how to develop Spatial in Intellij: https://kelayamatoz.github.io/Digital-Systems-Design-Lab/ide.html

CristinaZN commented 4 years ago

Great instruction! Many thanks~