Forum: GNU Radio Fwd: Nand D flipflop in gnuradio

0899cc80450190a33af326f7da48a9c6?d=identicon&s=25 Sandhya G. (sandhya_g)
on 2014-01-02 05:35
(Received via mailing list)
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

>
> sandhya
------- End of Original Message -------
7d89a70df32c0ae27c1235016f9e5441?d=identicon&s=25 "Marcus Müller" <marcus@hostalia.de> (Guest)
on 2014-01-02 10:24
(Received via mailing list)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Sandhya,
refer to the gnuradio website on how to get started using GNU Radio
and creating your first blocks, especially "How to write an
out-of-tree (OOT) module" on the front page. However, maybe you want
to get a little experience in programming if you want to start
developing with GNU Radio; there is a lot of literature and tutorials
out there that help you getting to terms with programming and C++. GNU
Radio wouldn't be the kind of framework I'd suggest for someone who
says that he "doesn't know much about programming" to get a start into
programming. It is a little big, mixes different paradigms, has a
cross-language interface and is generally complex in some aspects.

However, it is a very good idea to get an impression of the Python
code that actually makes up a flowgraph. I think especially a beginner
might learn quite a lot if he thoroughly understands the "Getting
Started" section on the website. So I'd say: Get your favourite python
book, and understand what's happening "How to write python
applications" (on the front page of gnuradio.org), then look further
from there.

Happy hacking,
Marcus

On 02.01.2014 05:34, Sandhya G wrote:
> ---------- Forwarded message ---------- From: MHMND Herath
> c++
>>
> ------- End of Original Message -------
>
>
>
> _______________________________________________ Discuss-gnuradio
> mailing list Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSxTAUAAoJEAFxB7BbsDrL2aAH/jblQVkUZXoL6Az75hGqOyj2
Xcy4sYV2ZG/RDyVisJdub/jNQekJSJlUtpfTLXlQQLZ7RIZm24hBVozpVYg8dg4s
YvZ1h5VwninZebwG+p1ejQYb5FSUq6MgcibNnoievhYYkqwzO6DJ/NcF7eUpZKin
0v2vvV+7bYXBm9DK/A3hd8VhhB1gMrC9Hdi6S34b2Gn3MbI8ajeaq0Na/B8W7v50
smUR2bRygYd3N2ntk0osAdXDJVhXcOgZ0ftDKBOA04jXtTrXdbSGmh/V/byMO5CG
uKBGvU5hhUltL7lDEnVpPZak15wIu9ymfHap4qFvGb7ftQRwOJqfwtpE2U8rvb8=
=KwRM
-----END PGP SIGNATURE-----
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.