How to build a chip in java and compile it

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to build a chip in java and compile it

catvsrat
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
Reply | Threaded
Open this post in threaded view
|

Re: How to build a chip in java and compile it

cadet1620
Administrator
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.

--Mark