Skip to content

Generating negative upper bounds for ranges #2

Description

@skorsky

For the input

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<wbdevice author="M. Skorsky" version="0.0.1" email="m.skorsky@gsi.de">
  
  <clockdomain name="sys"></clockdomain>

  <slaveinterface name="wb_counter" data="32" type="pipelined" pages="0">         
    <sdb vendorID="GSI" productID="0x78812200" version="1" date="auto" name="Counter in a slave"></sdb>
    <registers>
      <reg name="counter0" read="yes" comment="Data Counter 0"></reg>
    </registers>
  </slaveinterface>

</wbdevice>

I get

  sp : wb_skidpad
  generic map(
    g_adrbits   => -2
  )

in WB_Counter_auto.vhd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions