1 | ################################################################### |
---|
2 | # Copyright (c) 2013 Mango Communications |
---|
3 | # All Rights Reserved |
---|
4 | # This code is covered by the WARP license |
---|
5 | # See http://warpproject.org/license/ for details |
---|
6 | ################################################################### |
---|
7 | |
---|
8 | BEGIN fmc_bb_4da_bridge |
---|
9 | |
---|
10 | ## Peripheral Options |
---|
11 | OPTION IPTYPE = PERIPHERAL |
---|
12 | OPTION IMP_NETLIST = TRUE |
---|
13 | OPTION HDL = VERILOG |
---|
14 | OPTION ARCH_SUPPORT_MAP = (virtex6=DEVELOPMENT) |
---|
15 | OPTION USAGE_LEVEL = BASE_USER |
---|
16 | OPTION DESC = Mango FMC-BB-4DA bridge |
---|
17 | OPTION IP_GROUP = USER |
---|
18 | OPTION RUN_NGCBUILD = FALSE |
---|
19 | OPTION STYLE = HDL |
---|
20 | |
---|
21 | IO_INTERFACE IO_IF = ext_dac_ports, IO_TYPE = MANGO_4DABRIDGE_V1 |
---|
22 | IO_INTERFACE IO_IF = user_ports, IO_TYPE = MANGO_4DABRIDGE_V1 |
---|
23 | |
---|
24 | PARAMETER C_FAMILY = virtex6, DT = STRING |
---|
25 | |
---|
26 | PARAMETER USER_DAC_A_BITS = 12, DT = INTEGER, RANGE = (12:16), DESC = "Bit width of user_DAC_A port; only 12 MSB will be used", PERMIT=BASE_USER |
---|
27 | PARAMETER USER_DAC_B_BITS = 12, DT = INTEGER, RANGE = (12:16), DESC = "Bit width of user_DAC_B port; only 12 MSB will be used", PERMIT=BASE_USER |
---|
28 | PARAMETER USER_DAC_C_BITS = 12, DT = INTEGER, RANGE = (12:16), DESC = "Bit width of user_DAC_C port; only 12 MSB will be used", PERMIT=BASE_USER |
---|
29 | PARAMETER USER_DAC_D_BITS = 12, DT = INTEGER, RANGE = (12:16), DESC = "Bit width of user_DAC_D port; only 12 MSB will be used", PERMIT=BASE_USER |
---|
30 | |
---|
31 | #################################################################################### |
---|
32 | ## User Ports |
---|
33 | ## The user must connect sources to these ports in XPS in order to use |
---|
34 | ## the 4DA board. The rest of the board's connections are made automatically |
---|
35 | #################################################################################### |
---|
36 | PORT sys_samp_clk = "", DIR = I, IO_IF = user_ports, IO_IS = sampClkTx, SIGIS = CLK, ASSIGNMENT = REQUIRE |
---|
37 | PORT sys_samp_clk_90 = "", DIR = I, IO_IF = user_ports, IO_IS = sampClkTx90, SIGIS = CLK, ASSIGNMENT = REQUIRE |
---|
38 | |
---|
39 | PORT user_DAC_A = "", DIR = I, VEC = [0:USER_DAC_A_BITS-1], IO_IF = user_ports, IO_IS = user_DAC_A |
---|
40 | PORT user_DAC_B = "", DIR = I, VEC = [0:USER_DAC_B_BITS-1], IO_IF = user_ports, IO_IS = user_DAC_B |
---|
41 | |
---|
42 | PORT user_DAC_C = "", DIR = I, VEC = [0:USER_DAC_C_BITS-1], IO_IF = user_ports, IO_IS = user_DAC_C |
---|
43 | PORT user_DAC_D = "", DIR = I, VEC = [0:USER_DAC_D_BITS-1], IO_IF = user_ports, IO_IS = user_DAC_D |
---|
44 | |
---|
45 | #### |
---|
46 | # Bridge -> Board ports |
---|
47 | #### |
---|
48 | PORT DAC_AB_DB = "", DIR = O, VEC = [13:0], IO_IS = DAC_AB_DB, ENDIAN = LITTLE, IO_IF = ext_dac_ports |
---|
49 | PORT DAC_CD_DB = "", DIR = O, VEC = [13:0], IO_IS = DAC_AB_DB, ENDIAN = LITTLE, IO_IF = ext_dac_ports |
---|
50 | |
---|
51 | PORT DAC_AB_CLK = "", DIR = O, IO_IS = DAC_AB_CLK, IO_IF = ext_dac_ports |
---|
52 | PORT DAC_CD_CLK = "", DIR = O, IO_IS = DAC_AB_CLK, IO_IF = ext_dac_ports |
---|
53 | |
---|
54 | PORT DAC_AB_PINMD = "", DIR = O, IO_IS = DAC_AB_PINMD, IO_IF = ext_dac_ports |
---|
55 | PORT DAC_AB_CLKMD = "", DIR = O, IO_IS = DAC_AB_CLKMD, IO_IF = ext_dac_ports |
---|
56 | PORT DAC_AB_FORMAT = "", DIR = O, IO_IS = DAC_AB_FORMAT, IO_IF = ext_dac_ports |
---|
57 | PORT DAC_AB_PWDN = "", DIR = O, IO_IS = DAC_AB_PWDN, IO_IF = ext_dac_ports |
---|
58 | |
---|
59 | PORT DAC_CD_PINMD = "", DIR = O, IO_IS = DAC_CD_PINMD, IO_IF = ext_dac_ports |
---|
60 | PORT DAC_CD_CLKMD = "", DIR = O, IO_IS = DAC_CD_CLKMD, IO_IF = ext_dac_ports |
---|
61 | PORT DAC_CD_FORMAT = "", DIR = O, IO_IS = DAC_CD_FORMAT, IO_IF = ext_dac_ports |
---|
62 | PORT DAC_CD_PWDN = "", DIR = O, IO_IS = DAC_CD_PWDN, IO_IF = ext_dac_ports |
---|
63 | |
---|
64 | END |
---|