Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-02-08 | Shorten copyright notice at the top of each file | Tim Hutt | 1 | -65/+3 | |
This script was used to do the modification: ``` from pathlib import Path import re RE_LINE = r"/\*={50,150}\*/\n" RE_MIDDLE = r"/\*.*\*/\n" NEW_TEXT = """/*=======================================================================================*/ /* This Sail RISC-V architecture model, comprising all files and */ /* directories except where otherwise noted is subject the BSD */ /* two-clause license in the LICENSE file. */ /* */ /* SPDX-License-Identifier: BSD-2-Clause */ /*=======================================================================================*/ """ REPLACEMENT = re.compile(rf"^{RE_LINE}(?:{RE_MIDDLE}){{10,100}}{RE_LINE}") def main(): for file in Path("model").glob("**/*.sail"): text = file.read_text(encoding="utf-8") text = REPLACEMENT.sub(NEW_TEXT, text, 1) file.write_text(text, encoding="utf-8") if __name__ == "__main__": main() ``` | |||||
2023-06-15 | Run the pre-commit hook on all files | Alex Richardson | 1 | -1/+1 | |
This strips trailing whitespace and fixes line endings. I had to add the *.dump files to the exclude list to avoid excessive changes, but ideally these would not be part of the repository since they can just be generated by running objdump manually. | |||||
2023-05-29 | apply_headers: regenerate copyright headersupdate-copyright-headers | Philipp Tomsich | 1 | -1/+3 | |
2021-07-29 | Use headache to apply copyright header at request of Peter Sewell. | Robert Norton | 1 | -0/+67 | |
2020-01-10 | Re-instate the catch-all csr_name_map clause and workaround the Sail bug ↵ | Robert Norton | 1 | -2/+6 | |
that prevented this from compiling previously. This will stop crashes on invalid CSRs in TestRIG. I have a reduced test case for the Sail bug and will investigate. | |||||
2019-09-10 | Refactor CSR code to use scattered functions / mappings for ease of extension. | Robert Norton | 1 | -17/+10 | |
2019-05-14 | Improve the interface to access CSRs in extensions. | Prashanth Mundkur | 1 | -0/+20 | |