#1328: Initial checkin of hwpi module.