Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Self Reloading Counter

Design and verify a counter which supports loading a value

Interface Definition

Counter should reset to 0 The module should have the following interface:

module Self_Reloading_Counter
    input     wire          clk,
    input     wire          reset,
    input     wire          load_i,     // Load value is valid this cycle
    input     wire[3:0]     load_val_i, // 4-bit load value

    output    wire[3:0]     count_o     // Counter output