B
Bakkurudeen Ali J
Guest
Hello All,
How can I perform division for the below mentioned :
Data_In : std_logic_vector(33 downto 0);
constant ZETA :std_logic_vector(8 downto 0) := "100100001";
Now : Result <= Data_in / Zeta;
I intend to represent the result rounded to (16,-7) (i.e., 9 bits
integer and 7 bits fractional)
NOTE: The Constant(ZETA) which I have mentioned is Canonical Signed
Digit Representation of An Integer value = -0.8710935
Kindly suggest me a solution to this problem !
Regards,
Ali
How can I perform division for the below mentioned :
Data_In : std_logic_vector(33 downto 0);
constant ZETA :std_logic_vector(8 downto 0) := "100100001";
Now : Result <= Data_in / Zeta;
I intend to represent the result rounded to (16,-7) (i.e., 9 bits
integer and 7 bits fractional)
NOTE: The Constant(ZETA) which I have mentioned is Canonical Signed
Digit Representation of An Integer value = -0.8710935
Kindly suggest me a solution to this problem !
Regards,
Ali