NES in Verilog