multirank: set default nranks to 1 if not specified
This commit is contained in:
parent
f3d403f1e0
commit
f5c7b61704
|
@ -6,14 +6,14 @@ bankbits_max = 3
|
||||||
|
|
||||||
|
|
||||||
class PhySettings:
|
class PhySettings:
|
||||||
def __init__(self, memtype, nranks, dfi_databits,
|
def __init__(self, memtype, dfi_databits,
|
||||||
nphases,
|
nphases,
|
||||||
rdphase, wrphase,
|
rdphase, wrphase,
|
||||||
rdcmdphase, wrcmdphase,
|
rdcmdphase, wrcmdphase,
|
||||||
cl, read_latency, write_latency, cwl=None):
|
cl, read_latency, write_latency, nranks=1, cwl=None):
|
||||||
self.memtype = memtype
|
self.memtype = memtype
|
||||||
self.nranks = nranks
|
|
||||||
self.dfi_databits = dfi_databits
|
self.dfi_databits = dfi_databits
|
||||||
|
self.nranks = nranks
|
||||||
|
|
||||||
self.nphases = nphases
|
self.nphases = nphases
|
||||||
self.rdphase = rdphase
|
self.rdphase = rdphase
|
||||||
|
|
Loading…
Reference in New Issue