Thanks for this, I rearranged to
if commandBuffer(0)= x"50" and
commandBuffer(1)= x"72" and
commandBuffer(2)= x"69" and
commandBuffer(3)= x"6E" and
commandBuffer(4)= x"74" then
cmd <= Print;
Answer to your points, as this is a temporary solution for a proof of concept, I was looking for a quick / simple method. I did consider using RAM but thought the registers would be simpler to use.
However, I am intrigued about the issue with large parallel compare, if I did this character at a time, I would still have the same number of comparison right ? or am I (most likely) missing the point ? Also, I can not see how I could do a compare serially to workout what the command would be (there are only 6-7 commands), so if you could point me in the right direction, I would certainly give it a go.
Thanks again.