So I am only starting out my VHDL journey. One thing I am finding a bit of a nuisance is the following format:
signal sig_A : unsigned (3 downto 0) := "0101";
being that "0101" is just a string which somewhere down the line gets converted to bits. Is there a way I can initialize this to where its a bit easier to read, especially when I get to bigger numbers. For example
signal sig_A : unsigned (9 downto 0) := "753";
which for the life of my I cant think of the binary or hex equivalent unless I whip out a calculator.
I just do not know the language well enough yet to figure this out. It seems like a trivial thing but I have tried a lot of variations with no success. I was thinking like a prefix dec"753" or "D753" I really have no clue but it surely has to be implemented in the language somehow I cannot imagine people really typing out 32 bits or trying to compute hex constantly.
Before anyone mentions it, I am not expecting it to throw 7 and a 5 and a 3 in there literally. Just as I dont expect it to throw an "F" in there when typiing hex. I am expecting it to decipher the number to its binary equivalent based on a string just how it deciphers the "010101" string.