Hi to everyone. Iwant help to working out a problem who i have. I desing a parallel full adder scematic in program C, and i have that problem. If my carry (C0 Cin) is '1' the addition is OK, but if my carry (C0 Cin) is 'o', the addition is wrong because i have wrong childe. Thanks for patient. you want in with the code?
I desing a parallel full adder scematic in program C, and i have that problem.
That problem would appear to be that you're using entirely the wrong tool for the job. C is a programming language, not a design tool for schematics of logic circuits. And even if C were the right language, Keil C isn't really the right implementation for exploring stuff on your desk.
Actually, there are HDLs (Hardware Description/Design Languages) based on 'C' - and with names confusingly similar to 'C' that might lead the unwary astray into thinking that 'C' is generically an HDL...
eg, en.wikipedia.org/.../System_C