Add IF stage and its test bench.