From c9b8db5dc9d8dcba54d3ee7250ee44c6f50feb62 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 21 Aug 2018 17:28:42 +0800 Subject: [PATCH] i think there's a missing "self" in the params --- litedram/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litedram/common.py b/litedram/common.py index 9a4ed42..65218b7 100644 --- a/litedram/common.py +++ b/litedram/common.py @@ -26,7 +26,7 @@ class PhySettings: self.cwl = cwl # Optional DDR3 electrical settings - def add_electrical_settings(rtt_nom, rtt_wr, ron): + def add_electrical_settings(self, rtt_nom, rtt_wr, ron): assert self.memtype == "DDR3" self.rtt_nom = rtt_nom # Non-Writes on-die termination impedance self.rtt_wr = rtt_wr # Writes on-die termination impedance