chipsalliance/chisel

Incorrect Error Message in Data.connect(...)

Aperta

#1170 aperta il 3 set 2019

 (9 commenti) (0 reazioni) (0 assegnatari)Scala (651 fork)batch import
good first issue

Metriche repository

Star
 (4658 stelle)
Metriche merge PR
 (Merge medio 3g 21h) (16 PR mergiate in 30 g)

Descrizione

In https://github.com/freechipsproject/chisel3/blob/master/chiselFrontend/src/main/scala/chisel3/Data.scala#L377:

      requireIsHardware(this, "data to be connected")
      requireIsHardware(that, "data to be connected")

The first error message is incorrect. It should be something like left hand side of the connection.

Guida contributor