allows to use probe values as test case outputs; closes #562

This commit is contained in:
hneemann 2020-11-19 20:48:19 +01:00
parent 57deba5465
commit 3bee073886
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ HEAD, planned as v0.26
- Added a "Not Connected" component to output a constant high-z value.
- If a high-z value is connected to a logic gate input, the read value
is undefined.
- It is now possible to use a probe as output in a test case.
- Fixed a bug in the Demuxer Verilog template that causes problems
when using multiple demuxers in the same circuit.
- Generic circuits are easier to debug: It is possible now to create

View File

@ -56,7 +56,7 @@ public class Probe implements Element {
@Override
public void registerNodes(Model model) {
model.addSignal(new Signal(label, value).setShowInGraph(showInGraph).setFormat(format));
model.addOutput(new Signal(label, value).setShowInGraph(showInGraph).setFormat(format));
model.registerGlobalValue(label, value);
}