-class VC707MIGIODDR(depthGB : Integer) extends GenericParameterizedBundle(depthGB) {
- require((depthGB==1) || (depthGB==4),"VC707MIGIODDR supports 1GB and 4GB depth configuraton only")
- val ddr3_addr = Bits(OUTPUT,if(depthGB==1) 14 else 16)
+class VC707MIGIODDR(depth : BigInt) extends GenericParameterizedBundle(depth) {
+ require((depth==0x40000000L) || (depth==0x100000000L),"VC707MIGIODDR supports 1GB and 4GB depth configuraton only")
+ val ddr3_addr = Bits(OUTPUT,if(depth==0x40000000L) 14 else 16)