Fix an issue with arrays in HDL.