Skip to content

Commit

Permalink
Address tables: Remove id attribute from root nodes. See #170
Browse files Browse the repository at this point in the history
  • Loading branch information
tswilliams committed Mar 21, 2020
1 parent e3ccf13 commit b3a0e25
Show file tree
Hide file tree
Showing 18 changed files with 34 additions and 14 deletions.
4 changes: 3 additions & 1 deletion components/ipbus_slaves/addr_table/ipbus_axi4lite_master.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<node id="ipbus_axi4lite_master" fwinfo="endpoint;width=3">
<?xml version="1.0" encoding="ISO-8859-1"?>

<node fwinfo="endpoint;width=3">

<node id="ctrl" address="0x00000000" permission="rw">
<!-- Access mode: 0 = read, 1 = write. -->
Expand Down
2 changes: 2 additions & 0 deletions components/ipbus_slaves/addr_table/ipbus_freq_ctr.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<node description="Frequency counter" fwinfo="endpoint;width=1">
<node id="ctrl" address="0x0">
<node id="chan_sel" mask="0xf"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<node id="ipbus_device_dna" fwinfo="endpoint; width=2">
<node fwinfo="endpoint; width=2">

<!-- The Xilinx device DNA (for UltraScale and UltraScale+ devices)
is a 96-bit value. -->
Expand Down
4 changes: 3 additions & 1 deletion components/ipbus_util/addr_table/ipbus_example.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<node id="TOP">
<?xml version="1.0" encoding="ISO-8859-1"?>

<node>
<node id="csr" address="0x0" description="ctrl/stat register" fwinfo="endpoint;width=1">
<node id="ctrl" address="0x0">
<node id="rst" mask="0x1"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<node id="TOP">
<?xml version="1.0" encoding="ISO-8859-1"?>

<node>

<node id="device_dna"
module="file://ipbus_device_dna_us_usp.xml"
Expand Down
4 changes: 3 additions & 1 deletion components/ipbus_util/addr_table/ipbus_example_xilinx_x7.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<node id="TOP">
<?xml version="1.0" encoding="ISO-8859-1"?>

<node>

<!-- NOTE: Remember that the lower nine bits are sent straight to
the sysmon. So keep this at an appropriate offset from 0x0. -->
Expand Down
2 changes: 1 addition & 1 deletion components/ipbus_util/addr_table/ipbus_icap.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<node id="ipbus_icap" fwinfo="endpoint; width=3">
<node fwinfo="endpoint; width=3">

<node id="access_mode" address="0x00000000" mask="0x00000003" />
<node id="access_strobe" address="0x00000000" mask="0x00000004" />
Expand Down
2 changes: 1 addition & 1 deletion components/ipbus_util/addr_table/ipbus_iprog.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<node id="ipbus_iprog" fwinfo="endpoint; width=1">
<node fwinfo="endpoint; width=1">

<node id="reconfigure" address="0x00000000" mask="0x00000001" />
<node id="address" address="0x00000001" mask="0xffffffff" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<node id="sysmon_us_ext_ref" fwinfo="endpoint; width=8">
<node fwinfo="endpoint; width=8">

<!-- NOTE: Since the lower nine bits of the address are passed
straigh to the DRP side of the sysmon, one should not
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<node id="sysmon_us_int_ref" fwinfo="endpoint; width=8">
<node fwinfo="endpoint; width=8">

<!-- NOTE: Since the lower nine bits of the address are passed
straigh to the DRP side of the sysmon, one should not
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<node id="sysmon_usp_ext_ref" fwinfo="endpoint; width=8">
<node fwinfo="endpoint; width=8">

<!-- NOTE: Since the lower nine bits of the address are passed
straigh to the DRP side of the sysmon, one should not
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<node id="sysmon_usp_int_ref" fwinfo="endpoint; width=8">
<node fwinfo="endpoint; width=8">

<!-- NOTE: Since the lower nine bits of the address are passed
straigh to the DRP side of the sysmon, one should not
Expand Down
2 changes: 1 addition & 1 deletion components/ipbus_util/addr_table/ipbus_sysmon_x7.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<node id="sysmon_x7" fwinfo="endpoint; width=8">
<node fwinfo="endpoint; width=8">

<!-- NOTE: Since the lower nine bits of the address are passed
straigh to the DRP side of the sysmon, one should not
Expand Down
2 changes: 2 additions & 0 deletions components/ipbus_util/addr_table/trans_buffer_test.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<node description="Transactor interface test block" size="0x2" tags="slave">
<node id="w" address="0x0"/>
<node id="r" address="0x1"/>
Expand Down
2 changes: 2 additions & 0 deletions components/opencores_i2c/addr_table/opencores_i2c.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<node description="I2C master controller" fwinfo="endpoint;width=3">
<node id="ps_lo" address="0x0" description="Prescale low byte"/>
<node id="ps_hi" address="0x1" description="Prescale low byte"/>
Expand Down
2 changes: 2 additions & 0 deletions components/opencores_spi/addr_table/opencores_spi.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<node description="SPI master controller" fwinfo="endpoint;width=3">
<node id="d0" address="0x0" description="Data reg 0"/>
<node id="d1" address="0x1" description="Data reg 1"/>
Expand Down
4 changes: 3 additions & 1 deletion tests/ctr_slaves/addr_table/ctr_slaves_tester.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<node id="TOP">
<?xml version="1.0" encoding="ISO-8859-1"?>

<node>
<node id="csr" address="0x0" description="control/status registers" fwinfo="endpoint;width=1">
<node id="ctrl" address="0x0">
<node id="rst" mask="0x1"/>
Expand Down
4 changes: 3 additions & 1 deletion tests/ram_slaves/addr_table/ram_slaves_tester.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<node id="TOP">
<?xml version="1.0" encoding="ISO-8859-1"?>

<node>
<node id="csr" address="0x0" description="ctrl/stat register" fwinfo="endpoint;width=1">
<node id="ctrl" address="0x0">
<node id="rst" mask="0x1"/>
Expand Down

0 comments on commit b3a0e25

Please sign in to comment.