HDL is not a programming language; it is a Hardware Description Language. It tells how to connect the wires of a part together.
The "=" is not an assignment like you are used to seeing in a programming language. Rather, it is a wire connection. The name on the left of the "=" is always an I/O pin in the part being used. The name on the right is always an I/O pin or wire in the part being defined.
See
this post.
Be sure to read the
Hardware Construction Survival Kit.
--Mark