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

RE: [microblaze-uclinux] "Value too large to represent" error during FPGA 'libs' build



Thanks for the tip, Kevin. Here's a modified version of the Tcl script that
solved my problem.

David Banas
Field Applications Engineer
Nu Horizons Electronics Corp.
2070 Ringwood Avenue
San Jose, CA 95131
(408)434-0800 - office
(415)846-5837 - cell
http://www.nuhorizons.com

-----Original Message-----
From: owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of Kevin
Somervill
Sent: Thursday, January 27, 2005 10:29 AM
To: microblaze-uclinux@itee.uq.edu.au
Subject: RE: [microblaze-uclinux] "Value too large to represent" error
during FPGA 'libs' build

Hello David,
|
|OK, I've traced this error:
|
|to this parameter definition:
|
|>C_TRI_DEFAULT = 11111111111111111111111111111111
|
|which is a binary definition, but is missing the '0b' prefix 
|that the Tcl script expects to be in front of binary constants.
|
|However, I can't find this parameter's definition anywhere! Is 
|this a default? If so, can anyone point me to the file that 
|defines it, so that I can add the '0b' prefix?

The file is in
$EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_a\data\opb_gpio_v2_1_
0.mpd, but it won't have a 0b in front.  This is probably a bug in the
TCL script in that it should be able to translate the value since it's
defined as DT = std_logic_vector.  You could try to put the 0b in the
file, but this is not a long term solution since a lot of files use this
(the default for hdl std_logic_vector is bit fields).

The significance of the value is opb_gpio.pdf page 7.  It's the startup
value of the tri-state control for the gpio register.

/ks

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________

Attachment: uclinux_v2_1_0.tcl
Description: Binary data