You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parameterTYPE="DEFAULT", // Pass through variable for hard macro
26
+
parameterPROP="DEFAULT", // Pass through variable for hard macro
27
27
parameter CTRLW =128, // Width of asic ctrl interface
28
28
parameter TESTW =128// Width of asic test interface
29
29
)
@@ -45,15 +45,15 @@ module la_sp{{ type }}
45
45
);
46
46
47
47
// Determine which memory to select
48
-
localparamMEM_TYPE= (TYPE!="DEFAULT") ? TYPE :{%for aw, dw_select in selection_table.items() %}
48
+
localparamMEM_PROP= (PROP!="DEFAULT") ? PROP :{%for aw, dw_select in selection_table.items() %}
49
49
{%if loop.nextitem is defined %}(AW {%if loop.previtem is defined %}=={%else%}>={% endif %} {{ aw }}) ? {% endif %}{%for dw, memory in dw_select.items() %}{%if loop.nextitem is defined %}(DW >= {{dw}}) ? {% endif %}"{{ memory}}"{%if loop.nextitem is defined %} : {% endif%}{% endfor %}{%if loop.nextitem is defined %} :{%else%};{% endif %}{% endfor %}
50
50
51
51
localparam MEM_WIDTH = {%for memory, width in width_table %}
0 commit comments