[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [oc] C++ to HDLs? Thats fine for breakfast now give me a challenge for lunchtime
* Jim Dempsey <dempsey@northnet.net> [20011217 18:49]:
> void bitAdder(
> IN BOOL inputA,
> IN BOOL inputB,
> IN BOOL inputCarry,
> OUT BOOL outputX,
> OUT BOOL outputCarry)
> {
> outputX = inputA ^ inputB ^ inputCarry;
> outputCarry = (inputA & inputB) | ((inputA | inputB) & inputCarry);
> }
>
What is the advantage of this over just using a HDL?
-dave
--
David I. Lehn <dlehn@vt.edu> | http://www.lehn.org/~dlehn/
Computer Engineering Graduate @ Virginia Tech in sunny Blacksburg, VA
--
To unsubscribe from cores mailing list please visit http://www.opencores.org/mailinglists.shtml