Quartus® Prime Pro Edition User Guide: Platform Designer

ID 683609
Date 7/08/2024
Public
Document Table of Contents

6.4.4.2. data_source_init()

Table 150.  data_source_init()
Information Type Description

Prototype

int data_source_init(alt_u32 base, alt_u32 command_base);

Thread-safe

No

Include

< data_source_util.h >

Parameters

base—Base address of the control and status agent.

command_base—Base address of the command agent.

Returns

1—Initialization is successful.

0—Initialization is unsuccessful.

Description

Performs the following operations to initialize the Avalon® Data Pattern Generator IP:

  • Resets and disables the Avalon® Data Pattern Generator IP.
  • Sets the maximum throttle.
  • Clears all inserted errors.