From 73d16e011d7e36ad2da42a1fa0e9832852117a23 Mon Sep 17 00:00:00 2001 From: Staf Verhaegen Date: Thu, 1 Apr 2021 13:46:34 +0200 Subject: [PATCH] Support lower case hex letters. --- c4m/cocotb/jtag/c4m_jtag_svfgrammar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c4m/cocotb/jtag/c4m_jtag_svfgrammar.py b/c4m/cocotb/jtag/c4m_jtag_svfgrammar.py index faf3aeb..3b6a958 100644 --- a/c4m/cocotb/jtag/c4m_jtag_svfgrammar.py +++ b/c4m/cocotb/jtag/c4m_jtag_svfgrammar.py @@ -19,7 +19,7 @@ class Float(Grammar): grammar = (Integer, (L("."), OPTIONAL(Integer)), OPTIONAL(L("E"), Integer)) class Hexadecimal(Grammar): - grammar = (L("("), WORD("0-9A-F"), L(")")) + grammar = (L("("), WORD("0-9A-Fa-f"), L(")")) grammar_collapse = True class StableState(Grammar): -- 2.30.2