Skip to content

add_pin_groups does not work as expected for a mix of individual pins and pin groups #69

Description

@Dieleman

For pin definition:
add_pins :target, size: 2, direction: :input, reset: :drive_lo
add_pin :nadd, direction: :input, reset: :drive_lo
add_pin :ee_n, direction: :input, reset: :drive_hi
add_pin :oscx, direction: :input, reset: :drive_lo
add_pin :prech, direction: :input, reset:

add_pin_group :kalos_all_pins, :nadd, :ee_n, :oscx, :prech
Correctly gives $dut.pins(:kalos_all_pins).size => 4

add_pin_group :kalos_all_pins, :nadd, :ee_n, :oscx, :prech, :target
However gives $dut.pins(:kalos_all_pins).size => 2

So adding another pingroup (:target) somehow resets the master group

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