diff options
| author | Jiuyang Liu | 2021-11-14 04:29:00 +0800 |
|---|---|---|
| committer | Jiuyang Liu | 2021-11-14 04:29:00 +0800 |
| commit | d4aa92cef6b067ef6c1c37fc7fde467f0c815767 (patch) | |
| tree | 26808dee7a343d32e94e38365bde756e4d626b9b /src/main/scala | |
| parent | d77fcf0478047fb61521fbe4b4a5a59a64b8445d (diff) | |
add toBools to compatibility layer.
Diffstat (limited to 'src/main/scala')
| -rw-r--r-- | src/main/scala/chisel3/compatibility.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/scala/chisel3/compatibility.scala b/src/main/scala/chisel3/compatibility.scala index ffbb7e27..d1e7b4f1 100644 --- a/src/main/scala/chisel3/compatibility.scala +++ b/src/main/scala/chisel3/compatibility.scala @@ -637,6 +637,7 @@ package object Chisel { final def toUInt(implicit compileOptions: CompileOptions): UInt = a.do_asUInt(DeprecatedSourceInfo, compileOptions) + final def toBools(implicit compileOptions: CompileOptions): Seq[Bool] = a.do_asBools(DeprecatedSourceInfo, compileOptions) } } |
