1
0

get rid of Vec.fill in IOs

This commit is contained in:
Howard Mao
2015-09-22 10:30:09 -07:00
parent 64ab45e2e4
commit ee65f6a84d
2 changed files with 8 additions and 8 deletions

View File

@ -58,7 +58,7 @@ class SMIMem(val dataWidth: Int, val memDepth: Int) extends SMIPeripheral {
class SMIArbiter(val n: Int, val dataWidth: Int, val addrWidth: Int)
extends Module {
val io = new Bundle {
val in = Vec.fill(n) { new SMIIO(dataWidth, addrWidth) }.flip
val in = Vec(new SMIIO(dataWidth, addrWidth), n).flip
val out = new SMIIO(dataWidth, addrWidth)
}