sst-elements icon indicating copy to clipboard operation
sst-elements copied to clipboard

[Memhierarchy] Address range assignment for spad subcomponent

Open samkitjain opened this issue 1 year ago • 2 comments

Hello all,

I am new to SST and I would like to understand how we can assign address ranges (addr_range_star & addr_range_end) to controller of memhierarchy:spads just like memHierarchy.MemController.

memctrl = sst.Component("memory", "memHierarchy.MemController")

memctrl.addParams({
"clock" : cpu_clock,
  "backend.mem_size" : "4GiB",
  "backing" : "malloc",
  "initBacking": 1,
  **"addr_range_start": 0,
  "addr_range_end": 0xffffffff,**})

I am expecting SST to route request to respective spad based on the address. I would be thankful if you could point me to an example.

Thank you!

samkitjain avatar Mar 09 '23 06:03 samkitjain

@samkitjain The scratchpads don't have that capability and are not part of the global memH address space. We are working on adding that capability. I'll leave this issue open and give an update as soon as we have one.

gvoskuilen avatar Mar 23 '23 20:03 gvoskuilen

Do you have a timeframe when the capability might be added?

josuerfi avatar Jul 05 '23 22:07 josuerfi