@@ -1805,14 +1805,14 @@ void verilog_typecheckt::convert_property_declaration(
18051805 convert_sva (declaration.property ());
18061806 require_sva_property (declaration.property ());
18071807
1808+ // The symbol uses the full declaration as value
18081809 auto type = verilog_sva_property_typet{};
18091810 symbolt symbol{full_identifier, type, mode};
18101811
18111812 symbol.module = module_identifier;
18121813 symbol.base_name = base_name;
18131814 symbol.pretty_name = strip_verilog_prefix (symbol.name );
1814- symbol.is_macro = true ;
1815- symbol.value = declaration.cond ();
1815+ symbol.value = declaration;
18161816 symbol.location = declaration.source_location ();
18171817
18181818 add_symbol (std::move (symbol));
@@ -1840,13 +1840,13 @@ void verilog_typecheckt::convert_sequence_declaration(
18401840 convert_sva (sequence);
18411841 require_sva_sequence (sequence);
18421842
1843+ // The symbol uses the full declaration as value
18431844 symbolt symbol{full_identifier, sequence.type (), mode};
18441845
18451846 symbol.module = module_identifier;
18461847 symbol.base_name = base_name;
18471848 symbol.pretty_name = strip_verilog_prefix (symbol.name );
1848- symbol.is_macro = true ;
1849- symbol.value = declaration.sequence ();
1849+ symbol.value = declaration;
18501850 symbol.location = declaration.source_location ();
18511851
18521852 add_symbol (std::move (symbol));
0 commit comments