1 //-----------------------------------------------------
2 // Design Name : up_counter_load
3 // File Name : up_counter_load.v
4 // Function : Up counter with load
5 // Coder : Deepak Kumar Tala
6 //-----------------------------------------------------
7 module up_counter_load (
8 out , // Output of the counter
9 data , // Parallel load for the counter
10 load , // Parallel load enable
11 enable , // Enable counting
15 //----------Output Ports--------------
17 //------------Input Ports--------------
19 input load, enable, clk, reset;
20 //------------Internal Variables--------
22 //-------------Code Starts Here-------
26 end else if (load) begin
28 end else if (enable) begin