Update with pin configure
Copy the Avalon3.5 code to here