Hi everyone,
I am new here and i am going to start my first thread by a very simple question. I would like to know how i could compare an string within an if statement.
entity
memory_model :in string;
..
end ..;
architecture ...of .. is
process(..)
begin
if( memory_model="dual_port") then
............
endif
end ...;
right now i get an error that memory_model is not a signal
could someone please help me with this?
I am new here and i am going to start my first thread by a very simple question. I would like to know how i could compare an string within an if statement.
entity
memory_model :in string;
..
end ..;
architecture ...of .. is
process(..)
begin
if( memory_model="dual_port") then
............
endif
end ...;
right now i get an error that memory_model is not a signal
could someone please help me with this?