Skip to content

Commit

Permalink
Don't write out the _BX_GEN module for AS memories as it is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Ryd authored and aehart committed Oct 29, 2024
1 parent 4cd9d5a commit ace7648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WriteVHDLSyntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ def writeTopLevelMemoryType(mtypeB, memList, memInfo, extraports, delay = 0, spl
mem_str += " generic map (\n"+parameterlist.rstrip(",\n")+"\n )\n"
mem_str += " port map (\n"+portlist.rstrip(",\n")+"\n );\n\n"
if delay > 0:
if not memInfo.is_binned and not "in" in mem:
if not memInfo.is_binned and not "in" in mem and not "AS_" in mem:
mem_str += " "+mem+"_BX_GEN : entity work.CreateStartSignal\n"
mem_str += " generic map (\n"+delay2_parameterlist.rstrip(",\n")+"\n )\n"
mem_str += " port map (\n"+delay2_portlist.rstrip(",\n")+"\n );\n\n"
Expand Down

0 comments on commit ace7648

Please sign in to comment.