[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
None in the expression of the logic.
However, you can insert C/C++ statements that can aid in simulation of the
circuit.
----- Original Message -----
From: "David I. Lehn" <dlehn@vt.edu>
To: <cores@opencores.org>
Sent: Monday, December 17, 2001 8:56 PM
Subject: 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
>
--
To unsubscribe from cores mailing list please visit http://www.opencores.org/mailinglists.shtml