From 85c3009ad0729659dc869d0d31d30dea84c15787 Mon Sep 17 00:00:00 2001 From: hneemann Date: Mon, 19 Dec 2016 18:44:58 +0100 Subject: [PATCH] simplified the writable flags --- src/main/dig/processor/FlagsRW.dig | 464 ++++++++++----------------- src/main/dig/processor/Processor.dig | 139 ++------ 2 files changed, 182 insertions(+), 421 deletions(-) diff --git a/src/main/dig/processor/FlagsRW.dig b/src/main/dig/processor/FlagsRW.dig index 445e5822a..5180dbb56 100644 --- a/src/main/dig/processor/FlagsRW.dig +++ b/src/main/dig/processor/FlagsRW.dig @@ -23,7 +23,7 @@ werden. Die Flags finden sich an IO Adresse 0. Zi - + Out @@ -37,21 +37,7 @@ werden. Die Flags finden sich an IO Adresse 0. Zo - - - - D_FF - - - valueIsProbe - true - - - Label - Carry - - - + In @@ -65,7 +51,7 @@ werden. Die Flags finden sich an IO Adresse 0. Ni - + Out @@ -79,21 +65,7 @@ werden. Die Flags finden sich an IO Adresse 0. No - - - - D_FF - - - valueIsProbe - true - - - Label - Zero - - - + In @@ -107,7 +79,7 @@ werden. Die Flags finden sich an IO Adresse 0. Ci - + Out @@ -121,21 +93,7 @@ werden. Die Flags finden sich an IO Adresse 0. Co - - - - D_FF - - - valueIsProbe - true - - - Label - Neg - - - + In @@ -149,7 +107,7 @@ werden. Die Flags finden sich an IO Adresse 0. C - + In @@ -167,12 +125,7 @@ gespeichert. store - - - - And - - + Splitter @@ -186,21 +139,7 @@ gespeichert. 16 - - - - Const - - - Value - 0 - - - Bits - 13 - - - + In @@ -218,21 +157,21 @@ gespeichert. 16 - + Driver + + rotation + + Bits 16 - - flipSelPos - true - - + Comparator @@ -242,7 +181,7 @@ gespeichert. 16 - + Const @@ -256,12 +195,12 @@ gespeichert. 16 - + And - + In @@ -275,7 +214,7 @@ gespeichert. IOR - + In @@ -289,32 +228,27 @@ gespeichert. IOW - + And - + Or - + Multiplexer - - - - - Multiplexer - - - - - Multiplexer - - + + + Bits + 16 + + + Splitter @@ -332,7 +266,7 @@ gespeichert. 1,1,1,13 - + In @@ -350,289 +284,217 @@ gespeichert. true - + + + + Ground + + + Bits + 13 + + + + + + Register + + + Bits + 16 + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + - + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + \ No newline at end of file diff --git a/src/main/dig/processor/Processor.dig b/src/main/dig/processor/Processor.dig index 238ae1937..0734f4f4f 100644 --- a/src/main/dig/processor/Processor.dig +++ b/src/main/dig/processor/Processor.dig @@ -23,7 +23,7 @@ Single-Cycle CPU. Register.dig - + Multiplexer @@ -165,114 +165,13 @@ Single-Cycle CPU. Data - - 105 - 32768 - 4960 - 33168 - 4944 - 5264 - 5251 - 5157 - 5178 - 8417 - 5372 - 19695 - 28245 - 6177 - 15407 - 26105 - 28190 - 517 - 534 - 5168 - 5152 - 5280 - 32819 - 26816 - 31360 - 15488 - 24069 - 15474 - 24069 - 15475 - 24067 - 28163 - 15475 - 25601 - 5283 - 29722 - 6145 - 6161 - 6177 - 15652 - 26092 - 6193 - 15668 - 26088 - 12433 - 65535 - 28681 - 582 - 613 - 596 - 31744 - 28637 - 5232 - 8241 - 8452 - 32856 - 26800 - 6177 - 6145 - 32856 - 26800 - 6193 - 6404 - 32856 - 26800 - 6193 - 6404 - 32856 - 26800 - 8225 - 8193 - 32856 - 26800 - 8225 - 8193 - 32856 - 26800 - 8241 - 8452 - 32856 - 26800 - 8241 - 8452 - 32856 - 26800 - 6177 - 6193 - 6405 - 27148 - 15652 - 25094 - 15668 - 25092 - 31360 - 15488 - 24065 - 6257 - 27147 - 579 - 14148 - 1090 - 1094 - 29768 - 20222 - 6369 - 27151 - + 8000,1360,8190,1350,1490,1483,1425,143a,20e1,14fc,4cef,6e55,1821,3c2f,65f9,6e1e,205, +216,1430,1420,14a0,8033,68c0,7a80,3c80,5e05,3c72,5e05,3c73,5e03,6e03,3c73,6401,14a3, +741a,1801,1811,1821,3d24,65ec,1831,3d34,65e8,3091,ffff,7009,246,265,254,7c00,6fdd, +1470,2031,2104,8058,68b0,1821,1801,8058,68b0,1831,1904,8058,68b0,1831,1904,8058,68b0, +2021,2001,8058,68b0,2021,2001,8058,68b0,2031,2104,8058,68b0,2031,2104,8058,68b0,1821, +1831,1905,6a0c,3d24,6206,3d34,6204,7a80,3c80,5e01,1871,6a0b,243,3744,442,446,7448, +4efe,18e1,6a0f lastDataFile @@ -601,7 +500,7 @@ Single-Cycle CPU. WE - + Tunnel @@ -791,7 +690,7 @@ Single-Cycle CPU. C - + Tunnel @@ -928,7 +827,7 @@ Single-Cycle CPU. - + @@ -971,8 +870,8 @@ Single-Cycle CPU. - - + + @@ -999,7 +898,7 @@ Single-Cycle CPU. - + @@ -1007,8 +906,8 @@ Single-Cycle CPU. - - + + @@ -1096,7 +995,7 @@ Single-Cycle CPU. - + @@ -1119,7 +1018,7 @@ Single-Cycle CPU. - + @@ -1132,7 +1031,7 @@ Single-Cycle CPU. - +