I am writing a code for transferring characters to the LCD of an FPGA using VHDL. because the char is not Synthesizable I am transferring the code in binary of each char i want to show on LCD. this process is hard and promote to error.
Therefore I would like to ask you if there is other way to send the char directly to the output
Character is an enumeration type, but it's synthesizable as other enumeration types or e.g. integer. Some tools will also synthesize character for top entity ports as bit vector with a size of 8 according to the character range. But if your tool doesn't or you want direct access to individual character bits, you can convert a character signal to it's ascii code representation by using a 'pos attribute.