mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-06 20:58:35 +01:00
First implementation of graph vehicles
This commit is contained in:
10
tools/vehicle_graph/tests/modules/inverter.vhgm
Normal file
10
tools/vehicle_graph/tests/modules/inverter.vhgm
Normal file
@@ -0,0 +1,10 @@
|
||||
// nested module of modules/latch.vhgm
|
||||
{
|
||||
"format": "maszyna-vehicle-graph", "version": 2,
|
||||
"nodes": [
|
||||
{ "id": "a", "type": "module.input", "params": { "type": "bool" } },
|
||||
{ "id": "not", "type": "logic.not" },
|
||||
{ "id": "q", "type": "module.output", "params": { "type": "bool" } }
|
||||
],
|
||||
"connections": [ { "from": "a.out", "to": "not.a" }, { "from": "not.q", "to": "q.in" } ]
|
||||
}
|
||||
Reference in New Issue
Block a user