Skip to content

Timer does not build if NUM_TIMERS is set to 1 #7

@omeh-a

Description

@omeh-a

The timer will fail to build with a vague error of the form

ERROR: [Synth 8-523] part-select [3:4] does not match declaration apb_timer/src/apb_timer.sv:37]

... if NUM_TIMERS is set to 1. This seems to be an edge case that is unhandled due how $clog2 is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions