mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Major redesign of expr width/sign detecion (verilog/ast frontend)
This commit is contained in:
parent
e8da3ea7b6
commit
00a6c1d9a5
5 changed files with 189 additions and 37 deletions
|
@ -161,7 +161,7 @@ AstNode *VERILOG_FRONTEND::const2ast(std::string code, char case_type)
|
|||
if (str == endptr)
|
||||
intval = -1;
|
||||
|
||||
// The "<bits>'[bodh]<digits>" syntax
|
||||
// The "<bits>'s?[bodh]<digits>" syntax
|
||||
if (*endptr == '\'')
|
||||
{
|
||||
int len_in_bits = intval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue