Re: posedge & negedge flipflops using mux....correct me
That is not the correct way to code a negative or positive edge flip flop if that is what you are trying to do. To correctly synthesize a flip flop with verilog you need to use posedge/negedge keywords. Here is an example of how to code verilog flip flops. **broken link removed**