Make SRAM_INIT_FILE/ROM_INIT_FILE a parameter
We want to have multiple sram instances which have a different initialization file. Currently this initialization file name is passed as define, this needs to be a parameter instead.
First discussed in lowRISC/stwg-base#472
@tjaychen have you thought about how this would work?
i should really fix this just for the ROM case.. I'll get on it tomorrow.
Since we actually have a ROM now, the multiple sram instance problem does not technically exist anymore. But if we did need to support it, my thinking would include top_earlgrey.hjson and topgen in somewhat.
In topgen we'd probably specify which init file would go where, and we'd pass that information down through the hierarchy.
@eunchan
since top_gen is using real rom now, this is not really urgent any longer.
@tjaychen if there's no need to support this anymore, suggest we close this. Thanks.
i'm fine with that, but it's really @imphil decision.
@imphil, comments? Thanks.
This issue is not resolved, we're just not running into it any more. Leaving open as enhancement request for the future.
@imphil i think you've already resolved this issue, I'll close it down.