ecp5: accept lowercase characters in hex strings.
This commit is contained in:
parent
2a3d0c1d29
commit
9f53bd4278
@ -131,7 +131,7 @@ static void tie_cib_signal(Context *ctx, ChipConfig &cc, WireId wire, bool value
|
||||
inline int chtohex(char c)
|
||||
{
|
||||
static const std::string hex = "0123456789ABCDEF";
|
||||
return hex.find(c);
|
||||
return hex.find(std::toupper(c));
|
||||
}
|
||||
|
||||
std::vector<bool> parse_init_str(const Property &p, int length, const char *cellname)
|
||||
|
Loading…
Reference in New Issue
Block a user