Add output ports explicitly to the STG generated from circuits
Bug #1338529 reported by
Danil Sokolov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Workcraft |
Fix Committed
|
High
|
Danil Sokolov |
Bug Description
When an STG is generated from a circuit its output ports are not explicitly represented. Instead the driver gate of the output port is used.
This causes inconsistency of set/reset functions for input ports (which are based on output port names) and their STG implementation (which is based on driver gates elementary cycles).
This should be corrected by explicitly representing output ports in a generated STG.
Related branches
lp:~danilovesky/workcraft/trunk-bug-1338529
- Danil Sokolov: Approve
-
Diff: 190 lines (+50/-52)3 files modifiedCircuitPlugin/src/org/workcraft/plugins/circuit/FunctionContact.java (+2/-3)
CircuitPlugin/src/org/workcraft/plugins/circuit/VisualContact.java (+5/-5)
CircuitPlugin/src/org/workcraft/plugins/circuit/tools/STGGenerator.java (+43/-44)
Changed in workcraft: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.