From 23855c78b2edb27b563db298a5891ba2c1a58dfd Mon Sep 17 00:00:00 2001 From: "helmut.neemann" Date: Mon, 30 May 2016 10:36:40 +0200 Subject: [PATCH] added an example --- .../sequential/multip_D_working_detail.dig | 821 ++++++++++++++++++ .../digital/integration/TestExamples.java | 2 +- 2 files changed, 822 insertions(+), 1 deletion(-) create mode 100644 src/main/dig/sequential/multip_D_working_detail.dig diff --git a/src/main/dig/sequential/multip_D_working_detail.dig b/src/main/dig/sequential/multip_D_working_detail.dig new file mode 100644 index 000000000..61130657a --- /dev/null +++ b/src/main/dig/sequential/multip_D_working_detail.dig @@ -0,0 +1,821 @@ + + + 1 + + + NOr + + + 0 + + + NOr + + + 0 + + + In + + + Label + D + + + + 0 + + + And + + + 0 + + + And + + + 0 + + + Not + + + rotation + + + + + 3 + + + Out + + + rotation + + + + + 1 + + + NOr + + + 0 + + + NOr + + + 0 + + + And + + + 0 + + + And + + + 0 + + + In + + + Label + C + + + + 0 + + + Not + + + rotation + + + + + 1 + + + NOr + + + 0 + + + NOr + + + 0 + + + And + + + 0 + + + And + + + 0 + + + Not + + + rotation + + + + + 3 + + + NOr + + + 0 + + + NOr + + + 0 + + + And + + + 0 + + + And + + + 0 + + + Not + + + rotation + + + + + 1 + + + NOr + + + 0 + + + NOr + + + 0 + + + And + + + 0 + + + And + + + 0 + + + Not + + + rotation + + + + + 3 + + + NOr + + + 0 + + + NOr + + + 0 + + + And + + + 0 + + + And + + + 0 + + + Not + + + rotation + + + + + 1 + + + Out + + + rotation + + + + + 1 + + + Out + + + rotation + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/test/java/de/neemann/digital/integration/TestExamples.java b/src/test/java/de/neemann/digital/integration/TestExamples.java index 583ba78cd..18f157348 100644 --- a/src/test/java/de/neemann/digital/integration/TestExamples.java +++ b/src/test/java/de/neemann/digital/integration/TestExamples.java @@ -22,7 +22,7 @@ public class TestExamples extends TestCase { } public void testSequential() throws Exception { - assertEquals(20, scan(new File(examples, "sequential"))); + assertEquals(21, scan(new File(examples, "sequential"))); } public void testProcessor() throws Exception {