Intel® Quartus® Prime Pro Edition User Guide: Platform Designer

ID 683609
Date 10/04/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

6.4.4.2. data_source_init()

Table 146.  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.