Hi ,
Thank you for the replies. But i don't know much about programming so can anyone tell me how do i change the work function of block so that I can make it work.
Thanks
sandhya
---------- Forwarded message ----------
From: MHMND Herath <mhher@ou.ac.lk>
Date: Wed, Jan 1, 2014 at 11:10 PM
Subject: Re: [Discuss-gnuradio] Nand D flipflop in gnuradio
To: Sandhya G <sandhya4343@gmail.com>
NAND can implement easily by creating C++ block and take input as what you want.
if (in0[i]==1 && in1[i]==1)
{
out[i]=0;
}
else
{
out[i]=1;
}
see Block structure how C++ work function and coding two inputs in c++
Neil
---------- Original Message -----------
From: Sandhya G <sandhya4343@gmail.com>
To: "Discuss-gnuradio@gnu.org" <Discuss-gnuradio@gnu.org>
Sent: Mon, 30 Dec 2013 12:26:29 +0530
Subject: [Discuss-gnuradio] Nand D flipflop in gnuradio
> Hi,
>
> Out of curiosity for implementing the digital circuits in
> gnuradio, I tried implementing nand D flipflop in gnuradio but stuck
> with it because gnuradio can't support loops.
>
> I'm attaching grc file of what I tried. Can someone tell me how
From: MHMND Herath <mhher@ou.ac.lk>
Date: Wed, Jan 1, 2014 at 11:10 PM
Subject: Re: [Discuss-gnuradio] Nand D flipflop in gnuradio
To: Sandhya G <sandhya4343@gmail.com>
NAND can implement easily by creating C++ block and take input as what you want.
if (in0[i]==1 && in1[i]==1)
{
out[i]=0;
}
else
{
out[i]=1;
}
see Block structure how C++ work function and coding two inputs in c++
Neil
---------- Original Message -----------
From: Sandhya G <sandhya4343@gmail.com>
To: "Discuss-gnuradio@gnu.org" <Discuss-gnuradio@gnu.org>
Sent: Mon, 30 Dec 2013 12:26:29 +0530
Subject: [Discuss-gnuradio] Nand D flipflop in gnuradio
> Hi,
>
> Out of curiosity for implementing the digital circuits in
> gnuradio, I tried implementing nand D flipflop in gnuradio but stuck
>
> I'm attaching grc file of what I tried. Can someone tell me how
> to make it work.
>
> Thanks in advance
>
> sandhya
------- End of Original Message ------->
> Thanks in advance
>
> sandhya
No comments:
Post a Comment