Open adarobin opened 4 hours ago
This will ensure all of the hex values in the generated HCL will be 4 hex digits long (i.e. have leading 0's).
For example, on some hardware in my lab the script originally generated this:
"did": "953", "vid": "8086", "ssid": "370b", "svid": "108e",
when it should have been:
"did": "0953", "vid": "8086", "ssid": "370b", "svid": "108e",
This will ensure all of the hex values in the generated HCL will be 4 hex digits long (i.e. have leading 0's).
For example, on some hardware in my lab the script originally generated this:
when it should have been: