Re: [Discuss OpenCPI] hdl platform port mapping
Devin,
Mapping a signal from the ad9361_data_sub device worker to a pin name in the XDC is certainly a valid action. To help further debug the error, can you send us the following:
1. The line in your .xdc containing PAD_PL_CAT_P1_D_6
2. Your assembly .xml
3. Your assembly Makefile
4. Your assembly container .xml
Thanks,
Brandon
________________________________
From: discuss <discuss-bounces_at_lists.opencpi.org> on behalf of Devin Ridge <devinr_at_vt.edu>
Sent: Tuesday, April 30, 2019 10:27 AM
To: discuss
Subject: [Discuss OpenCPI] hdl platform port mapping
We encountered the following error regarding external signal PAD_PL_CAT_P1_D_6
We are attempting to map the signal from the AD9361_data_sub platform worker to the correct pin name in the platform XDC file.
Included below is a subset of the device worker instance. Is there an issue with how we are mapping the ports in the platform spec?
Is it necessary to specify these signals in the hdl container and/or assembly also?
Our alternative approach is to modify the XDC file to match the pin names to the AD9361 worker port names to alleviate the need for port mapping, however we need to understand how to map the ports.
=======End generated platform configuration assembly=======
For file gen/fsk_modem_asdr_cfg_1rx_1tx_m2_cnt_1rx_1tx_thruasm_asdr.xml: in HdlContainerAssembly for fsk_modem_asdr_cfg_1rx_1tx_m2_cnt_1rx_1tx_thruasm_asdr: External signal "PAD_PL_CAT_P1_D_6" specified for signal "ad9361_data_sub_P1_D_11_6(0)" of instance "pfconfig" of worker "cfg_1rx_1tx_m2" is not an external signal of the assembly
make[3]: Entering directory `/home/hume-users/devinr/ocpi_projects/bsp_asdr/hdl/assemblies/fsk_modem/container-fsk_modem_asdr_cfg_1rx_1tx_m2_cnt_1rx_1tx_thruasm_asdr'
/opt/opencpi/cdk/include/hdl/hdl-container.mk:112: *** Failed to process initial parameters for this worker: 1. Stop.
make[3]: Leaving directory `/home/hume-users/devinr/ocpi_projects/bsp_asdr/hdl/assemblies/fsk_modem/container-fsk_modem_asdr_cfg_1rx_1tx_m2_cnt_1rx_1tx_thruasm_asdr'
make[2]: *** [container-fsk_modem_asdr_cfg_1rx_1tx_m2_cnt_1rx_1tx_thruasm_asdr/target-zynq/fsk_modem_asdr_cfg_1rx_1tx_m2_cnt_1rx_1tx_thruasm_asdr.bitz] Error 2
make[2]: Leaving directory `/home/hume-users/devinr/ocpi_projects/bsp_asdr/hdl/assemblies/fsk_modem'
make[1]: *** [fsk_modem] Error 2
make[1]: Leaving directory `/home/hume-users/devinr/ocpi_projects/bsp_asdr/hdl/assemblies'
make: *** [hdlassemblies] Error 2
In the platform spec the device worker instance port mapping is specified as:
<device worker='ad9361_data_sub'>
<Signal name='P1_D_5_0(0)' platform='PAD_PL_CAT_P1_D_0' />
<Signal name='P1_D_5_0(1)' platform='PAD_PL_CAT_P1_D_1' />
<Signal name='P1_D_5_0(2)' platform='PAD_PL_CAT_P1_D_2' />
<Signal name='P1_D_5_0(3)' platform='PAD_PL_CAT_P1_D_3' />
<Signal name='P1_D_5_0(4)' platform='PAD_PL_CAT_P1_D_4' />
<Signal name='P1_D_5_0(5)' platform='PAD_PL_CAT_P1_D_5' />
<Signal name='P1_D_11_6(0)' platform='PAD_PL_CAT_P1_D_6' />
<Signal name='P1_D_11_6(1)' platform='PAD_PL_CAT_P1_D_7' />
<Signal name='P1_D_11_6(2)' platform='PAD_PL_CAT_P1_D_8' />
<Signal name='P1_D_11_6(3)' platform='PAD_PL_CAT_P1_D_9' />
<Signal name='P1_D_11_6(4)' platform='PAD_PL_CAT_P1_D_10' />
<Signal name='P1_D_11_6(5)' platform='PAD_PL_CAT_P1_D_11' />
</device>
Devin
Received on Tue Apr 30 2019 - 15:34:05 CDT
This archive was generated by hypermail 2.3.0
: Fri Jun 05 2026 - 08:45:25 CDT