Files
DSA/dsa

The DSA libraries form the foundation of the entire project, acting as a bridge between highlevel software and the specialized DSA hardware. Their primary responsibilities are:

  1. Instruction Set Core Library

    • Encapsulates all architectural primitives: opcodes, operand formats, and execution semantics.
    • Supplies utility functions to build, validate, and serialize instruction streams.
  2. Assembler Support

    • Translates DSA assembly language into binary instruction packets that the hardware can execute.
    • Implements directives for sectioning, alignment, and relocation handling.
  3. HighLevel Language Compiler (DSC) Runtime

    • Generates DSA bytecode from DSC source files, leveraging the core library for instruction encoding.
    • Offers debugging hooks, profiling counters, and exception handling mechanisms.
  4. Testing & Verification Utilities

    • Contains unit tests that run against both emulated and real hardware to ensure correctness.
    • Provides logging facilities for lowlevel bus transactions and performance metrics.