Square law device using FPGA
Your initial begin block does not have an end, so you're getting a syntax error. 

If you see errors past this, then please put the full text of the error into your question.