SimpleVOut  1.0.0 Initial
A Simple FPGA Core for Creating VGA/DVI/HDMI/OpenLDI Signals
ps7_init_gpl.c File Reference
#include "ps7_init_gpl.h"
#include "xil_io.h"
Include dependency graph for ps7_init_gpl.c:

Go to the source code of this file.

Macros

#define PS7_MASK_POLL_TIME   100000000
 

Functions

char * getPS7MessageInfo (unsigned key)
 
unsigned long ps7GetSiliconVersion ()
 
void mask_write (unsigned long add, unsigned long mask, unsigned long val)
 
int mask_poll (unsigned long add, unsigned long mask)
 
unsigned long mask_read (unsigned long add, unsigned long mask)
 
int ps7_config (unsigned long *ps7_config_init)
 
int ps7_post_config ()
 
int ps7_debug ()
 
int ps7_init ()
 
void perf_start_clock (void)
 
void perf_reset_clock (void)
 
int get_number_of_cycles_for_delay (unsigned int delay)
 
void perf_disable_clock (void)
 
void perf_reset_and_start_timer ()
 

Variables

unsigned long ps7_pll_init_data_3_0 []
 
unsigned long ps7_clock_init_data_3_0 []
 
unsigned long ps7_ddr_init_data_3_0 []
 
unsigned long ps7_mio_init_data_3_0 []
 
unsigned long ps7_peripherals_init_data_3_0 []
 
unsigned long ps7_post_config_3_0 []
 
unsigned long ps7_debug_3_0 []
 
unsigned long ps7_pll_init_data_2_0 []
 
unsigned long ps7_clock_init_data_2_0 []
 
unsigned long ps7_ddr_init_data_2_0 []
 
unsigned long ps7_mio_init_data_2_0 []
 
unsigned long ps7_peripherals_init_data_2_0 []
 
unsigned long ps7_post_config_2_0 []
 
unsigned long ps7_debug_2_0 []
 
unsigned long ps7_pll_init_data_1_0 []
 
unsigned long ps7_clock_init_data_1_0 []
 
unsigned long ps7_ddr_init_data_1_0 []
 
unsigned long ps7_mio_init_data_1_0 []
 
unsigned long ps7_peripherals_init_data_1_0 []
 
unsigned long ps7_post_config_1_0 []
 
unsigned long ps7_debug_1_0 []
 
unsigned long * ps7_mio_init_data = ps7_mio_init_data_3_0
 
unsigned long * ps7_pll_init_data = ps7_pll_init_data_3_0
 
unsigned long * ps7_clock_init_data = ps7_clock_init_data_3_0
 
unsigned long * ps7_ddr_init_data = ps7_ddr_init_data_3_0
 do we need to make this name more unique ? More...
 
unsigned long * ps7_peripherals_init_data = ps7_peripherals_init_data_3_0
 

Detailed Description

This file is automatically generated

Definition in file ps7_init_gpl.c.

Macro Definition Documentation

◆ PS7_MASK_POLL_TIME

#define PS7_MASK_POLL_TIME   100000000

Definition at line 12076 of file ps7_init_gpl.c.

Function Documentation

◆ get_number_of_cycles_for_delay()

int get_number_of_cycles_for_delay ( unsigned int  delay)

Definition at line 12338 of file ps7_init_gpl.c.

References APU_FREQ.

Referenced by ps7_config().

Here is the caller graph for this function:

◆ getPS7MessageInfo()

char* getPS7MessageInfo ( unsigned  key)

◆ mask_poll()

int mask_poll ( unsigned long  add,
unsigned long  mask 
)

Definition at line 12111 of file ps7_init_gpl.c.

References PS7_MASK_POLL_TIME.

◆ mask_read()

unsigned long mask_read ( unsigned long  add,
unsigned long  mask 
)

Definition at line 12124 of file ps7_init_gpl.c.

◆ mask_write()

void mask_write ( unsigned long  add,
unsigned long  mask,
unsigned long  val 
)

Definition at line 12104 of file ps7_init_gpl.c.

◆ perf_disable_clock()

void perf_disable_clock ( void  )

Definition at line 12346 of file ps7_init_gpl.c.

References SCU_GLOBAL_TIMER_CONTROL.

Referenced by perf_reset_clock().

Here is the caller graph for this function:

◆ perf_reset_and_start_timer()

void perf_reset_and_start_timer ( )

Definition at line 12351 of file ps7_init_gpl.c.

References perf_reset_clock(), and perf_start_clock().

Referenced by ps7_config().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ perf_reset_clock()

void perf_reset_clock ( void  )

Definition at line 12330 of file ps7_init_gpl.c.

References perf_disable_clock(), SCU_GLOBAL_TIMER_COUNT_L32, and SCU_GLOBAL_TIMER_COUNT_U32.

Referenced by perf_reset_and_start_timer().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ perf_start_clock()

void perf_start_clock ( void  )

Definition at line 12321 of file ps7_init_gpl.c.

References SCU_GLOBAL_TIMER_CONTROL.

