> configure(npc)

ysyx_22040000 李心杨
 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux
  16:11:11  up 2 days 15:11,  2 users,  load average: 0.92, 0.92, 1.23
This commit is contained in:
tracer-ysyx 2024-01-10 16:11:11 +08:00 committed by xinyangli
parent 1a698bb4d2
commit 32fa4c916e
No known key found for this signature in database
2 changed files with 12 additions and 1 deletions

View file

@ -66,7 +66,7 @@ class KeyboardControllerSpec extends AnyFreeSpec with ChiselScalatestTester {
class SegSpec extends AnyFreeSpec with ChiselScalatestTester {
"try out vec" in {
test(new SegHandler) {c =>
test(new SegGenerator(8)) {c =>
c.io.keycode.bits.poke(0xAC)
c.clock.step(1)
println(s"out: ${c.io.segs(0).peek().litValue}")