rggen / rggen

Code generation tool for control and status registers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refer configuration object from InputData object for RegisterMap

taichi-ishitani opened this issue · comments

https://github.com/taichi-ishitani/rice/blob/922ff9293f89d68e12a68cd9c9b8a15bf2aaafbd/csr/rice_csr_common.rb#L3

For this case, WORD_SIZE should be calcurated from the configuration parameter.
Add a reference to the configuration object to InputData object for RegisterMap to solve this issue.