Changed to a Unix file structure

This commit is contained in:
2023-03-08 08:39:43 +02:00
parent bf424a2436
commit ec70594b6d
35 changed files with 33430 additions and 33430 deletions
+10 -10
View File
@@ -1,11 +1,11 @@
from Source.Pre_Built_Gates.Not import Not
from Source.Pre_Built_Gates.Power import Power
class Not16:
def __init__(self,a) -> None:
self.a=a
self.out=[Power(False) for _ in range(16)]
self()
def __call__(self) -> None:
for i in range(16):
from Source.Pre_Built_Gates.Not import Not
from Source.Pre_Built_Gates.Power import Power
class Not16:
def __init__(self,a) -> None:
self.a=a
self.out=[Power(False) for _ in range(16)]
self()
def __call__(self) -> None:
for i in range(16):
self.out[i].out=Not(self.a.out[i]).out