Skip to content

Commit 27198b3

Browse files
authored
[test] Revert to original RecordSpec, NFC (#4838)
Revert a small change in dd04d99 which was done to workaround CIRCT producing width warnings with Verilator. This will be fixed in CIRCT 1.111.0. Signed-off-by: Schuyler Eldridge <[email protected]>
1 parent 5415546 commit 27198b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/scala-2/chiselTests/RecordSpec.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ import scala.collection.immutable.{ListMap, SeqMap, VectorMap}
1616

1717
object RecordSpec {
1818
class MyBundle extends Bundle {
19-
val foo = UInt(16.W)
20-
val bar = UInt(16.W)
19+
val foo = UInt(32.W)
20+
val bar = UInt(32.W)
2121
}
2222
// Useful for constructing types from CustomBundle
2323
// This is a def because each call to this needs to return a new instance
24-
def fooBarType: CustomBundle = new CustomBundle("foo" -> UInt(16.W), "bar" -> UInt(16.W))
24+
def fooBarType: CustomBundle = new CustomBundle("foo" -> UInt(32.W), "bar" -> UInt(32.W))
2525

2626
class MyModule(output: => Record, input: => Record) extends Module {
2727
val io = IO(new Bundle {

0 commit comments

Comments
 (0)