I need to add CJK trigger registers, information storage modes, etc. to the scheme

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)

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:
Hope this helps!

Categories

Find more on Simulink in Help Center and File Exchange

Products

Release

R2024a

Asked:

on 21 Apr 2024

Answered:

on 11 Oct 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!