Print

Print


=   this is sudhakar reddy from India.i am  facing one
= problem in calculation of crc of an array of 226 bits
= using a polynomial (823BA9)of 24 bits . at last i have
= to find the remainder of 24 bits.

I'm sure many people on this list would be interested to know more about
the kind of work you do with Ada in India.  Feel free to elaborate.

= if any one have algorithm or code in ada 83 or ada 95 please give me
= reply as early as possible.

The following was posted to comp.lang.ada several years ago but is still
available.  I hope it helps you.

-------

Date: Sun, 16 Mar 1997 21:21:53 +0100
From: Dirk Craeynest <[log in to unmask]>
Subject: Ada-Belgium archive update: CRC in Ada

Ada-Belgium is providing (pointers to) Ada software, made available by
Belgian Ada users.  URL of the starting point:
  http://www.cs.kuleuven.ac.be/~dirk/ada-belgium/software/

Recently, the following item has been added.

------------------------------------------------------------------------

          CRCADA95 - Cyclic Redundancy Checks in Ada 95

Author: Guido Duerinckx, Trasys, Brussels
Status: Source code available.
Platforms: Portable.

Reference:
  "Cyclic Redundancy Checks in Ada95", by Guido Duerinckx,
  ACM Ada Letters, Jan/Feb 1997, Pages 41-53, Volume XVII, Number 1

Abstract:

  CRCADA95 provides an implementation of standard well optimized CRC
  algorithms in Ada 95.  The basic CRC algorithm is implemented as a
  generic package.  Both 16-bit and 32-bit CRC instantiations are
  provided, the 32-bit version is fully POSIX/UNIX95 compliant.

  This version of CRCADA95 may be freely distributed and reused within
  your own projects.

  The following files are available:
  - crcada95.doc: a copy of the author's paper in Ada Letters
                  (MS Word 6.0 document);
  - crcada95.ada: the source code;
  - crcada95.crc: a listing with POSIX/UNIX95 CRCs of the above two
                  files.

------------------------------------------------------------------------

= warm regards
= from
= sudhakar reddy m

Greetings,

Dirk ([log in to unmask] for Ada-Belgium e-mail)

--
Dirk Craeynest            | Email [log in to unmask] | Ada-Belgium
Offis nv/sa - Aubay Group | Phone +32(2)725.40.25         | Ada-Europe
Weiveldlaan 41/32         |       +32(2)729.97.36 (work)  | ACM SIGAda
B-1930 Zaventem, Belgium  | Fax   +32(2)725.40.12         | Team Ada

+-------------/ E-mail: [log in to unmask]
|Ada-Belgium /     WWW: http://www.cs.kuleuven.ac.be/~dirk/ada-belgium/
|on Internet/      FTP: ftp://ftp.cs.kuleuven.ac.be/pub/Ada-Belgium
+----------/ Mail-list: [log in to unmask]

*** Intl. Conference on Reliable Software Technologies - Ada-Europe'2002
*** June 17-21, 2002, Vienna, Austria *** http://www.ada-europe.org/ ***