In my top module , i have say
Curent implementation:-
module_tx inst_1 (.a (b));
module_rx inst_1 (.c (b));
assign rx_signal_1 = tx_signal_1;
assign rx_signal_1 = b ;
What i want is... say i have a variable "temp" which can produces 4 values on randomization :- 1,2,3,4
So, when temp =1 , i want only this connection :- assign rx_signal_1 = tx_signal_1;
when temp =2 , i want only this connection :- module_rx inst_1 (.c (b)); & module_tx inst_1 (.a (b));
when temp=3 , i want only this connection :- assign rx_signal_1 = b; & module_tx inst_1 (.a (b));
Regards,
Saurabh