----- Original Message -----
From: dan_fabrizio
Sent: 01/07/11 03:14 AM
To: TimingAnalyzer
Subject: Re: Constraints from python
Hi Dan,
clk.getEdgeList()[0]
definately returns an edge object, see attached.
Another qustions:
A bus has a rise time and a fall time, which draws nicely.
However, when you do Value->'Z' or 'Z'->Value the risetime and falltime are disobayed. I agree electrically this can often be different, but there appears to be no Toz and Toa, is this an oversight or am I driving it wrong?
See attached for an idea of the problem, you can see bus states overlap. (This one is a show stopper for me BTW)
Anyway,
Some more bugs to add to your list:
--
If the
td.setEndTime()
method sets a time less than the last edge time (or any other object methinks) then the display goes mad.
--
The location of constraints often overlap, I know you can use setOffsetY() to correct it, but it might be more sensible if there was a setLocation(ABOVE|BELOW) to help
sort them, rather than specifying a distance which might need to change depending on waveform size.
Perhaps take a leaf from WX, where you can give hints rather than explicits. It might even be possible to have them auto-arrange that way.
--
After you do addConstraint, the GUI has the graphical object in a selected state, this makes the Python CLI unresponsive until you do CTRL-C.
--
Multi-line text fails on bus values, "Row A\nCol B" results in " "
--
See the attached, it causes java to crash big time with some overlapping error, some sort of race condition.
I'll try adding time.sleep() delays to workround.
Also some more enhancement suggestions:
--
Add a measurement object, i.e. like a constraint, but instead just a graphical <---name/time---> attached to two edges that follows it but does not drive it.
--
The use of text to define electrical bus states is IMO not a good idea, you should have a bus state method, e.g. Driven, Undriven, HiZ, etc. Otherwise some text values are impossible.
----- Original Message -----
----- Original Message -----
From: Dan Fabrizio
Sent: 05/07/11 05:32 AM