Skip to content
Discussion options

You must be logged in to vote

I would actually recommend approaching this slightly differently: Call peakrdl regblock separately, multiple times, once per block.

Consider the following example:

addrmap device_a {
    ...
};

addrmap device_b {
    ...
};

addrmap device_c {
    ...
};

addrmap chip_top {
    device_a A @ 0x1_0000;
    device_b B @ 0x1_1000;
    device_c[16] C @ 0x2_0000 += 0x1000;
};

Assuming devices A, B, and C all require their own regblock export, do the following from your command-line:

peakrdl regblock <input files> --top device_a ...
peakrdl regblock <input files> --top device_b ...
peakrdl regblock <input files> --top device_c ...

The remaining chip_top addrmap is not used in any export other …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@RasmusGOlsen
Comment options

@galaviel
Comment options

@galaviel
Comment options

@RasmusGOlsen
Comment options

@amykyta3
Comment options

Answer selected by galaviel
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants