Syntax:
Sig initial_value output_signals;
Parameters:
initial_value
- initial_value of the output signals, in binary format
output_signals
- output_signals are immutable.
Example 1:
Sig 1 test;
Probe aa test;
Example 1:
Define my_const_signal_generator | test[15..0];
Sig 1010101010101010 temp;
Or bb temp test;
Endef;
my_const_signal_generator bb | test[15..0];
Probe ce test;
Example:
x[0:3] ==> x[0] x[1] x[2] x[3] 4 signals
x[3:0] ==> x[3] x[2] x[1] x[0] 4 signals
x[0..3] ==> x[0] x[1] x[2] x[3] 4 signals
x[3..0] ==> x[3] x[2] x[1] x[0] 4 signals
x[0-3] ==> x[0] x[1] x[2] x[3] 4 signals
x[3-0] ==> x[3] x[2] x[1] x[0] 4 signals