omara007
Advanced Member level 4

- Joined
- Jan 6, 2003
- Messages
- 1,237
- Helped
- 50
- Reputation
- 102
- Reaction score
- 16
- Trophy points
- 1,318
- Location
- Cairo/Egypt
- Activity points
- 9,715
vhdl type conversion
Hi Guys ..
I want to convert between the 2 vector types (SIGNED to STD_LOGIC_VECTOR). I used the function 'CONV_SIGNED (ARG:SIGNED, SIZE:INTEGER) return STD_LOGIC_VECTOR;' but it always gives me ZEROs in the returned STD_LOGIC_VECTOR regardless of the value contained in the SIGNED vector!! ..
So, how can I convert between these 2 types ?
Hi Guys ..
I want to convert between the 2 vector types (SIGNED to STD_LOGIC_VECTOR). I used the function 'CONV_SIGNED (ARG:SIGNED, SIZE:INTEGER) return STD_LOGIC_VECTOR;' but it always gives me ZEROs in the returned STD_LOGIC_VECTOR regardless of the value contained in the SIGNED vector!! ..
So, how can I convert between these 2 types ?