Guest
Suppose I have an n-input simple OR gate.
Result <= inp(0) or inp(1) or ...... or inp
;
Q: how to write the above code for generic n?
Result <= inp(0) or inp(1) or ...... or inp
Q: how to write the above code for generic n?