I have learn about SXT function and I have 1 line code (from example) as below:
bp<=SXT(a,9) + b;
where bp: std_logic_vecor(8 downto 0), a: std_logic_vector(7 downto 0), b: std_logic_vector(7 downto 0)
As I know and understand, SXT function is used to extend the bit width. From the above line code, how exactly they perform? I confuse why need to use SXT function and not just add a with b? :-(Need helps from expert.Thanks in advance