Skip to content

Vector Source and Sink needed for testing of blocks #15

@TheWylieStCoyote

Description

@TheWylieStCoyote

Proposal

Add Vector Source and Vector Sink blocks to the GNU Radio 4 core block set.

Motivation

Vector Source and Vector Sink are useful utility blocks for testing, development, and validation of GNU Radio blocks and flowgraphs. They make it easier to construct deterministic test cases, inspect block behavior, and write simple flowgraph-level tests without requiring external I/O.

Because these blocks are broadly useful across many block implementations and test scenarios, they seem like good candidates for inclusion in GNU Radio 4 core rather than remaining only in an incubator or example module.

Existing implementation

An initial implementation was added in the GNU Radio 4 incubator here:

gnuradio/gr4-incubator#12

That PR includes Vector Source and Vector Sink blocks along with tests. It is likely missing some desired functionality to aid with testing and development

Open questions / requested review

The existing implementation may need review before being moved into core, especially around:

  • API design and naming
  • Expected runtime behavior
  • Types supported
  • Documentation and block descriptions
  • Test coverage
  • Muti-channel inputs and outputs
  • Whether the current behavior matches the intended long-term semantics for GNU Radio 4

Suggested next step

Use the incubator implementation as a starting point, review the block behavior and API, and determine whether Vector Source and Vector Sink should be promoted into the GNU Radio 4 core block set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions