mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-12 06:15:32 -04:00
allows to use probe values as test case outputs; closes #562
This commit is contained in:
parent
57deba5465
commit
3bee073886
@ -8,6 +8,7 @@ HEAD, planned as v0.26
|
|||||||
- Added a "Not Connected" component to output a constant high-z value.
|
- 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
|
- If a high-z value is connected to a logic gate input, the read value
|
||||||
is undefined.
|
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
|
- Fixed a bug in the Demuxer Verilog template that causes problems
|
||||||
when using multiple demuxers in the same circuit.
|
when using multiple demuxers in the same circuit.
|
||||||
- Generic circuits are easier to debug: It is possible now to create
|
- Generic circuits are easier to debug: It is possible now to create
|
||||||
|
@ -56,7 +56,7 @@ public class Probe implements Element {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void registerNodes(Model model) {
|
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);
|
model.registerGlobalValue(label, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user