chipsalliance/chisel

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

開放

#1,170 建立於 2019年9月3日

 (9 則留言) (0 個反應) (0 位負責人)Scala (651 個分叉)batch import
good first issue

倉庫指標

星標
 (4,658 顆星)
PR 合併指標
 (平均合併 3天 21小時) (30 天內合併 16 個 PR)

描述

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.

貢獻者指南