periphery: make external interrupts a UInt rather than a Vec[Bool]

This commit is contained in:
Henry Cook committed 2017-02-23 18:27:44 -08:00
1 parent c01aec9259
commit 6c3011d513
2 files changed
+5 -4

No files matched your search

+1 -2
View File
@@ -15,8 +15,7 @@ class TestHarness()(implicit p: Parameters) extends Module {
}
val dut = Module(LazyModule(new ExampleRocketTop).module)
for (int <- dut.io.interrupts(0))
int := Bool(false)
dut.io.interrupts := UInt(0)
val channels = p(coreplex.BankedL2Config).nMemoryChannels
if (channels > 0) Module(LazyModule(new SimAXIMem(channels)).module).io.axi4 <> dut.io.mem_axi4