Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: GEM_AMC Address Table Does Not have XInclude Lines #20

Closed
bdorney opened this issue Mar 7, 2018 · 1 comment
Closed

Bug Report: GEM_AMC Address Table Does Not have XInclude Lines #20

bdorney opened this issue Mar 7, 2018 · 1 comment

Comments

@bdorney
Copy link

bdorney commented Mar 7, 2018

Right now when updating the address table used on a host machine it does not have the appropriate XInclude lines to catch the OH address table as described:

cms-gem-daq-project/xhal#36

This requires a user to undergo tedious actions, e.g. insert the lines by hand each time, when updating address tables.

Specifically:

Remove the lines:

<node id=top>
...
</node>

Then change the GEM_AMC node declaration too:

<node id='GEM_AMC' xmlns:xi="http://www.w3.org/2001/XInclude">

Finally as shown in the xhal pull request above, just following the line in the OH${OH_IDX} node just before the GEB node add:

<xi:include href="optohybrid_registers.xml"/>

The resulting part of xml should look like this:

     <node id="OH${OH_IDX}"  address="0x0"
            description="Optohybrid ${OH_IDX}"
            generate="true" generate_size="2" generate_address_step="0x00010000" generate_idx_var="OH_IDX">

        <!--Insert here the OH FPGA module -->
        <xi:include href="optohybrid_registers.xml"/>

        <node id="GEB"  address="0x100000"
              description="VFAT3 registers"> 

Could the next release of AMC FW include this update to the address table as was requested in the past?

Issue exists in: GEM_AMC release v3.4.3.

@mexanick @jsturdy @evka85 @andrewpeck

@bdorney
Copy link
Author

bdorney commented May 13, 2019

Issue is no longer present in releases beyond 3.7.X

@bdorney bdorney closed this as completed May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant