diff --git a/src/test/java/de/neemann/digital/integration/TestExamples.java b/src/test/java/de/neemann/digital/integration/TestExamples.java index 7d143dc43..6bd327897 100644 --- a/src/test/java/de/neemann/digital/integration/TestExamples.java +++ b/src/test/java/de/neemann/digital/integration/TestExamples.java @@ -39,8 +39,8 @@ public class TestExamples extends TestCase { */ public void testTestExamples() throws Exception { File examples = new File(Resources.getRoot(), "/dig/test"); - assertEquals(81, new FileScanner(this::check).scan(examples)); - assertEquals(75, testCasesInFiles); + assertEquals(80, new FileScanner(this::check).scan(examples)); + assertEquals(74, testCasesInFiles); } diff --git a/src/test/resources/dig/test/arith/barrelShifterTest.dig b/src/test/resources/dig/test/arith/barrelShifterTest.dig deleted file mode 100644 index 84ad905bd..000000000 --- a/src/test/resources/dig/test/arith/barrelShifterTest.dig +++ /dev/null @@ -1,731 +0,0 @@ - - - 1 - - - Description - D flip flop based on a SRAM cell. - - - - - BarrelShifter - - - Label - U_N_L - - - Bits - 6 - - - - - - In - - - Label - Data - - - Bits - 6 - - - InDefault - - - - - - - In - - - Label - Shift - - - Bits - 3 - - - InDefault - - - - - - - Out - - - Label - UNL - - - Bits - 6 - - - - - - Probe - - - Label - Data - - - intFormat - bin - - - - - - Probe - - - Label - UNL - - - intFormat - bin - - - - - - BarrelShifter - - - Label - U_R_L - - - datarotate - true - - - Bits - 6 - - - barrelShifterMode - rotate - - - - - - In - - - Label - Signed - - - InDefault - - - - - - - BarrelShifter - - - Signed - true - - - Label - S_R_L - - - datarotate - true - - - Bits - 6 - - - barrelShifterMode - rotate - - - barrelSigned - true - - - - - - Out - - - Label - URL - - - Bits - 6 - - - - - - Out - - - Label - SRL - - - Bits - 6 - - - - - - Splitter - - - Input Splitting - 3,1 - - - Output Splitting - 4 - - - - - - Testcase - - - Testdata - - Data Shift Signed UNL URL SNL SRL -12 0 0 12 12 12 12 -12 1 0 24 24 24 24 -12 2 0 48 48 48 48 -17 2 0 4 5 4 5 -12 3 0 32 33 32 33 -12 3 1 32 33 0 24 -12 7 1 0 24 6 6 - - - - - - - - Probe - - - Label - URL - - - intFormat - bin - - - - - - Probe - - - Label - SRL - - - intFormat - bin - - - - - - Neg - - - Bits - 4 - - - - - - Probe - - - Label - shift - - - - - - BarrelShifter - - - Signed - true - - - Label - S_N_R - - - datarotate - true - - - Bits - 6 - - - barrelSigned - true - - - - - - Out - - - Label - SNR - - - Bits - 6 - - - - - - Probe - - - Label - SNR - - - intFormat - bin - - - - - - BarrelShifter - - - Label - U_N_R - - - Bits - 6 - - - direction - right - - - - - - Out - - - Label - UNR - - - Bits - 6 - - - - - - Probe - - - Label - UNR - - - intFormat - bin - - - - - - BarrelShifter - - - Signed - true - - - Label - S_N_L - - - Bits - 6 - - - barrelSigned - true - - - - - - Out - - - Label - SNL - - - Bits - 6 - - - - - - Probe - - - Label - SNL - - - intFormat - bin - - - - - - BarrelShifter - - - Label - U_A_R - - - datarotate - true - - - Bits - 6 - - - barrelShifterMode - arithmetic - - - direction - right - - - - - - Out - - - Label - UAR - - - Bits - 6 - - - - - - Probe - - - Label - UAR - - - intFormat - bin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file