multirank: set default nranks to 1 if not specified

This commit is contained in:
Florent Kermarrec 2018-09-10 15:16:46 +02:00
parent f3d403f1e0
commit f5c7b61704
1 changed files with 3 additions and 3 deletions

View File

@ -6,14 +6,14 @@ bankbits_max = 3
class PhySettings:
def __init__(self, memtype, nranks, dfi_databits,
def __init__(self, memtype, dfi_databits,
nphases,
rdphase, wrphase,
rdcmdphase, wrcmdphase,
cl, read_latency, write_latency, cwl=None):
cl, read_latency, write_latency, nranks=1, cwl=None):
self.memtype = memtype
self.nranks = nranks
self.dfi_databits = dfi_databits
self.nranks = nranks
self.nphases = nphases
self.rdphase = rdphase