Merge branch 'master' into comment_clean_up

This commit is contained in:
2025-06-10 13:32:14 -07:00
27 changed files with 1299 additions and 272 deletions
@@ -8,9 +8,9 @@
*
*/
module seconds_display
module sixty_display
(
input [$clog2(60)-1:0] seconds,
input [$clog2(60)-1:0] number,
output [6:0] display_tens,
output [6:0] display_ones
);
@@ -21,8 +21,8 @@ logic [4:0] tens_digit;
//convert digit to ones and tens places
always_comb
begin
ones_digit = seconds % 10;
tens_digit = seconds / 10;
ones_digit = number % 10;
tens_digit = number / 10;
end
//convert both ones and tens place digits to their seven segement equivalent