A method, apparatus and computer program product are provided for
implementing a level bias function for branch prediction control for
generating test simulation vectors. User selected options are received
for a set of constraints for generating test simulation vectors for
branch conditional instructions. Current resource values for predicting a
branch for a branch conditional instruction are read. A branch operand
field is generated to include a set of valid values using the current
resource values and based upon said user selected constraints. The branch
operand field defines conditions under which a branch is taken.