[Discuss OpenCPI] HDL Assembly Makefile
jek at parera.com
Tue Jun 19 09:21:28 EDT 2018
It is true that nothing in container-* should be modified since it is
all generated and cleaned.
When you are creating a non-default container (one that has interesting
connections or non-default platform configuration),
you put the container XML file in the assembly's directory and mention
it in the Containers= variable in the Makefile.
In that container XML you specifiy what is "not default" about the
container, any of:
1. Device connections of external ports of the assembly
2. Device presence (possibly parameterized) when not implied by device
connections or platform configuration
3. The Platform Configuration to use (thus implying the presence of
devices or cards).
The container file you copied has a specifically indicated platform
You probably just need to change the platform configuration indicated
there to "base".
On 6/19/18 8:58 AM, Miller, Peter wrote:
> Suppose I create a simple hdl assembly that contains one component, phy_tx_802dot11g.hdl.
> ocpidev create hdl assembly phy_tx_802dot11g_assy
> ocpidev build hdl assembly phy_tx_802dot11g_assy --hdl-platform xsim --hdl-platform zed
> From this I will get:
> I can use this assembly to create an application that, say, connects to file_write and I can run it on Centos or Zed. Now I want to make an application that connects it to qdac on the zed fmcomms3. I copy the container file "cnt_1rx_1tx_thruasm_fmcomms_2_3_lpc_LVDS_zed.xml" and modify the Makefile to add "Containers=cnt_1rx_1tx_thruasm_fmcomms_2_3_lpc_LVDS_zed" and build.
> Now a make clean and make only generates the fmcomm container and not the base.
> Question: How can I modify the makefile to specify a container for the Base container? Such that make clean, make will build the base and the config folders? Is there a "Containers=" for the base assembly?
> Peter B. Miller
> Potomac: (301) 765-9668
> --------------------------- This email and any files transmitted with it are confidential and intended solely for the use of Signalscape, Inc. and the addressed individual or entity. If you have received this email in error please delete it. Information in this email may be subject to the Privacy Act of 1974 and any unauthorized review, use, disclosure, or distribution is strictly prohibited. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.opencpi.org/pipermail/discuss_lists.opencpi.org/attachments/20180619/98f8da4c/attachment.html>
> discuss mailing list
> discuss at lists.opencpi.org
More information about the discuss