Designer_Engineer
Newbie level 1
Can you suggest me on this. I had made a version change in modelsim to 10.0d and have this error popping up
#
# ** Error: (vsim-8462) ac_scan_mode_entry.sv(328): Illegal use of a net actual with ref port 'st_data_in' of task 'check_scan_input'.
# Region: /top_tb/myprogram_mvm
In code usage of the task is as below
task automatic check_scan_input (input string name, ref logic pad, input logic st_data_in);
.
..
check_scan_input("pad_pa2_st_data_in", `MUX.scan_scanclk1, `CHIP.iosib.pad_pa2_st_data_in);
#
# ** Error: (vsim-8462) ac_scan_mode_entry.sv(328): Illegal use of a net actual with ref port 'st_data_in' of task 'check_scan_input'.
# Region: /top_tb/myprogram_mvm
In code usage of the task is as below
task automatic check_scan_input (input string name, ref logic pad, input logic st_data_in);
.
..
check_scan_input("pad_pa2_st_data_in", `MUX.scan_scanclk1, `CHIP.iosib.pad_pa2_st_data_in);