PIPELINED AND CLOCK GATED MAC ARCHITECTURE DESIGN AND IMPLEMENTATION