chipsalliance/chisel

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

オープン

#1,170 opened on 2019/09/03

 (9 件のコメント) (0 件のリアクション) (0 人の担当者)Scala (651 件のフォーク)batch import
good first issue

Repository metrics

Stars
 (4,658 個のスター)
PR merge metrics
 (平均マージ 3d 21h) (30d で 16 merged PRs)

説明

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.

コントリビューターガイド