Design and application of reconfigurable circuits and systems