analog_malware
Newbie
Hi,
I am designing a module, which operates on an array of integers. The module is designed for a maximum array size of 16 integers, however, it can be less than 16 as well.
I was thinking that when an array of size lesser than 16 is fed to the module, the rest of the positions would assume 'Z' (high impedance/tristate) value.
I would like to ask if there's any better approach, or popular good practices to handle such situations.
I am designing a module, which operates on an array of integers. The module is designed for a maximum array size of 16 integers, however, it can be less than 16 as well.
I was thinking that when an array of size lesser than 16 is fed to the module, the rest of the positions would assume 'Z' (high impedance/tristate) value.
I would like to ask if there's any better approach, or popular good practices to handle such situations.