hi , i am using verilog code to fix the 12 bit input data .
in my module number will be counted before this module and is an input .
i want to change the bit number of main_data ( main_data[number]) , because this bit is wrong so it should be toggled ,
but when its okeii , with every clk this bit changes and i dont want this to happen . i want when main_data[number] has toggled in next posedge clk , it does't happen again .
can any one help me how to do it please ??