summaryrefslogtreecommitdiff
path: root/examples/AND_OR.xml
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-06-25 20:30:58 +0930
committerDaniel Jones <admin@danieljon.es>2020-06-25 20:30:58 +0930
commita07c85b04f8bccd924dc020dcb9c6a32d2907e27 (patch)
treeadd31aa9bdc2a4eae84654fba59431f29b8829d3 /examples/AND_OR.xml
parente94e0492774134f171cded42f03ebe4e892122b0 (diff)
downloadfoxlogicgates-a07c85b04f8bccd924dc020dcb9c6a32d2907e27.tar.gz
foxlogicgates-a07c85b04f8bccd924dc020dcb9c6a32d2907e27.zip
added example XML files for some gate tests
Diffstat (limited to 'examples/AND_OR.xml')
-rw-r--r--examples/AND_OR.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/AND_OR.xml b/examples/AND_OR.xml
new file mode 100644
index 0000000..f278ac0
--- /dev/null
+++ b/examples/AND_OR.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
+<Meta>
+ <Info next_id="6" />
+</Meta>
+<Gates>
+ <Gate id="0" x="67" y="35" w="70" h="50" type="1" output_state="true">
+ <output_gate_id id="4" />
+ </Gate>
+ <Gate id="1" x="62" y="146" w="70" h="50" type="1" output_state="true">
+ <output_gate_id id="5" />
+ </Gate>
+ <Gate id="2" x="56" y="243" w="70" h="50" type="1" output_state="false">
+ <output_gate_id id="5" />
+ </Gate>
+ <Gate id="3" x="540" y="106" w="70" h="50" type="2" input1_id="4" output_state="true" />
+ <Gate id="4" x="380" y="106" w="70" h="50" type="3" input1_id="0" input2_id="5" output_state="true">
+ <output_gate_id id="3" />
+ </Gate>
+ <Gate id="5" x="199" y="178" w="70" h="50" type="4" input1_id="1" input2_id="2" output_state="true">
+ <output_gate_id id="4" />
+ </Gate>
+</Gates>