Change TOSA specification to signless types

Integer inputs and outputs to TOSA operators are now defined as signless
values. In most instances the operator will used signed arithmetic as
indicated in previous versions of the specification resulting in little
functional change to the specification.

New attributes have been added to the RESCALE operator to indicate
whether the input and output values should be treated as signed or unsigned.

Explicit use of static_cast, sign_extend, zero_extend and truncate are added
to the pseudocode to avoid ambiguity.

Change-Id: I71c67d3e5aeaabc418c768f821fce6ee3eebb65b
11 files changed
tree: 1784e40ad84a91e751679a4cbdf6cd33be1eefdb
  1. .gitignore
  2. .pre-commit-config.yaml
  3. Makefile
  4. README.md
  5. chapters/
  6. figures/
  7. tools/
  8. tosa.css
  9. tosa.xml
  10. tosa.xsd
  11. tosa_spec.adoc
README.md

TOSA Specification Repository

This repository contains the source files for the TOSA specification. See the specification itself for details on the purpose and definition of the specification.

Build requirements

The TOSA specification is written in asciidoc format, and has been built using the following tools:

  • Asciidoctor 1.5.5 or later (Asciidoctor)
  • Asciidoctor-pdf
  • GNU Make 4.1 or later
  • xmllint
  • Python 3.8 or later

The default make build creates both an html and a pdf version of the specification in out/html and out/pdf

If only an html build is required, make html will build only the html file, and asciidoctor-pdf is not needed.

If only a pdf build is required, make pdf will build only the pdf.