Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Each ASCII character will take a one - byte slot in a ROM component in Logisim and each slot needs a unique address. How many
Each ASCII character will take a onebyte slot in a ROM component in Logisim and each slot needs a unique address. How many bits n does the memory address of this ROM component need in order to address each character of your string? Show your calculation. This n will be the # of data bits attribute of the counter as well as the address bit width attribute for the ROM in the next step.
Step
Build the circuit in Logisim. You need those components:
a clock signal.
a Counter under the Memory folder to generate memory addresses automatically. Set its data bits attribute to the n value you get in Step
a ROM under the Memory folder to store readonly data ie your string. Set its address bit width attribute to the n value you get in Step Use the default data bit width ie each stored value is byte Click the Contents attribute, which says click to edit to open a Hex Editor and enter the ASCII of your string in the ROM one by one. When youre done, click the Close Window button to save your edit and close the Hex Editor. See Help menu Users Guide Memory components Hex editor.
A Bit Selector under the Plexers folder to select the lower bits of a byte bits Use the default data bits attribute of but set Output Bits to When connecting the component, connect a use a constant wire to its Select input pin.
A TTY under the InputOutput folder a dumb terminal acting as your monitor TTY is short for TeleTYpewriter. Its input is a bit ASCII code, which should come from the bit output of the Bit Selector. An ASCII code actually only has bits and TTY only works with those bits per character. When we store an ASCII code in memory, an extra leading is added to store it in an bit slot.
Step 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