Remove use of in-scope initial assignments to automatics to work around bug in Spyglass lint tool. #87
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
{%- import 'field_logic/templates/counter_macros.sv' as counter_macros with context -%}
|
||||
// Field: {{node.get_path()}}
|
||||
always_comb begin
|
||||
automatic logic [{{node.width-1}}:0] next_c = {{field_logic.get_storage_identifier(node)}};
|
||||
automatic logic load_next_c = '0;
|
||||
automatic logic [{{node.width-1}}:0] next_c;
|
||||
automatic logic load_next_c;
|
||||
next_c = {{field_logic.get_storage_identifier(node)}};
|
||||
load_next_c = '0;
|
||||
|
||||
{%- for signal in extra_combo_signals %}
|
||||
{{field_logic.get_field_combo_identifier(node, signal.name)}} = {{signal.default_assignment}};
|
||||
|
||||
Reference in New Issue
Block a user