(10-23-2016, 05:06 PM)LambdaPI Wrote: Can you modify your alu so it is able to do most of the logic gates like and, ir, etx
I could, but that would require more than a 2 bit op code. My idea is that if you wanted to perform those functions you could use the comparator and the NOT A functions.
For example, a NAND gate would be A=B, move result to A, NOTA. And OR could be it accepting any comparator output, but you would have to monitor the normal output.
But if that is required, I would add those functions, it will become slower, though.
(10-23-2016, 08:50 PM)LambdaPI Wrote: What would be optimal is you making a full RCA ALU for your trial. Any cpu you want to make, you can make after you finish your trial.
So, I should or shouldn't add the other logical functions?
Well, what would be best is an RCA ALU with the functions !A, !B, OR, and FC. Using those functions you can make any gate.
In your trial you should be able to know how to create those gates with the functions.
(10-23-2016, 09:45 PM)LambdaPI Wrote: Well, what would be best is an RCA ALU with the functions !A, !B, OR, and FC. Using those functions you can make any gate.
In your trial you should be able to know how to create those gates with the functions.
I can easily implement those. Just one thing, I have never heard of this "FC" function. I would gladly implement it, if I knew what it meant.