Construct a 4-bit datapath that executes fundamental arithmetic and logic operations, using XACT macro libraries.