Skip to content

NYIT-CNS/cns001-tt02-submission1

 
 

Repository files navigation

CNS Test Submission 1

Score Board

  • Authors: Bryan Bonilla Garay, Devin Alvarez, Ishaan Singh, Yu Feng Zhou, and N. Sertac Artan

  • Description: Display an 8-bit score from one of two players as a two-digit hexadecimal value.

  • GitHub repository

  • Wokwi project

  • Clock: 0 Hz

  • External hardware: None

How it works

Fourteen T Flip-Flops are made into two 8-bit Up counters that hold two different user scores (0-255 or 0 - FF). The down functionality is achieved via a not gate connected to the after the first T Flip-Flop. Both user scores are fed into eight 2:1 muxes to which are controlled by the Display User pin. As the board only contains one 7-segment display, This output is then fed into four 2:1 muxes which are controlled by the Display Digit pin (to show either MSD or LSD), which is fed into a 7-segment decoder at the end.

How to to test

Using default settings, increment the first user score up until the second digit increments (16 increments). Check to make sure it is displaying both the correct MSD and LSD and decrement back to 0. Repeat with the second user's score, and then increment and decrement with a combination of both scores. With both scores at arbitrary values, hit the reset button and check both users scores.

IO

# Input Output
0 Clock segment a
1 none segment b
2 update segment c
3 RST segment d
4 Display Digit segment e
5 Display User segment f
6 User segment g
7 Mode segment dp

Updating scores (Make sure to toggle)

Displaying User Score:

Releases

No releases published

Packages

 
 
 

Languages

  • Python 62.9%
  • Tcl 20.1%
  • Verilog 17.0%