Currently, I am learning some FPGA design techniques using VHDL, my problem is whether we can use := and <= interchangeably in VHDL or not, though I've seen the use of := in constants declarations and <= in assignments? Thanks in advance!
Currently, I am learning some FPGA design techniques using VHDL, my problem is whether we can use := and <= interchangeably in VHDL or not, though I've seen the use of := in constants declarations and <= in assignments? Thanks in advance!
<=
UseCase: Signal assignments that take place in the next cycle.
Example: signal temp:std_logic_vector
:=
UseCase: Variable assignments that take place immediately.
Example: variable temp:std_logic_vector
Except for adding initial values to signals, you can also use :=.