Skip to content

Commit

Permalink
Merge pull request #956 from riscv/xml-field-index
Browse files Browse the repository at this point in the history
Make register fields show up in the index.
  • Loading branch information
wmat authored Jan 16, 2024
2 parents f233db1 + 0683bd3 commit 8bdb8ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registers.py
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ def write_adoc( fd, registers ):

write_bytefield( fd, r )

columns = [("<2", "Field", lambda f: f.name)]
columns = [("<2", "Field", lambda f: f"(({f.name}))")]
columns += [("<3", "Description", lambda f: f.latex_description())]
if not registers.skip_access:
columns += [("^1", "Access", lambda f: f"*{f.access}*")]
Expand Down

0 comments on commit 8bdb8ef

Please sign in to comment.