1/1

|
Ethernet crc32 VHDL anyone?
by Unknown on Sep 13, 2006 |
Not available! | ||
|
I have used this code in the past to generate CRCs in software:
uint32_t crc32 (uint8_t const *p, uint16_t len)
{
uint32_t crc = ~0;
int i;
while (len--) {
crc ^= *p++;
for (i = 0; i > 1) ^ ((crc & 1) ? 0xEDB88320 : 0);
}
return crc;
}
- Guy
On 9/13/06, toto at frea.com toto at frea.com> wrote:
Have a look to www.easics.be
----- Original Message -----
From: deepak_1980_r at h...
To: cores at o...
Date: Tue, 29 Apr 2003 13:56:41 -0100
Subject: [oc] Ethernet crc32 VHDL anyone?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.opencores.org/forums.cgi/cores/attachments/20060913/9c04f8ff/attachment.htm
>
_______________________________________________
http://www.opencores.org/mailman/listinfo/cores
> > Hi! > > I'm currently working on design of 10/100Mb Ethernet MAC and need > some quick help. Can anyone direct me to relevant vhdl code (or > schematic design) for implementing the crc32 check. > > Data will be input to the entity in 4 bit nibbles (as MII > describes). > > I've been searching the web and books and seem to get different > info on > what poly is used etc. > > I'm an absolute beginner so i'm having difficulty trying to work it > out the > math for myself and appreciate and help or direction. I'm also > short on > time and need to get this working within a week or so. > > Thanking you > > Deepak > |
|||
|
Ethernet crc32 VHDL anyone?
by toto on Sep 13, 2006 |
toto
Posts: 1 Joined: Jun 18, 2008 Last seen: Nov 3, 2026 |
||
|
Have a look to www.easics.be
----- Original Message -----
From: deepak_1980_r at h...
To: cores at o...
Date: Tue, 29 Apr 2003 13:56:41 -0100
Subject: [oc] Ethernet crc32 VHDL anyone?
Hi! I'm currently working on design of 10/100Mb Ethernet MAC and need some quick help. Can anyone direct me to relevant vhdl code (or schematic design) for implementing the crc32 check. Data will be input to the entity in 4 bit nibbles (as MII describes). I've been searching the web and books and seem to get different info on what poly is used etc. I'm an absolute beginner so i'm having difficulty trying to work it out the math for myself and appreciate and help or direction. I'm also short on time and need to get this working within a week or so. Thanking you Deepak |
|||
|
Ethernet crc32 VHDL anyone?
by Unknown on May 25, 2008 |
Not available! | ||
|
----- Original Message -----
From: "Amani" q_f82 at s...>
To: cores at o...>
Date: Wed, 30 Apr 2003 00:30:50 +0800
Subject: Re: [oc] Ethernet crc32 VHDL anyone?
Hi
See
http://group7.51.net/cgi-bin/topic.cgi?forum=6&topic=38&show
The first one is code of Generating CRC16;
the second is for verifying
And, it's writen by my classmate-----a beginner
Hmm.....I am working on image processing, I have no knowledge about
what you need. Maybe it's useless
^_^......
----- Original Message -----
From: deepak_1980_r at h...>
To: cores at o...>
Sent: Tuesday, April 29, 2003 10:56 PM
Subject: [oc] Ethernet crc32 VHDL anyone?
> Hi!
> > I'm currently working on design of 10/100Mb Ethernet MAC and need
> some quick help. Can anyone direct me to relevant vhdl code
(or
> schematic design) for implementing the crc32 check.
> > Data will be input to the entity in 4 bit nibbles (as MII describes).
>
> I've been searching the web and books and seem to get different info on
> what poly is used etc.
> > I'm an absolute beginner so i'm having difficulty trying to work it out the
> math for myself and appreciate and help or direction. I'm also
short on
> time and need to get this working within a week or so.
> > Thanking you > > Deepak > hi, I also work on the 10/100Mb Ethernet MAC design and I need help This design is running on my board an the LED's of the controller are working. but I think i need wishbone to put some data or an microblaze controller with bus or something to put get my data outside? or can I put outside the data direct with this Ethernet design? Is there any finish solution for this problem? THX
>
> |
|||
|
Ethernet crc32 VHDL anyone?
by Unknown on May 26, 2008 |
Not available! | ||
|
Hi,
Yes, you need to do at least a little wishbone core to feed data
into the Ethernet core. It is absolutely not difficult at all. The
wishbone specs look terrible (too many pages!!) but the bus is actually
quite simple, my recommendation is for you to save one evening to
reading the wishbone spec.
But remember that the data you send, thru wishbone, to the ethernet
core must be encapsulated in a valid MAC header (except for the CRC
part, which is calculated auto. by the core). Regards,
Victor Lopez
----Mensaje original----
De: ch.schrader at gmx.de
Fecha: 25/05/2008 10:43
Para: q_f82 at sina.com>, cores at opencores.org>
Asunto: Re: [oc] Ethernet crc32 VHDL anyone?
hi,
I also work on the 10/100Mb Ethernet MAC design and I need help
This design is running on my board an the LED's of the controller are
working. but I think i need wishbone to put some data or an
microblaze controller with bus or something to put get my data
outside? or can I put outside the data direct with this Ethernet
design?
Is there any finish solution for this problem?
THX
|
|||
1/1

