We have not been formally taught anything in VHDL or Xilinx but I know that I will have to in the future so when my class requires me to design a logic circuit I try and use it to just gain familiarity. I created a magnitude comparitor and mapped two buses, dataa and datab to a0 to a3 and b0 to b3 respectively. I want to use the test bench feature to see the waveforms and I can't figure out why my first logic vector goes in and it never changes. Is there something wrong with my syntax or do I misunderstand what a logic vector can do?
Here is the relevant portion of my code:
And here is the output I get:
Sorry for such a newb question. I can't figure it out by searching the depths of the internet. Thanks so much in advance.
Here is the relevant portion of my code:
Rich (BB code):
tb : PROCESS
BEGIN
high <= '1';
DATAA <= "0001";
DATAB <= "0010";
wait for 2 ms;
DATAA <= "0010";
DATAB <= "0010";
wait for 2 ms;
DATAA <= "0011";
DATAB <= "0010";
wait for 2 ms;
WAIT; -- will wait forever
END PROCESS;

Sorry for such a newb question. I can't figure it out by searching the depths of the internet. Thanks so much in advance.