Automated metacompiler for designing a configurable hardware IP component