Thanks Mazel and James Bonanno for your help.
--- Quote Start ---
buf is a signal, you have to use <= to assign it a value. := is used for variable
--- Quote End ---
Thanks! I always get confused with that.
--- Quote Start ---
Then, buf is one bit long, you cannot select which bit to use!
--- Quote End ---
I don't really get this. :confused:
--- Quote Start ---
PS : your first process is kind of strange...
At reset, you set serial_in_port to '0', then you test if serial_in_port is smaller than '1'. Of course it is!
Is this the behaviour you're waiting for ?
--- Quote End ---
Yea, it is strange lol. I'm kinda new at this. So it's kinda messed up. =s
--- Quote Start ---
card_in1 <= X"0000" ;
header1 <= X"A";
t_stamp1 <= '1';
station1 <= X"0";
--- Quote End ---
What does the
x mean?
So, I changed all of the types to std_logic and there's an error saying that
"rst" does not agree with its usage as "boolean" type.
. Tried changing all the types to bit and still got the same error. How do I fix this?