newest verilog code

Updated with newly found backup.