diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4f39577 --- /dev/null +++ b/LICENSE @@ -0,0 +1,23 @@ +ISC License + +Scope: This license covers the software and supporting material in this +repository — including the tooling under tools/, the example material +under examples/ (with its build sources), and the repository's build and +documentation files (e.g. Makefile, README.adoc). It does NOT cover the +CTXP specification under spec/, which is licensed separately under the +Creative Commons Attribution 4.0 International License (CC BY 4.0). See +spec/tn-ctxp-format.adoc and https://creativecommons.org/licenses/by/4.0/. + +Copyright (c) 2026 Accemic Technologies GmbH + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/Makefile b/Makefile index 58cef80..58d5989 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: ISC +# SPDX-FileCopyrightText: 2026 Accemic Technologies GmbH + .PHONY: lint .PHONY: examples-build examples-build-docker examples-clean .PHONY: examples-verify diff --git a/README.adoc b/README.adoc index 64eb5ea..35c3a54 100644 --- a/README.adoc +++ b/README.adoc @@ -87,7 +87,11 @@ If you want to evaluate or integrate CTXP tooling, please contact us: == License / attribution / acknowledgement -The CTXP technical note states it is licensed under -Creative Commons Attribution 4.0 International (CC BY 4.0). See the spec for details. +This repository uses two licenses: + +* *Specification* (`spec/`): the CTXP technical note is licensed under the +Creative Commons Attribution 4.0 International License (CC BY 4.0). See the spec for details. +* *Tooling and examples* (`tools/`, `examples/`): licensed under the ISC License. +See the `LICENSE` file at the repository root. The CTXP format was developed as part of the TRISTAN project, a European Union research initiative involving 46 partners to advance the RISC-V ecosystem. See https://tristan-project.eu/ for more information. diff --git a/examples/_sources/Dockerfile b/examples/_sources/Dockerfile index 9fa600a..f0d533d 100644 --- a/examples/_sources/Dockerfile +++ b/examples/_sources/Dockerfile @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: ISC +# SPDX-FileCopyrightText: 2026 Accemic Technologies GmbH + FROM debian:bookworm-slim RUN apt-get update \ diff --git a/examples/_sources/Makefile b/examples/_sources/Makefile index bd661d1..9198d3f 100644 --- a/examples/_sources/Makefile +++ b/examples/_sources/Makefile @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: ISC +# SPDX-FileCopyrightText: 2026 Accemic Technologies GmbH + RISCV_GCC ?= riscv64-unknown-elf-gcc RISCV_OBJDUMP ?= riscv64-unknown-elf-objdump diff --git a/examples/_sources/basic.S b/examples/_sources/basic.S index 61072b3..b4b18eb 100644 --- a/examples/_sources/basic.S +++ b/examples/_sources/basic.S @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: ISC +# SPDX-FileCopyrightText: 2026 Accemic Technologies GmbH + .section .text .globl _start diff --git a/examples/_sources/context.S b/examples/_sources/context.S index 840740b..a231d06 100644 --- a/examples/_sources/context.S +++ b/examples/_sources/context.S @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: ISC +# SPDX-FileCopyrightText: 2026 Accemic Technologies GmbH + .section .text .globl _start diff --git a/examples/_sources/daq.S b/examples/_sources/daq.S index 5d462cc..3de8ac1 100644 --- a/examples/_sources/daq.S +++ b/examples/_sources/daq.S @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: ISC +# SPDX-FileCopyrightText: 2026 Accemic Technologies GmbH + .section .text .globl _start diff --git a/examples/_sources/dualcore.S b/examples/_sources/dualcore.S index d5bc39d..9c8e63e 100644 --- a/examples/_sources/dualcore.S +++ b/examples/_sources/dualcore.S @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: ISC +# SPDX-FileCopyrightText: 2026 Accemic Technologies GmbH + .section .text .globl _start diff --git a/examples/_sources/interrupt_rfi.S b/examples/_sources/interrupt_rfi.S index 879d133..1136874 100644 --- a/examples/_sources/interrupt_rfi.S +++ b/examples/_sources/interrupt_rfi.S @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: ISC +# SPDX-FileCopyrightText: 2026 Accemic Technologies GmbH + .section .text .globl _start diff --git a/examples/_sources/memory.S b/examples/_sources/memory.S index 6d82df8..90737b0 100644 --- a/examples/_sources/memory.S +++ b/examples/_sources/memory.S @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: ISC +# SPDX-FileCopyrightText: 2026 Accemic Technologies GmbH + .section .text .globl _start diff --git a/examples/_sources/overflow.S b/examples/_sources/overflow.S index cf60544..5fa03ad 100644 --- a/examples/_sources/overflow.S +++ b/examples/_sources/overflow.S @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: ISC +# SPDX-FileCopyrightText: 2026 Accemic Technologies GmbH + .section .text .globl _start diff --git a/tools/ctxp_lint.py b/tools/ctxp_lint.py index a087f4a..c82788a 100644 --- a/tools/ctxp_lint.py +++ b/tools/ctxp_lint.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: ISC +# SPDX-FileCopyrightText: 2026 Accemic Technologies GmbH """CTXP (.ctxp.txt) linter diff --git a/tools/verify_examples.py b/tools/verify_examples.py index 3bc5815..3e959f0 100644 --- a/tools/verify_examples.py +++ b/tools/verify_examples.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: ISC +# SPDX-FileCopyrightText: 2026 Accemic Technologies GmbH """Verify that example CTXP traces look plausible with their corresponding disassembly.