Re: [Discuss OpenCPI] Using HDL Devices in Out-of-tree Projects

From: James Kulp <jek_at_parera.com>
Date: Thu, 23 Apr 20 14:09:43 -0400

On 4/23/20 1:35 PM, Brian Padalino wrote:
> On Thu, Apr 23, 2020 at 1:29 PM James Kulp <jek_at_parera.com
> <mailto:jek_at_parera.com>> wrote:
>
> THis is probably because your XML says it is device?
>
>
> Wow, thanks.  HdlWorker versus HdlDevice.
>
> Brian

For anyone who cares, this happens because HDL workers actually fall
into three categories indicating where they may be instanced in the design.

Application workers are only instanced in the HDL Assembly, and for
various reasons, the generated HDL assembly code is actually in Verilog.

Device workers are only instanced in platform configurations and
containers, and, for various reasons, the generated HDL assembly at that
level is VHDL.

Adapter workers (inserted automatically) may be instanced in either
place and are thus generated for both types of instantiations.

The _rv cores/edfs are for VHDL instantiation, whereas the cores/edfs
without the suffix  are for Verilog instantiation.

So application workers use the HdlWorker XML tag.

Device workers use the HdlDevice XML tag.

Adapter workers use the HdlImplementation XML tag.

Jim








Received on Thu Apr 23 2020 - 18:09:43 CDT

This archive was generated by hypermail 2.3.0 : Fri Jun 05 2026 - 08:45:25 CDT