We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi @schoeberl,
In arbitrateSimp, regEmpty is updated to true when (out.ready), but what if out.ready is true when regEmpty is true?
arbitrateSimp
regEmpty
out.ready
The following test fails while I think it should pass:
class ArbiterTester extends AnyFlatSpec with ChiselScalatestTester { "arbiter" should "work" in { test(new ArbiterSimpleTree(2, UInt(4.W))) { dut => dut.io.in(0).valid.poke(true) dut.io.in(0).bits.poke(14.U) dut.io.in(1).valid.poke(false) dut.io.out.ready.poke(false) dut.clock.step() dut.io.out.ready.poke(true) dut.clock.step() dut.io.out.valid.expect(true) dut.io.out.bits.expect(14.U) } } }
Please help advice, thanks!
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Hi @schoeberl,
In
arbitrateSimp
,regEmpty
is updated to true when (out.ready), but what ifout.ready
is true whenregEmpty
is true?The following test fails while I think it should pass:
Please help advice, thanks!
The text was updated successfully, but these errors were encountered: