File: LvFpga_Chinch_Interface.vh

package info (click to toggle)
uhd 3.15.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 202,252 kB
  • sloc: cpp: 182,756; ansic: 94,109; vhdl: 53,420; python: 45,849; xml: 12,956; tcl: 7,046; makefile: 2,248; sh: 1,741; pascal: 230; javascript: 120; csh: 94; asm: 20; perl: 11
file content (35 lines) | stat: -rw-r--r-- 1,532 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
-------------------------------------------------------------------------------
--
-- File: LvFpga_Chinch_Interface.vh
-- Author: Ashish Chaudhari
-- Original Project: EttusUsrpB250Top
-- Date: 1 Oct 2013
--
-------------------------------------------------------------------------------
-- (c) 2013 Copyright National Instruments Corporation
-- All Rights Reserved
-- National Instruments Internal Information
-------------------------------------------------------------------------------
*/

//Physical link width for the IoPort2 interface to the STC3
`define LVFPGA_IFACE_LINK_WIDTH         16

//DMA Related Constants
`define LVFPGA_IFACE_DMA_CHAN_WIDTH     64	//DMA data bus width
`define LVFPGA_IFACE_DMA_SIZE_WIDTH     11	//DMA FIFO fullness count width
`define LVFPGA_IFACE_NUM_RX_DMA_CNT     6	//Number of RX DMA channels
`define LVFPGA_IFACE_NUM_TX_DMA_CNT     6	//Number of TX DMA channels
`define LVFPGA_IFACE_RX_DMA_INDEX       0	//Index for the first RX DMA channel
`define LVFPGA_IFACE_TX_DMA_INDEX       6	//Index for the first TX DMA channel

//User register port constants
`define LVFPGA_IFACE_UREG_ADDR_WIDTH    20	//Address width
`define LVFPGA_IFACE_UREG_DATA_WIDTH    32	//Payload width
`define LVFPGA_IFACE_UREG_SIZE_WIDTH    2	//Transaction size width

//Chinch register port constants
`define LVFPGA_IFACE_CREG_ADDR_WIDTH    32	//Address width
`define LVFPGA_IFACE_CREG_DATA_WIDTH    64	//Payload width
`define LVFPGA_IFACE_CREG_SIZE_WIDTH    2	//Transaction size width