Thanks ads_ee.
In case of generate statement, I think the compiler creates instatantiates/creates logic as asked for. But the parameter pNUM_CHAN is not getting synthesized. Its the bus that is getting created right.
So, based on that, if the Parameter as I have asked for is synthesizable, what will the bitwidth taken for the comparator which checks for equality? With the synthesis tool automatically take it, for example a 2 bit bus for constant 3 ? An explanation on this will help me a lot.
Thanks
Arun