TSystemC - LICENCE

Copyright (c) 2026 Muhammad Anisur Rahman. All rights reserved.

This package has two kinds of thing in it and they are not licensed alike, so
this licence has two parts. Part A covers the compiled programs and libraries;
Part B covers everything you are expected to read, compile or copy.

THE TEST, so that no file is in doubt: if it is a compiled program or library -
a .exe, .dll, .so, .lib, .a, .o or .obj, wherever it sits - it is under Part A.
EVERYTHING ELSE in this package is under Part B.

There is NO CHARGE for this package. Nothing in it requires a purchase, a
registration, a key or a licence server, and no royalty is payable on anything
you build or sell with it.

===============================================================================
PART A - THE COMPILED SIMULATOR, TOOLS AND LIBRARIES
===============================================================================

Covers: every compiled program and library in this package - tsystemc.exe,
tsystemc.dll, the engine libraries libsysc.a and sysc_msvc.lib, the model entry
objects, the import library, and anything else supplied as a .exe, .dll, .so,
.lib, .a, .o or .obj. In this drop they are under bin/ and lib/.

A1. WHAT YOU MAY DO

    a. Use them for any purpose, personal, academic or commercial.
    b. Link the engine libraries into your own models, simulators and virtual
       platforms, and sell or distribute what you build.
    c. Run them on as many machines as you like, for as many users as you like.
    d. Redistribute them, by themselves or inside your own product, including
       a product you charge money for.
    e. Make as many copies as you need.

A2. CONDITIONS

    a. Redistribute them UNMODIFIED, and keep this file and the COPYRIGHT file
       with them.
    b. Do not remove or alter the copyright notices.
    c. Do not reverse engineer, decompile or disassemble them, and do not try to
       reconstruct their source, except to the extent that applicable law
       expressly permits despite this condition.
    d. Do not present them as your own work, and do not use the author's name to
       promote your product without written permission.

A3. THE ENGINE SOURCE IS NOT INCLUDED

    The source of the simulation engine and of the tools is not supplied and
    this licence grants no right to it.

===============================================================================
PART B - HEADERS, EXAMPLES AND DOCUMENTATION
===============================================================================

Covers everything that is not a compiled program or library. In this drop that
is:

    include/      the public headers - the SystemC, TLM and power modeling
                  class library interface your models compile against, and
                  the C host API
    examples/     every example model, test bench and script
    docs/         the programmer guide
    README.md, RELEASE_NOTES.md

The list is an aid, not the rule. The rule is the test at the top of this file:
anything that is not a compiled program or library is under Part B.

B1. TERMS

    Permission is granted, free of charge, to any person obtaining a copy of
    these files, to use, copy, modify, merge, publish, distribute, sublicense
    and/or sell copies of them, and to permit persons to whom they are furnished
    to do so, subject to the following conditions:

    1. The above copyright notice and this permission notice must appear in all
       copies or substantial portions of the files.

    2. Neither the name of the author nor the name ChapAI Systems may be used to
       endorse or promote products derived from these files without specific
       prior written permission.

B2. WHY THIS HALF IS OPEN

    An example that may not be copied is not an example, and a header you may
    not compile is not an interface. These files exist to be taken into your own
    models and projects, so they are licensed to allow exactly that.

B3. WHAT IT DOES NOT COVER

    Nothing in Part B grants any right to the engine source, which is not part
    of this package, nor any right to modify the compiled programs or libraries
    in Part A.

===============================================================================
NO WARRANTY - APPLIES TO THE WHOLE PACKAGE
===============================================================================

THIS SOFTWARE AND ITS DOCUMENTATION ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR ITS USE.

This is simulation software: its results, including power and energy figures,
are only as accurate as the models and the numbers they are given. Validate
them against measurements or sign-off tools before basing a design decision on
them.

===============================================================================
IF THIS LICENCE IS NOT ENOUGH
===============================================================================

If your situation needs terms this licence does not give - a warranty, an
indemnity, source access, support with a response time, or permission to modify
the binaries - those are available separately. Ask.

Contact: https://chapai.ai
