Skip to content

USE_TLM_SIGNAL implementation is broken #29

Closed

Description

@quic-egmc

With SHA 4990d15 (simplifies clint_irq signal interface) the

Image

such that DBT-RISE-RISCV no longer builds.

@eyck

Activity

  1. eyck commented on Jan 6, 2026

    @eyck
    Contributor

    Fixed with 209217e.
    Please note that the local irq signal is named clint_irq_i and has a lenngth of 32bits which maps directly to mie/mip register bits. To raise the sw interrupt, ACLINT needs to hook-up to bit 3 of the vector.
    To ease integration core_complex.h provides an anonymous enum thus providing sysc::riscv::SW_IRQ, sysc::riscv::TIMER_IRQ, and sysc::riscv::EXT_IRQ.

  2. quic-egmc commented on Jan 8, 2026

    @quic-egmc
    ContributorAuthor

    Thanks, this works well, much appreciated.

    I added an additional enum in this PR: #32 to aid in finding the start of local IRQs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions