Skip to content

Commit 501b920

Browse files
authored
Merge pull request #258 from abs-tudelft/fix-axi-top
Fix EXTERNAL_INST_MAP appearing in AXI top
2 parents 5548056 + b1865f0 commit 501b920

File tree

1 file changed

+1
-0
lines changed
  • codegen/cpp/fletchgen/src/fletchgen/top

1 file changed

+1
-0
lines changed

codegen/cpp/fletchgen/src/fletchgen/top/axi.cc

+1
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ std::string GenerateAXITop(const Mantle &mantle,
207207
t.Replace("EXTERNAL_INST_MAP", inst_block.ToString());
208208
} else {
209209
t.Replace("EXTERNAL_PORT_DECL", "");
210+
t.Replace("EXTERNAL_INST_MAP", "");
210211
}
211212

212213
for (auto &o : outputs) {

0 commit comments

Comments
 (0)