Signal not declared when using platform_ad9361_data_sub

BP
Brian Padalino
Tue, Jan 5, 2021 3:19 PM

I am building a platform in OpenCPI v2.0.1 which has the
platform_ad9361_data_sub.  When building, I get a problem where the
on_off_clk signals are not declared.  Indeed, when I look at the generated
code in the -assy.vhd file, I see the instantiation has on_off0_in.Clk and
on_off1_in.Clk mapped to a signal that is not declared.

I am able to build my base platform without a problem, but when it tries to
build the HdlConfig that has an actual device used, the error occurs.

Is this a known issue?  Are there any workarounds?

Thanks,
Brian

I am building a platform in OpenCPI v2.0.1 which has the platform_ad9361_data_sub. When building, I get a problem where the on_off_clk signals are not declared. Indeed, when I look at the generated code in the -assy.vhd file, I see the instantiation has on_off0_in.Clk and on_off1_in.Clk mapped to a signal that is not declared. I am able to build my base platform without a problem, but when it tries to build the HdlConfig that has an actual device used, the error occurs. Is this a known issue? Are there any workarounds? Thanks, Brian
AO
Aaron Olivarez
Tue, Jan 5, 2021 4:29 PM

This is a known issue, the current workaround is to use HdlContainer
instead of HdlConfig. This is an example of a container using v2.0.1
https://gitlab.com/opencpi/opencpi/-/blob/develop/projects/assets/hdl/assemblies/data_sink_qdac_test_asm/cnt_zed_fmcomms_2_3_scdcd.xml
.

Aaron

On Tue, Jan 5, 2021 at 9:20 AM Brian Padalino bpadalino@gmail.com wrote:

I am building a platform in OpenCPI v2.0.1 which has the
platform_ad9361_data_sub.  When building, I get a problem where the
on_off_clk signals are not declared.  Indeed, when I look at the generated
code in the -assy.vhd file, I see the instantiation has on_off0_in.Clk and
on_off1_in.Clk mapped to a signal that is not declared.

I am able to build my base platform without a problem, but when it tries to
build the HdlConfig that has an actual device used, the error occurs.

Is this a known issue?  Are there any workarounds?

Thanks,
Brian

This is a known issue, the current workaround is to use HdlContainer instead of HdlConfig. This is an example of a container using v2.0.1 https://gitlab.com/opencpi/opencpi/-/blob/develop/projects/assets/hdl/assemblies/data_sink_qdac_test_asm/cnt_zed_fmcomms_2_3_scdcd.xml . Aaron On Tue, Jan 5, 2021 at 9:20 AM Brian Padalino <bpadalino@gmail.com> wrote: > I am building a platform in OpenCPI v2.0.1 which has the > platform_ad9361_data_sub. When building, I get a problem where the > on_off_clk signals are not declared. Indeed, when I look at the generated > code in the -assy.vhd file, I see the instantiation has on_off0_in.Clk and > on_off1_in.Clk mapped to a signal that is not declared. > > I am able to build my base platform without a problem, but when it tries to > build the HdlConfig that has an actual device used, the error occurs. > > Is this a known issue? Are there any workarounds? > > Thanks, > Brian >