How to Duplicate an Existing Register Map

It’s now possible to duplicate an existing register map in airhdl.

For that, just click on the “Duplicate register map” link at the bottom of the register maps list:

2017-10-15_11-46-41

This will bring up the “Duplicate register map” dialog, where you can select which register map you’d like to clone:

2017-10-15_11-49-14

The freshly created register map has the same name as the original one, but with a “- COPY” suffix:

2017-10-15_11-51-44

Of course,¬†as register map names are not allowed to contains spaces and dashes, that’s not a valid identifier. So you will need to to rename it by selecting the “edit register map” function in the register map overview:

2017-10-15_11-55-24

And then changing its name to a valid identifier:

2017-10-15_11-56-27

If you like watching videos, here’s a short demonstration of the “duplicate register map” feature:

Published by

Guy Eschemann

FPGA consultant

Leave a Reply

Your email address will not be published. Required fields are marked *