childs
Member level 5
vhdl to_integer
I had just switch to Xilinx ISE from Quartus recently, somehow my old old with type conversion such as :
data_out <= "0000000000" & std_logic_vector(eod + "1");
(error: Expression in type conversion to std_logic_vector has 2 possible definitions in this scope, for example, UNSIGNED and std_logic_vector.)
memory(to_integer(pointer)) := data_in;
(error: to_integer can not have such operands in this context.)
cannot be compiled in Xilinx... may i know how to do such type conversion in Xilinx? Is there any different in syntax or whatever??
I had just switch to Xilinx ISE from Quartus recently, somehow my old old with type conversion such as :
data_out <= "0000000000" & std_logic_vector(eod + "1");
(error: Expression in type conversion to std_logic_vector has 2 possible definitions in this scope, for example, UNSIGNED and std_logic_vector.)
memory(to_integer(pointer)) := data_in;
(error: to_integer can not have such operands in this context.)
cannot be compiled in Xilinx... may i know how to do such type conversion in Xilinx? Is there any different in syntax or whatever??