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.

贡献者指南