someone knows if i need to use only n-2 instances for all type of gates or just for multiplexer?
If you mean Exercise 6 (\mathit{exactly}(n)), the n - 2 is only for \mathit{matmul}(n). You may use any number of MUXes and basic logic gates.
someone knows if i need to use only n-2 instances for all type of gates or just for multiplexer?
If you mean Exercise 6 (\mathit{exactly}(n)), the n - 2 is only for \mathit{matmul}(n). You may use any number of MUXes and basic logic gates.