Forum Discussion

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

VHDL type mismatch error

HI,

I use am29lv065d flash to custmize my development board,but I got a error when ANALYSIS&SYNTHESIS

VHDL type mismatch error at am29lv065d.vhd(109):VitalDelayType type does not match string literal.

and 109 line is:

tdevice_POB :VitalDelayType :=5 us;--byte write

I also look up the datasheet file for tdevice_POB's value,it is surely 5us.

How can I solve this problem?

tks!

13 Replies

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

    Hello,

    I think, line 24 makes wrong usage of others. It must have a bit value as argument here, '0', '1' or 'Z', it doesn't accept a bit vector.

    I would use a concatenation instead:

    q <= not a(15) & a(14 downto 4) ;

    Regards,

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

    Hello Frank,

    thank you very much for your support: it fixed my problem.

    Best Regards.