[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Quetion regarding crc checks .

From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Quetion regarding crc checks .
Date: Thu, 9 Feb 2012 22:55:01 -0500

On Mon, Jan 30, 2012 at 12:24 PM, anay tuljapurkar <address@hidden> wrote:
Dear all,
    I am currently working on a gnuradio project and i was wondering if anybody could please share some information about how crc checks are made. As in when one makes a crc32 call from ones python script , in crc.py it says the following

crc = digital_swig.crc32(s)

and there after it makes a call to _digital_swig.crc32. I dont fully understand the "behind the scene operation" of "_digital_swig" . I understand that its a library associated file but its operation is what i cannot fully comprehend. Does it help make a call to digital_crc32.cc file which has all the underlying code.

I would be awfully obliged if somebody were to spare sometime and help out in this regard.


Yes, the CRC is implemented in C++ and wrapped into Python using SWIG. The actual Python module is digital_swig (which then gets exposed to the outside as the 'digital' module). The _digital_swig is the library call made behind the scenes. No one really needs to know anything about that, though.

So yes, if you are interested in the operation of the CRC block, look at digtial_crc32.cc in gr-digital/lib.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]