--- Quote Start ---
could you not use one yourself, and use genetes or something to modify the LPM hint based on your selection of device family? I dont understand why a package constant is going to be a problem for this, because the device family will hold true for all elements, and then you can modify the LPM_HINT on a FIFO by FIFO bases if you want some in MRAMs and some in M4Ks
--- Quote End ---
You have a point there, I could just add the generic
ram_block_type : string := "auto"; and forget about it for most projects and only in this special one where we use a lot of Block Ram force it to whatever appropriate.
But the question was not how to manage my RAM, but rather whether the 'DEVICE_FAMILY' predefined parameter existed in VHDL, or there was another way to get the information. E.g I am building a DDR2 PHY for Cyclone devices as a 'midnight project' and there the information whether I have a Cyclone II, II or IV device at hand may be useful. BTW that same information should also be available for TimeQuest. But now I am really asking too much, aren't I?