Creating Latches in Verilog
The following code shows how to create registered latches using Verilog.