Solutions to the structural hazard
Arbitration with interlocking: hardware that performs resource conflict arbitration and interlocks one of the competing instructions
Resource replication: In the example a register file with multiple write ports would enable simultaneous writes.
- However, now output dependences may arise!
- Therefore additional arbitration and interlocking necessary
- or the first (in program flow) value is discarded and the second used.