vvsvv
Full Member level 1
unsigned std_logic_vector
in my vhdl source code ,I use std_logic_vector,
i used a counter to counter number of pels, all the number should be positive number, however, there is nagtive number appear ,
what should I do ?
shall I change the data type from std_logic_vector to integer ?
-----------------------------------------
May I use "integer" type in my port declaring?
thank you very much!
in my vhdl source code ,I use std_logic_vector,
i used a counter to counter number of pels, all the number should be positive number, however, there is nagtive number appear ,
what should I do ?
shall I change the data type from std_logic_vector to integer ?
-----------------------------------------
May I use "integer" type in my port declaring?
thank you very much!