AppPkg Constants
The AppPkg package declares application-wide VHDL constants tying RTL
generics to PyRogue parameters. The values below are sourced verbatim from
firmware/shared/rtl/AppPkg.vhd.
Constant |
Value |
Description |
|---|---|---|
|
|
Samples per |
|
|
Number of DMA lanes. Lane 0 carries ADC/DAC ring buffer data; lane 1 is hard-wired loopback for debug. |
|
|
AXI-Lite clock frequency, register-access domain. |
|
|
Derived AXI-Lite clock period. |
Package declaration excerpt:
package AppPkg is
constant SAMPLE_PER_CYCLE_C : positive := 16;
-------------------------------------------------
-- DMA[lane=0].inbound = ADC/DAC ring buffers
-- DMA[lane=1] = loopback debugging
-------------------------------------------------
constant DMA_SIZE_C : positive := 2;
constant AXIL_CLK_FREQ_C : real := 100.0E+6; -- Units of Hz
constant AXIL_CLK_PERIOD_C : real := (1.0/AXIL_CLK_FREQ_C); -- Units of seconds
end package AppPkg;
See firmware/shared/rtl/AppPkg.vhd for the full source.
For the platform-level Slv256Array type definition and the surf
standard packages that AppPkg imports, see
reference/register_map.html.