Linting error: backward indexing
I think I met a false error in linting: Slice selection '[2:2]' has backward indexing versus data type's '[0:3]' Slice selection '[3:3]' has backward indexing versus data type's '[0:3]'
If the data type is declared as [3:0], then it won't complain. Therefore, it looks like that the tool treats [i:i] as big-to-small. However, it can still be treated as small-to-big.
#4 Updated by Hao Shi about 1 month ago
Wilson Snyder wrote:
You can get it now from git, see the Install section. Typically releases (tarballs) are every month or so.
Can you please see if my command has some issues? I used:
git clone http://git.veripool.org/git/verilator
Then "git tag" shows the latest version is verilator_4_018 or v4.018. Not quite sure if I missed anything.
#6 Updated by Hao Shi about 1 month ago
Let me know if it is better to open a new issue, since it is unrelated topic.
I am on the master branch right now, but I don't see the updates. Please see my command history:hao@haos:~/Downloads/test/verilator$ git branch
hao@haos:~/Downloads/test/verilator$ git pull
hao@haos:~/Downloads/test/verilator$ git log
commit 3469c78153f51434e8ef89dfbd2fe4dd4227d966 Author: Wilson Snyder <email@example.com> Date: Mon Sep 16 21:09:18 2019 -0400
Fix bad module name.
commit baa634343b44628872dd6623bf9726fcca755263 Author: Wilson Snyder <firstname.lastname@example.org> Date: Fri Sep 13 07:20:26 2019 -0400
Fix config_rev revision detection on old versions.
Also available in: Atom