I need to add CJK trigger registers, information storage modes, etc. to the scheme
Show older comments
The task sounds like You need to take your last name in Latin, translate it into a two-digit code, build a sine or cosine generator and convert its signal into a rectangular pulse, build a control bus and build a register. Can someone explain how to add this to my circuit. And in what way.Answers (1)
Maneet Kaur Bagga
on 11 Oct 2024
0 votes
Hi,
Please refer to the following steps to modify the exisitng circuit and accmplish the mentioned task:
- To represent your last name as a two-digit code, replace the constant blocks with the two digit code for the last name based on the logic.
- Use the exisitng "comparison block" (>0 block) to compare the sive wave signal with zero to convert it into rectangular pulse.
- Insert a "MUX" block in the current circuit diagram to handle multiple signals. Connect the control signals (rectangular pulse and modulus output) to the input of the MUX block.
- Create a "JK flip flop" using Logical Operator blocks. Store the result using "Unit Delay" block. Use the rectangular pulse you generated as a clock input to the flip-flop.
Please refer to the following MathWorks Documentation for better understanding:
Designing a flip flop - https://in.mathworks.com/help/simulink/ref_extras/srflipflop.html
Hope this helps!
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!