Maybe an example would be best... I am having trouble understanding the syntax of instantiating and using arrays. Could someone reply with a simply hdl and test file to give me an idea of how it works?
There are no arrays in HDL. HDL is not a programming language, it is a circuit description language. Helpful HDL Philosophy may help you get your mind around HDL.
The [] you see select which wire(s) in a bus are being connected.