Fixed wrong PRE -<> PREA test in TraceAnalyzer.

This commit is contained in:
Lukas Steiner
2019-08-18 19:56:17 +02:00
parent 4d936892d9
commit 8115aba222

View File

@@ -321,7 +321,7 @@ def timing_constraint(FirstPhase, SecondPhase):
FirstPhaseName = FirstPhase[0]
SecondPhaseName = SecondPhase[0]
if (FirstPhaseName == "PRE" or FirstPhaseName == "PRE_ALL"):
if ((FirstPhaseName == "PRE" or FirstPhaseName == "PRE_ALL") and SecondPhaseName != "PRE_ALL"):
return dramconfig.tRP
elif (FirstPhaseName == "ACT"):