Marking of Mid-Term Exam
Question 1
In part (a) one mark was assigned for each of the following:
- library and use statements
- entity declaration
- architecture and local signal declaration
- count-up and wrap-around functionality
- count-on-enable functionality
- register process
- if and signal assignment in process
- connect internal signal to q output
- correct tc output
In part (b) one mark was assigned for each of the following:
- library and use statements
- entity declaration
- architecture and local signal declarations
- ls digit functionality
- ms digit functionality
- carry from ls to ms digit
Question 2
In part (b) one mark was assigned for each of the following:
- register save/restore
- indexed character load
- terminate on null character
- lower limit test
- upper limit test
- conversion to upper case
- save converted character
- increment pointer
- loop back
- return
ELEC 379 Home Page