@@ -44,7 +44,8 @@ object PerformanceTest extends App {
44
44
/**
45
45
* This is the interface directly to the network without an NI, or a CPU interface.
46
46
*/
47
- RawTester .test(new Network (n, UInt (32 .W )), Seq (VerilatorBackendAnnotation , chiseltest.internal.NoThreadingAnnotation )
47
+ // RawTester.test(new Network(n, UInt(32.W)), Seq(VerilatorBackendAnnotation, chiseltest.internal.NoThreadingAnnotation)
48
+ RawTester .test(new Network (n, UInt (32 .W ))
48
49
) { d =>
49
50
50
51
def runIt (heatUp : Int , count : Int , drain : Int ) = {
@@ -124,8 +125,8 @@ object PerformanceTest extends App {
124
125
125
126
126
127
// Maybe this should go into its own class
127
- RawTester .test(new S4NoC (Config (n * n, MemType (256 ), MemType (26 ), MemType (256 ), 32 )), Seq (VerilatorBackendAnnotation ,
128
- chiseltest.internal. NoThreadingAnnotation )) { d =>
128
+ // RawTester.test(new S4NoC(Config(n * n, MemType(256), MemType(26), MemType(256), 32)), Seq(VerilatorBackendAnnotation,
129
+ RawTester .test( new S4NoC ( Config (n * n, MemType ( 256 ), MemType ( 26 ), MemType ( 256 ), 32 ) )) { d =>
129
130
130
131
var countCycles = 0
131
132
@@ -166,7 +167,7 @@ object PerformanceTest extends App {
166
167
// receive
167
168
ni.rx.ready.poke(true .B )
168
169
if (ni.rx.valid.peekBoolean()) {
169
- val recv = ni.rx.bits.data.peek.litValue .toInt
170
+ val recv = ni.rx.bits.data.peekInt() .toInt
170
171
val to = (recv >> 16 ) & 0x0ff
171
172
assert(to == core, s " $to should be $core" )
172
173
assert(t.check.contains((core, recv)), " Value out of thin air" )
0 commit comments