'36_864_7_345ms' 作为时间文字的语义

Semantic meaning of '36_864_7_345ms' as a time literal

阅读 verilog 的规范,

36_864_7_345ms

是有效的时间文字:http://www.ece.uah.edu/~gaede/cpe526/SystemVerilog_3.1a.pdf(参见第 2 节)

注意:decimal_digit 在完整的 IEEE 规范中被定义为 [0-9]

这次文字的语义(如果有的话)是什么?还是我误读了规范?

编辑: 查看规范的其他地方(第 3.7.9 节),下划线字符似乎被默默地丢弃了。下划线是否以类似于英文数字(例如 43,251)的方式作为任意分隔字符使用逗号在视觉上分隔数字?还是另有其意?

您引用的规范早已过时。请在第 5.7.1 节整数文字常量中获取 latest from the IEEE

The underscore character (_) shall be legal anywhere in a number except as the first character. The underscore character is ignored. This feature can be used to break up long numbers for readability purposes.