subject
English, 11.06.2021 04:30 ayoismeisalex

In Cirsim below, implement a 4-bit program counter. It will have these inputs: A Button named RESET
A Button named CLK
A single-bit input pin named B. This is set true for branch instructions.
A four-bit Bus input named BA. This is the branch address.
It has one output, a Bus output named PC. This is the output of the program counter.
This circuit implements a basic program counter. The function of the program counter is determined by the input B. When B is zero, the program counter increases by one for every clock cycle. It is stepping sequentially through memory. When B is true, the value on the input BA is clocked into the PC when the CLK input goes high. That is implementing a branch, where a new address has been selected for the program counter. When B goes low, the next clock will proceed to the next address after the BA address.
A program counter steps through the instructions in a program. When a branch occurs (like b some_address), the program counter is set to the address we branch to. It the continues counting from that point on.
Do not try to implement this functionality using Set and Reset. They are not appropriate since they are not synchronous. Any solution that uses Set and Reset to solve this problem is incorrect.
When the RESET button is pressed, reset the program counter to address 0000. This is not a synchronous operation and can use the Reset inputs (just wire the button to the inputs).
Click Test to test it, then Submit to submit the quiz question result.
Hints and Suggestions
It is easy to test that your solution is working without having to use the Test. Press reset and the PC output should to go 0000. Then ensure B is cleared. Pressing the CLK button 16 times should cycle through all 16 addresses and back to 0000. Then set B true and BA to 0101. Pressing CLK should set the program counter to match the value on input pin BA, 0101. Then turn off B and press CLK. It should go to the next address AFTER the new address we branched to: 0110. You can double-click on an input pin to change the value. Be sure to test each bit.
If you don't understand how the synchronous counter works, you will not be able to solve this task. You must also understand how to make a JK Flip-Flop work as if it were a D Flip-Flop. You should be able to figure that out from the characteristics table.
If you have more than four flip-flops in your circuit, you are doing it wrong.
The S input is NOT used is in any solution to this circuit! If you are using the S input, you are doing it wrong.
Consider turning on Show Output States to see what is going on.

ansver
Answers: 1

Another question on English

question
English, 21.06.2019 21:40
Read the sentence from barrio boy by ernesto galarza. "now, ernesto, you are the man of the family. you will take care of your mother until we are together in sacramento. which statement best describes the figurative language used in these sentences? a simile is used to compare ernesto to a man. a simile is used to paint a picture of family life. a metaphor is used to compare a man and his family. a metaphor is used to paint a picture of responsibility.
Answers: 1
question
English, 21.06.2019 23:30
Wichita mourning david matherne pipe organs—dusty and tarnished— bellowed the ancient song, as movers carried the pews for one last time. frozen branches—heavy with ice arms— 5 couldn’t perform their dance, as workmen shuffled inside the worn-out floors. sally richards—broken and mourning— watched while her father left, 10 as painters brought in their cans for the first time. stained-glass windows—buckled and broken— surveyed commotion’s cause as commerce won in the end 15 yet one more time. reverend richards—feeble and finished— cried as his exit was lost on christians who worshiped the dime; a change of the times. 20 which of these best summarizes the author's style in this poem? a) each of the five stanzas contains internal rhyme and consistent rhythm. b) each of the five stanzas contains an end rhyme describing a different character. c) each of the five stanzas contains assonance followed by a dash, then a description of the old church. d) each of the five stanzas introduces a character followed by a dash, then a description of that character. 3) in the first line of each stanza, the author follows the pattern of a noun followed by a pair of adjectives. what is the purpose of this pattern? a) the author hopes to create a peaceful feeling for the readers. b) the object and its adjectives are used to create a sense of progress. c) the author uses the pattern to create vivid pictures in the reader's mind. d) the author uses the pattern of man and nature to show the impact of this event.
Answers: 1
question
English, 22.06.2019 01:30
Read this excerpt from edgar allen poe the masque of the red death and answer the question that follows.what kind of writing does the excerpt represent? here the case was very diffierent,as might have been expected from the dukes love
Answers: 1
question
English, 22.06.2019 02:30
Which theme is shared by both text ? a. it is unwise to offend the gods. b. all people deserve to be treated with respect. c. pride and overconfidence can lead to a person's desmise. d. it is important to maintain a positive attitude, even when you lose.
Answers: 2
You know the right answer?
In Cirsim below, implement a 4-bit program counter. It will have these inputs: A Button named RESET...
Questions
question
Mathematics, 04.02.2021 21:30
question
Mathematics, 04.02.2021 21:30
question
Arts, 04.02.2021 21:30
question
Mathematics, 04.02.2021 21:30
Questions on the website: 13722367