comment clean up for segment_display folder

This commit is contained in:
dilanthi 2025-06-10 01:38:52 -07:00
parent a07e811a16
commit 53b48c0bce

View File

@ -1,5 +1,7 @@
/***
* seconds_display.sv - converts a five bit seconds counter to its seven segement display equivalent.
* sixty_display.sv - converts a binary digit from zero to fifty-nine to its
* ones and tens digits and then gets the seven segment
* display equivalents of them.
*
* @author: Dilanthi Prentice, Waylon Cude
* @date: 6/12/25
@ -16,14 +18,14 @@ module seconds_display
logic [4:0] ones_digit;
logic [4:0] tens_digit;
//convert digit to ones and tens places
always_comb
begin
ones_digit = seconds % 10;
tens_digit = seconds / 10;
end
//instantiate the display_converter to convert the counter
//to a seven segment display number
//convert both ones and tens place digits to their seven segement equivalent
display_converter ones (ones_digit, display_ones);
display_converter tens (tens_digit, display_tens);