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

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



OK, I've traced this error:

>ERROR:MDT - ERROR FROM TCL:- uclinux () - integer value too large to
represent
>       while executing
>   "format "0x%08X" $param_value"
>       (procedure "xprint_params" line 26)

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?

This error occurs when building the first of three 'opb_gpio' peripherals.
For reference, here is the pertinent section of my 'system.mhs' file:

---------- 'system.mhs' file excerpt begins here. -------------------
BEGIN opb_gpio
 PARAMETER INSTANCE = opb_gpio_0
 PARAMETER HW_VER = 3.01.a
# PARAMETER C_BASEADDR = 0xFFFF_7000
# PARAMETER C_HIGHADDR = 0xFFFF_71FF
 PARAMETER C_BASEADDR = 0xFFFF7000
 PARAMETER C_HIGHADDR = 0xFFFF71FF
 PARAMETER C_GPIO_WIDTH = 32
 PARAMETER C_IS_BIDIR = 1
 BUS_INTERFACE SOPB = opb_v20_0
 PORT GPIO_IO = led
 PORT OPB_Clk = sys_clk
END
---------- 'system.mhs' file excerpt ends here. -------------------

I've also attached my complete 'system.mhs' and 'system.mss' files.

Thanks everyone,

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

<<attachment: winmail.dat>>