Conditonally add external attribute for memory element #10050
Conditonally add external attribute for memory element #10050Abhilekhgautam wants to merge 2 commits intollvm:mainfrom
Conversation
|
I'm less familiar with the semantics of external memory. Perhaps @rachitnigam has some input here. |
|
IIRC, we have both I will actually pass the hot potato to @sampsyo for confirmation. |
|
Interesting! I admit I don't fully understand the original bug in #10036 (i.e., I'm not sure why some component is requiring all memories to be either As @rachitnigam says, the Calyx ecosystem is attempting to move away from If you're interested, it might be worth checking whether everything works if you were to stop emitting |
Fixes #10036
There are basically two changes:
external : truein top level component andexternal : falsefor non top level component.external(0)whenexternal: falseis set in the emitter