Referenced by perf_reset_and_start_timer().

Here is the caller graph for this function:

◆ ps7_config()

int ps7_config ( unsigned long *  ps7_config_init)

Definition at line 12134 of file ps7_init_gpl.c.

References get_number_of_cycles_for_delay(), OPCODE_CLEAR, OPCODE_EXIT, OPCODE_MASKDELAY, OPCODE_MASKPOLL, OPCODE_MASKWRITE, OPCODE_WRITE, perf_reset_and_start_timer(), PS7_INIT_CORRUPT, PS7_INIT_SUCCESS, PS7_INIT_TIMEOUT, and PS7_MASK_POLL_TIME.

Referenced by ps7_debug(), ps7_init(), and ps7_post_config().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ps7_debug()

int ps7_debug ( )

Definition at line 12238 of file ps7_init_gpl.c.

References PCW_SILICON_VERSION_1, PCW_SILICON_VERSION_2, ps7_config(), ps7_debug_1_0, ps7_debug_2_0, ps7_debug_3_0, PS7_INIT_SUCCESS, and ps7GetSiliconVersion().

Here is the call graph for this function:

◆ ps7_init()

◆ ps7_post_config()

int ps7_post_config ( )

◆ ps7GetSiliconVersion()

unsigned long ps7GetSiliconVersion ( )

Definition at line 12096 of file ps7_init_gpl.c.

Referenced by ps7_debug(), ps7_init(), and ps7_post_config().

Here is the caller graph for this function:

Variable Documentation

◆ ps7_clock_init_data

unsigned long* ps7_clock_init_data = ps7_clock_init_data_3_0

Definition at line 12214 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_clock_init_data_1_0

unsigned long ps7_clock_init_data_1_0[]

Definition at line 8280 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_clock_init_data_2_0

unsigned long ps7_clock_init_data_2_0[]

Definition at line 4192 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_clock_init_data_3_0

unsigned long ps7_clock_init_data_3_0[]

Definition at line 257 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_ddr_init_data

unsigned long* ps7_ddr_init_data = ps7_ddr_init_data_3_0

do we need to make this name more unique ?

Definition at line 12215 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_ddr_init_data_1_0

unsigned long ps7_ddr_init_data_1_0[]

Definition at line 8497 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_ddr_init_data_2_0

unsigned long ps7_ddr_init_data_2_0[]

Definition at line 4409 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_ddr_init_data_3_0

unsigned long ps7_ddr_init_data_3_0[]

Definition at line 474 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_debug_1_0

unsigned long ps7_debug_1_0[]

Definition at line 12042 of file ps7_init_gpl.c.

Referenced by ps7_debug().

◆ ps7_debug_2_0

unsigned long ps7_debug_2_0[]

Definition at line 8021 of file ps7_init_gpl.c.

Referenced by ps7_debug().

◆ ps7_debug_3_0

unsigned long ps7_debug_3_0[]

Definition at line 3933 of file ps7_init_gpl.c.

Referenced by ps7_debug().

◆ ps7_mio_init_data

unsigned long* ps7_mio_init_data = ps7_mio_init_data_3_0

Definition at line 12212 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_mio_init_data_1_0

unsigned long ps7_mio_init_data_1_0[]

Definition at line 9737 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_mio_init_data_2_0

unsigned long ps7_mio_init_data_2_0[]

Definition at line 5713 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_mio_init_data_3_0

unsigned long ps7_mio_init_data_3_0[]

Definition at line 1626 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_peripherals_init_data

unsigned long* ps7_peripherals_init_data = ps7_peripherals_init_data_3_0

Definition at line 12216 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_peripherals_init_data_1_0

unsigned long ps7_peripherals_init_data_1_0[]

Definition at line 11725 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_peripherals_init_data_2_0

unsigned long ps7_peripherals_init_data_2_0[]

Definition at line 7704 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_peripherals_init_data_3_0

unsigned long ps7_peripherals_init_data_3_0[]

Definition at line 3614 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_pll_init_data

unsigned long* ps7_pll_init_data = ps7_pll_init_data_3_0

Definition at line 12213 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_pll_init_data_1_0

unsigned long ps7_pll_init_data_1_0[]

Definition at line 8053 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_pll_init_data_2_0

unsigned long ps7_pll_init_data_2_0[]

Definition at line 3965 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_pll_init_data_3_0

unsigned long ps7_pll_init_data_3_0[]

Definition at line 30 of file ps7_init_gpl.c.

Referenced by ps7_init().

◆ ps7_post_config_1_0

unsigned long ps7_post_config_1_0[]

Definition at line 11932 of file ps7_init_gpl.c.

Referenced by ps7_post_config().

◆ ps7_post_config_2_0

unsigned long ps7_post_config_2_0[]

Definition at line 7911 of file ps7_init_gpl.c.

Referenced by ps7_post_config().

◆ ps7_post_config_3_0

unsigned long ps7_post_config_3_0[]

Definition at line 3815 of file ps7_init_gpl.c.

Referenced by ps7_post_config().