Skip to content

StaticOrRuntimeParameter does not check for name on Runtime Logic signal #235

@desmonddak

Description

@desmonddak

Describe the bug

When passing a Logic() as a parameter to configure additional hardware in a component, the StaticOrRuntimeParameter class must add an input and it uses the name of the Logic with which it was constructed to declare the input. But if the Logic has no name, then this will fail.

To Reproduce

CompressionTreeMultiplier(Logic(), Logic(), signedMultiplicand: Logic(), signedMultiplier: Logic())

This will fail when creating signal inputs for the two parameters.

Expected behavior

No response

Actual behavior

No response

Additional: Dart SDK info

No response

Additional: pubspec.yaml

Additional: Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions