File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 171171 " }) { c =>\n " ,
172172 " c.io.in(0).valid.poke(false.B)\n " ,
173173 " c.io.in(1).valid.poke(false.B)\n " ,
174+ " c.io.out.ready.poke(false.B)\n " ,
174175 " println(s\" Start:\" )\n " ,
175176 " println(s\"\\ tin(0).ready=${c.io.in(0).ready.peek().litValue}, in(1).ready=${c.io.in(1).ready.peek().litValue}\" )\n " ,
176177 " println(s\"\\ tout.valid=${c.io.out.valid.peek().litValue}, out.bits=${c.io.out.bits.peek().litValue}\" )\n " ,
177178 " c.io.in(1).valid.poke(true.B) // Valid input 1\n " ,
178179 " c.io.in(1).bits.poke(42.U)\n " ,
180+ " c.io.out.ready.poke(true.B)\n " ,
179181 " // What do you think the output will be?\n " ,
180182 " println(s\" valid input 1:\" )\n " ,
181183 " println(s\"\\ tin(0).ready=${c.io.in(0).ready.peek().litValue}, in(1).ready=${c.io.in(1).ready.peek().litValue}\" )\n " ,
509511 },
510512 "nbformat" : 4 ,
511513 "nbformat_minor" : 1
512- }
514+ }
You can’t perform that action at this time.
0 commit comments