I have had to define a data type to deal with logarithmic values. It's basically a real number ranging from -10000 to 10000. However, I would like to use this user-defined data type in the entity of the device, i.e. given the user-defined type is called llrValue, the architecture port would be
ENTITY sova_decoder IS PORT ( Approiri : IN llrValue )
Where do I define the data type such that it would be recognised once it appears in the entity? Or is there some other way to do this?