- #1
pags920
- 21
- 0
Hello, I am brand new to this forum. It looks like there are a lot of people that might be able to help me on this project.
I need to build a 4-bit searching circuit. The circuit takes a 4-bit word and searches a 4x15 memory for that word. It will have two modes, a Load Mode, where the words are loaded to the memory, and a Search Mode that searches the memory for a given word coming from data switches (using a digital trainer). When the circuit finds the first matching word in the memory, the search process should be stopped and the memory location is displayed on a 7-segment display and an LED is triggered on, indicating that a match was found. Otherwise, if a match is not found, the search should be stopped after testing all words in memory and the LED is triggered off, indicating a match wasn't found.
Our TA has hinted that we can use a Comparator Circuit, that we previously did in our lab.
As of right now, I can create the circuit for Load Mode, as all it is was a previous lab that we did. But the Searching Mode is what I am stumped on. I am not sure if there is a way for the circuit to search automatically or manually using logic switches.
I guess the question that I am asking is how can I create a circuit that does both Load and Search? Do I need to use flip-flops or am I overthinking the whole thing?
My current circuit consists of:
1 - 2114 1K x 4-bit static RAM IC
1 - 74LS193 synchronous up/down binary counter IC
1 - 9368 decoder-driver IC
1 - 7-segment display
Any help or hints would be most helpful.
I need to build a 4-bit searching circuit. The circuit takes a 4-bit word and searches a 4x15 memory for that word. It will have two modes, a Load Mode, where the words are loaded to the memory, and a Search Mode that searches the memory for a given word coming from data switches (using a digital trainer). When the circuit finds the first matching word in the memory, the search process should be stopped and the memory location is displayed on a 7-segment display and an LED is triggered on, indicating that a match was found. Otherwise, if a match is not found, the search should be stopped after testing all words in memory and the LED is triggered off, indicating a match wasn't found.
Our TA has hinted that we can use a Comparator Circuit, that we previously did in our lab.
As of right now, I can create the circuit for Load Mode, as all it is was a previous lab that we did. But the Searching Mode is what I am stumped on. I am not sure if there is a way for the circuit to search automatically or manually using logic switches.
I guess the question that I am asking is how can I create a circuit that does both Load and Search? Do I need to use flip-flops or am I overthinking the whole thing?
My current circuit consists of:
1 - 2114 1K x 4-bit static RAM IC
1 - 74LS193 synchronous up/down binary counter IC
1 - 9368 decoder-driver IC
1 - 7-segment display
Any help or hints would be most helpful.