Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Error (10528): VHDL error at lcd.vhd(135): value "0" is outside the target constraint

I had upload a vhd file, please help me check.

The error is at the line 135 : signal lcd_cmd_ptr : integer range 0 to LCD_CMDS'HIGH + 1 := 0;

I have no any idea about it. Please help me solve it, thanks!

11 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    try giving LCD_CMDS a specified range, or change the LCD_CMDS_T to natural range instead of integer.

    --- Quote End ---

    Thanks, it works!