diff --git a/src/main/dig/lib/74xx/memory/74189.dig b/src/main/dig/lib/74xx/memory/74189.dig new file mode 100644 index 000000000..3a14187e1 --- /dev/null +++ b/src/main/dig/lib/74xx/memory/74189.dig @@ -0,0 +1,560 @@ + + + 1 + + + shapeType + DIL + + + pinCount + 16 + + + Description + 64-Bit Random Access Memory with 3-STATE Outputs + + + lockedMode + true + + + Width + 5 + + + + + Splitter + + + splitterSpreading + 2 + + + Input Splitting + 1*4 + + + Output Splitting + 4 + + + + + + In + + + Label + A0 + + + pinNumber + 1 + + + + + + In + + + Label + A1 + + + pinNumber + 15 + + + + + + In + + + Label + A2 + + + pinNumber + 14 + + + + + + In + + + Label + A3 + + + pinNumber + 13 + + + + + + RAMDualPort + + + AddrBits + 4 + + + Bits + 4 + + + + + + Splitter + + + splitterSpreading + 2 + + + Input Splitting + 1*4 + + + Output Splitting + 4 + + + + + + In + + + Label + D0 + + + pinNumber + 4 + + + + + + In + + + Label + D1 + + + pinNumber + 6 + + + + + + In + + + Label + D2 + + + pinNumber + 10 + + + + + + In + + + Label + D3 + + + pinNumber + 12 + + + + + + Splitter + + + splitterSpreading + 2 + + + Input Splitting + 4 + + + Output Splitting + 1*4 + + + + + + Out + + + Label + Q0 + + + pinNumber + 5 + + + + + + Out + + + Label + Q1 + + + pinNumber + 7 + + + + + + Out + + + Label + Q2 + + + pinNumber + 9 + + + + + + Out + + + Label + Q3 + + + pinNumber + 11 + + + + + + In + + + Label + ~CS + + + pinNumber + 2 + + + InDefault + + + + + + + In + + + Label + ~WE + + + pinNumber + 3 + + + InDefault + + + + + + + And + + + inverterConfig + + In_2 + + + + + + + And + + + inverterConfig + + In_1 + In_2 + + + + + + + PowerSupply + + + + + In + + + Label + VCC + + + pinNumber + 16 + + + InDefault + + + + + + + In + + + Label + GND + + + pinNumber + 8 + + + + + + Driver + + + Bits + 4 + + + flipSelPos + true + + + + + + Not + + + Bits + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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 2ba6b0e51..f4b1993e9 100644 --- a/src/test/java/de/neemann/digital/integration/TestExamples.java +++ b/src/test/java/de/neemann/digital/integration/TestExamples.java @@ -33,7 +33,7 @@ public class TestExamples extends TestCase { public void testDistExamples() throws Exception { File examples = new File(Resources.getRoot().getParentFile().getParentFile(), "/main/dig"); testCasesInFiles = 0; - assertEquals(245, new FileScanner(TestExamples::check).scan(examples)); + assertEquals(246, new FileScanner(TestExamples::check).scan(examples)); assertEquals(165, testCasesInFiles); }