Hi i was trying to build my own version of And gate and compile it using javac but the it had a lot of errors like the import statement Hack.Gates.BuiltinGate not found, i thought since it was a .java source file we could compile it the regular way and i went to the hackPackageSource folder to check for the builtInGate directory but there is no such file in tech-opensource-2.5 which i downloaded. Please hep me out here and i want to know how can i build the three basic gate like And, OR and NOT like u did in java and then move on to HDL implementation. Thanks for the help
I can't help you with the Java, but you do understand that you don't need to do this? You can implement Not, And, and Or in HDL, deriving everything from Nand.