SystemRDL / systemrdl-compiler

SystemRDL 2.0 language compiler front-end
http://systemrdl-compiler.readthedocs.io
MIT License
236 stars 68 forks source link

Minor documentation bug? #3

Closed lurch closed 6 years ago

lurch commented 6 years ago

In https://github.com/SystemRDL/systemrdl-compiler/blob/master/docs/model_structure.rst the text says:

addrmap top {
    my_reg_t A;
    my_reg_t B[4];
};

but then in the picture underneath it, it shows:

   A              B
 (reg)          (reg)
dim=[4]

Seems to be a mismatch about whether A or B is using an array?

amykyta3 commented 6 years ago

Good catch. Thanks for reporting it!