Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
0
Getting checksum
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-04-2008 07:05 PM
Hello, I am trying to figure out how to find the checksum of a .mcs file. Normally I can get it when I load the file onto the Xilinx device using iMPACT. But I want to know what the checksum will be without having the device physically available. Is this possible? Thank you very much for any help you can give.
-Todd
-Todd
0
Re: Getting checksum
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-08-2008 03:44 PM
Hi Todd:
Try using the -c option in promgen when generating your .mcs file. This should create a .prm file that includes the checksum for the MCS file. See example below and reference to promgen in Xilinx manuals.
Example:
> promgen -c -w -u 0x0 test_design.bit -o known_good
Release 9.2.03i - Promgen J.39
Copyright (c) 1995-2007 Xilinx, Inc. All rights reserved.
0x1acd80 (1756544) bytes loaded up from 0x0
Using generated prom size of 2048K
Writing file "known_good.mcs".
Writing file "known_good.prm".
> cat known_good.prm
PROMGEN: Xilinx Prom Generator J.39
Copyright (c) 1995-2007 Xilinx, Inc. All rights reserved.
promgen -c -w -u 0x0 test_design.bit -o known_good
PROM known_good.prm map: Tue Dec 11 08:51:38 2007
Calculating PROM checksum with fill value ff
Format Mcs86 (32-bit)
Size 2048K
PROM start 0000:0000
PROM end 001f:ffff
PROM checksum 052e6e5d
Addr1 Addr2 Date File(s)
0000:0000 001a:cd7f Dec 11 08:41:11 2007 test_design.bit
Promgen documentation:
http://toolbox.xilinx.com/docsan/xilinx8/books/dat
Kind Regards,
Greg
0
Re: Getting checksum
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-26-2008 03:45 PM
Greg,
Do you know of a way to manually calculate the checksum? The MCS info in the xilinx documentation only tells about the individual record checksums. How is the file checksum, as reported by iMPACT or PROMGEN, calculated from the MCS file? It should be a 32-bit number.
0
Re: Getting checksum
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-24-2010 03:12 PM
Hi,
There is an answer record on how the checksum is calculated, please take a look: http://www.xilinx.com/support/answers/18884.htm











