Forum Discussion
I'm not sure what you're trying to do here. Timing information is not part of a symbol. It's selected by the Fitter based on timing constraints specified in the .sdc file. What's your goal here?
#iwork4intel
I've updated my VHDL code snippet to show the generic parameters which are of type time. These parameters are editable from the BDF schematic.
When the symbol file for the entity is created and added to the BDF, Quartus puts the default values of "20000000 fs" and "125000000000000 fs" into the symbol parameters. This means that Quartus correctly read the default values of the generic parameters in the VHDL source file and converted them to femtoseconds (fs).
I changed them back to "20 ns" and "125 ms" to make them more readable.
That's when I discovered that Quartus completely ignores the units when reading back the parameters from the BDF file to compile the design. I found that you can use units like "20 us" and "125 ps" and it will still compute 125 / 20 = 6.25 giving a 3-bit counter.
I also found that you can't use bogus units like "20 Mickey" and "125 Mouse" because the compiler complains:
Error (10482): VHDL error at file.vhd(#): object "Mickey" is used but not declared
Error (10482): VHDL error at file.vhd(#): object "Mouse" is used but not declared
This means that the Quartus compiler knows what ms, us, ns and fs mean, but it doesn't actually take them into account when compiling the design.
I also found that you can use unit-less values, e.g. "2" and "12500000" and it will compute a 23-bit counter.