I have written two modules DLatch and RSLatch and i want to write verilog code to join those two.
You might want to look into Emacs AUTOWIRE