You can implement arctan function by a CORDIC block operating in Vectoring mode. It's a pretty interesting segment of CORDIC. You just check this document, http://www.andraka.com/files/crdcsrvy.pdf. Once you are done with basics, go for efficient architecture design for the same, and finally write the Verilog/VHDL code for the same.