D
daltonj
Guest
I am trying to set an attribute for safe state machine encoding in Synplify.
I have a defined all my registers in a record called "registers" and then two signals of type register as shown below.
signal r, rin : registers;
I added the safe encoding attribute with the following code.
attribute syn_encoding: string;
attribute syn_encoding of r.sweep_record_sm : signal is "safe";
@E: CD128 :"\path\to\file:277:29:277:29|Expecting : before class of object(s)
Line 277:29 is just before the "r" in r.sweep_record_sm
Does anyone know why I am getting this error?
I have a defined all my registers in a record called "registers" and then two signals of type register as shown below.
signal r, rin : registers;
I added the safe encoding attribute with the following code.
attribute syn_encoding: string;
attribute syn_encoding of r.sweep_record_sm : signal is "safe";
@E: CD128 :"\path\to\file:277:29:277:29|Expecting : before class of object(s)
Line 277:29 is just before the "r" in r.sweep_record_sm
Does anyone know why I am getting this error?