Answered step by step
Verified Expert Solution
Question
1 Approved Answer
below is reg.circ : And below is the sub-register : Question 1: Four-Input Register (40 marks) There are two parts to this question. In the
below is reg.circ :
And below is the sub-register :
Question 1: Four-Input Register (40 marks) There are two parts to this question. In the first part, you will design a register using 8 rising edge triggered D flip-flops. Use the template reg.circ file provided to design your register such that the input bits in_1 are copied onto the output bits out_1 when clock_1 is enabled Name this circuit 'Sub_Register'. In the second part, you will design a register using the Sub_Register circuit built in the first part. Begin by adding a new circuit to your project and name it 'Four_Input_Register'. A copy of your sub-register from the first part will be used as a basis for this circuit. The register will have three input sources: an external data-in input an 8-bit constant input initialized to zero, and the output of an Adder that increments the register by adding 1 to the current value in the register. Add a single clock bit to control the operation of the clock. Finally, add a multiplexer with 8 data bits and 2 select bits. Add a 2-bit input to connect to the select input of the multiplexer. The roles of the select bits are described in the table below. The operation is controlled by the clock input. Si So 0 1 Function Load register from data-in input Load register with constant 0 Increment the value in the register Hold; Numbers in register are unchanged 1 - ...!!!...clock 2 .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . clock 1. . . out 1 . . . . . . .. . . . .. . . X X X X X X X Xida ta Hala ol t . . ! . . . . . . data in p00000007 Sub Register 8-bit constant o . . . . . 0 0 . . . . . . . . . . . . . . . . 8-bbit constant 1 N O IT CON STAN T I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . - - - . . . . 0 1. . . . . c in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .......tc out . . . . ::: :: : : :: . . ... . . . ... . ..................... ..................... clock-1 .... ... ...... . . . ................. .................. ................. ................. ................. ................. .................. ................. ................. . . ... . . . ... . ................. . . ... . ......... ......... ........ ........ ........ ........ ........ ........ . . ... . ................. .................... ................... ................. ................. ................. . . . . . . . . . . .................... . . . . . . . . . .. ................. ................. ................. ................. .................. ................. ................. ................. ................. ................. ................. ................. ................. ................. ................. ................. ................. ................. ................. ................. . . ... . . . ... . ............ ................. ................. ................. ................. ................. . . ... . . . ... . ................. ................. ................. ................. ................. ................. ........ ........ ........ ........ ........ ................. ................. . . ... . ................. ................. ................. ................. . . ... . . .. . .. ... ... . . . . . .. ... . . . . . . ... . . ... ... . . . . ... . . ... ... .......................................................................................... .......................................................................................... .................. .................. .................. .................. .................. .................. .................. ......... ................. ................. ................. ................. ......... ................. ................. ................. ................. ......... ................. ................. ................. ................. ........ ................. ................. ................. ................. ................. ................. ................. ........ ................. ................. ................. ................. ........ ................. ................. .................. ........ ................. ................. ................. ................. .......... .. ... ... ... ... ... . .............. ................. ........ ............. .......... ................. ........ .....XX- XX:XX:XXout 1 ........ .......... ................. ........ ........ ........ ........ ........ ....... .................. ........ ................. ................. ........ ........... ............................... ............................... ............. .................................. .............. .................................... .................................. . . . . ... . . . . . . . . ... . . ... . . . . ... . . .. . . . . . ... . . . . . . . . . . . . . . . . . . . . . .................. . . . . . . . . . . . . . . . . . . ... ... . . . . ... . . . . ... ... . . . . ... ... . . . . . . ... . . :::TITITTI ... ... ....LLL5ber . . . . . .. ... . . . . . . ... . . . . . . . in_1EX:XXX:XXX Question 1: Four-Input Register (40 marks) There are two parts to this question. In the first part, you will design a register using 8 rising edge triggered D flip-flops. Use the template reg.circ file provided to design your register such that the input bits in_1 are copied onto the output bits out_1 when clock_1 is enabled Name this circuit 'Sub_Register'. In the second part, you will design a register using the Sub_Register circuit built in the first part. Begin by adding a new circuit to your project and name it 'Four_Input_Register'. A copy of your sub-register from the first part will be used as a basis for this circuit. The register will have three input sources: an external data-in input an 8-bit constant input initialized to zero, and the output of an Adder that increments the register by adding 1 to the current value in the register. Add a single clock bit to control the operation of the clock. Finally, add a multiplexer with 8 data bits and 2 select bits. Add a 2-bit input to connect to the select input of the multiplexer. The roles of the select bits are described in the table below. The operation is controlled by the clock input. Si So 0 1 Function Load register from data-in input Load register with constant 0 Increment the value in the register Hold; Numbers in register are unchanged 1 - ...!!!...clock 2 .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . clock 1. . . out 1 . . . . . . .. . . . .. . . X X X X X X X Xida ta Hala ol t . . ! . . . . . . data in p00000007 Sub Register 8-bit constant o . . . . . 0 0 . . . . . . . . . . . . . . . . 8-bbit constant 1 N O IT CON STAN T I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . - - - . . . . 0 1. . . . . c in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .......tc out . . . . ::: :: : : :: . . ... . . . ... . ..................... ..................... clock-1 .... ... ...... . . . ................. .................. ................. ................. ................. ................. .................. ................. ................. . . ... . . . ... . ................. . . ... . ......... ......... ........ ........ ........ ........ ........ ........ . . ... . ................. .................... ................... ................. ................. ................. . . . . . . . . . . .................... . . . . . . . . . .. ................. ................. ................. ................. .................. ................. ................. ................. ................. ................. ................. ................. ................. ................. ................. ................. ................. ................. ................. ................. . . ... . . . ... . ............ ................. ................. ................. ................. ................. . . ... . . . ... . ................. ................. ................. ................. ................. ................. ........ ........ ........ ........ ........ ................. ................. . . ... . ................. ................. ................. ................. . . ... . . .. . .. ... ... . . . . . .. ... . . . . . . ... . . ... ... . . . . ... . . ... ... .......................................................................................... .......................................................................................... .................. .................. .................. .................. .................. .................. .................. ......... ................. ................. ................. ................. ......... ................. ................. ................. ................. ......... ................. ................. ................. ................. ........ ................. ................. ................. ................. ................. ................. ................. ........ ................. ................. ................. ................. ........ ................. ................. .................. ........ ................. ................. ................. ................. .......... .. ... ... ... ... ... . .............. ................. ........ ............. .......... ................. ........ .....XX- XX:XX:XXout 1 ........ .......... ................. ........ ........ ........ ........ ........ ....... .................. ........ ................. ................. ........ ........... ............................... ............................... ............. .................................. .............. .................................... .................................. . . . . ... . . . . . . . . ... . . ... . . . . ... . . .. . . . . . ... . . . . . . . . . . . . . . . . . . . . . .................. . . . . . . . . . . . . . . . . . . ... ... . . . . ... . . . . ... ... . . . . ... ... . . . . . . ... . . :::TITITTI ... ... ....LLL5ber . . . . . .. ... . . . . . . ... . . . . . . . in_1EX:XXX:XXXStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started