Skip to content

Wrappers of custom bitwidths #16

@definelicht

Description

@definelicht

Christian Lutzweiler has suggested making wrapper types and utility functions supporting custom bitwidths. Features could include:

  • Portable custom bitwidth type (Xilinx uses ap_uint, OpenCL doesn't support it, i++ might have something).
  • Utility functions for determining bitwidths (e.g., using hlslib::ConstLog2).
  • Conversion functions between different bitwidths, potentially emitting compile-time errors if not explicitly overwritten for unsafe conversions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions