Uso de rising_edge(clk) no lugar de clk'EVENT AND clk = '1' (http://stackoverflow.com/questions/15205202/clkevent-vs-rising-edge)