Multisim: Shifting Input Pattern -- Shift Registers, Tristates, JK Flip-Flops

Hi everyone,
I have attached a link of a picture of my current circuit and my multisim file for those with multisim and provided links at the bottom.
How it is supposed to operate:
1-Some input pattern is set with the 4 switches on the bottom with keys 1-4 simulating a 1 or a 0 for each switch.
2-The space key is pressed to begin the circuits operation and set the
SR latch to begin. Continued pressing of the switch will do nothing
(that is required).
3-The tristates are enabled now, the bits are passed to the XNOR gates which compare the bits with the up-counting JKs.
4-Once the pattern of the input bits is reached, the 4-input AND gate
goes HIGH, clocking the next JK, loading the Qs into the 1st shift
register.
5-Buffers are used to allow the clear to be disabled on the first Shift
Reg. and then clocked. Then the output of the first shift reg. goes to
the second Shift Reg.
6-The output of the 2nd Shift Reg. is compared by XNOR gates and the probe goes HIGH.
My problem:
With certain input patterns (1111), it doesn't stop counting. With others (0110) it works fine.
Any thoughts?
Thank you.
Multisim File: http://www.drewcomputer.com/files/hw.ms9
Picture: http://www.drewcomputer.com/files/circuit.png
Solved!
Go to Solution.
Attachments:
circuit.png ‏44 KB
hw.ms9 ‏438 KB

SOLVED!!!

Similar Messages

  • Can I switch calendars (Ex. "night shift" to "day shift" cal) with a repeating event, but ONLY for that one event??  It asks "for all events or only this event" if i change the time.  But it changes ALL events when i try and switch calendars.  Any help??

    I have 2 calendars set up for my work schedule, a "night shift" and "day shift" calendar.  I've set up repeating events fro Fri/Sat/Sun 3-11pm "night shifts" and Mon/Tues 7am-3pm "day shifts".  But lets say for example that I swap shifts and instead of working nights on Saturday like I normally would, I am now working days.  I want to change that in my calendar.  When I go to change the event, if i change the TIME it asks if i want to change all event or ONLY this event.  no problem....just this single event.  but when i go to change the event from the "night shift" calendar to the "day shift" calendar, it changes ALL the repeating events, and not just that one single event.   can anyone help with this???  am i doing something wrong?  is there a way to do this or not with the new iCal program???  i used to do this and never had any problems.    Thank you!

    You need to follow iPhoto terms since we only know what you tell us
    what are you calling folders - in iPhoto folders can not hold photos - albums hold photos and folders hold albums or other folders
    The basic default view of photo is by event (iPhoto '08 and later)
    Exactly what you you trying to do?
    LN

  • ___Why does my command/shift space and shift key stop working?

    ___Why does my command/shift space and shift key stop working?
    For no apparent reasoon, some key combos like shift to keep aligned or command/shift space to zoom stop working - why is that?

    http://forums.adobe.com/message/2657882#2657882

  • Input pattern or replacement parameters exceed 32K size limit

    Hi,
    Following is my code
    declare
    v_clob1 clob := empty_clob;
    v_clob2 clob := empty_clob;
    begin
    select result into v_clob2 from evex_output_copy where evex_output_uid = 1;
    v_clob1 := 'a';
    v_clob1 := replace(v_clob1, 'a', v_clob2);
    end;
    the length of v_clob2 is greater than 32K.
    It shows the following error.
    input pattern or replacement parameters exceed 32K size limit
    How can I solve this ?
    Ivan

    Try the DBMS_LOB.copy procedure.

  • Split data of 1st shift and 2nd shift

    Hi,
    I have an SSRS report that displayed the production data. It consist of data from 1st-Shift and 2nd-Shift . My SSRS has a parameter with FromDate and Todate, Time. the default date is today's date. My requirements is to
    obtain the data of 1st shift and 2nd shift on the same day and displayed into one report with separate column for 1st shift and 2ns shift. The 1st shift is always start at 6:00AM and end at 2:00PM while the 2nd shift start at 2:00PM and end at 10:00PM
    Btw, This report is run every hour. THe objective is to gather how the production perform.
    Any help is very much appreciated. Thanks
    Sample DDL
    Create table #sample
    (ID nvarchar(5), DateandTime datetime, qty int)
    Insert into #sample(ID, dateandtime,qty) values('XXXX','2014-05-30 00:33:18.000',1)
    Insert into #sample(ID, dateandtime,qty) values('TTTT','2014-05-30 05:20:57.000',1)
    Insert into #sample(ID, dateandtime,qty) values('XXXX','2014-05-29 23:09:33.000',1)
    Insert into #sample(ID, dateandtime,qty) values('XXXX','2014-05-30 03:45:08.000',1)
    Insert into #sample(ID, dateandtime,qty) values('TTTT','2014-05-30 04:53:55.000',1)
    Insert into #sample(ID, dateandtime,qty) values('XXXX','2014-05-30 06:00:06.000',1)
    Insert into #sample(ID, dateandtime,qty) values('XXXX','2014-05-30 06:15:41.000',1)
    Insert into #sample(ID, dateandtime,qty) values('TTTT','2014-05-30 06:07:08.000',1)
    Declare @timezoneOffset int, @D1 datetime, @D2 datetime, @Stime nvarchar(8), @ETime nvarchar(8),@FromDatetime datetime, @ToDatetime datetime
    Set @timezoneOffset=8
    Set @D1='2014-05-30'
    Set @D2='2014-05-30'
    set @Stime='06:00 AM'
    set @Etime='02:00 PM'
    Set @FromDatetime= @D1 +''+@Stime
    Set @ToDatetime= @D2 +''+@Etime
    SELECT *
    FROM #sample
    WHERE DATEADD(HOUR,convert(int,@timezoneOffset), dateandtime) BETWEEN (@Fromdatetime) AND (@ToDatetime)

    May I ask you assistance to fix this error.
    i wanted this code to have a timezoneoffset. 
    Also , i would like to ask if this is acceptable  in between  6:00 and 16:00, if more than 16:00 (this is 4:00PM) this would be now under shift 2. 
    case when DATEPART(hour,DateandTime)
    between 6 and
    16 then 1
    else 2 end
    as shiftID,
    I tried trid this but got an error:
    CASE WHEN DATEADD(HOUR,convert(int,@timezoneOffset), DateandTime)
    between 6 and
    16 then 1
    else 2 end
    as shiftID2

  • How do I do input pattern matching with the 6534?

    I am configuring the 6534 to have one 8 bit input port and one 8-bit output port. Both input and output are in continuous mode. The input port is scanning for a specific pattern, but doesn't need to save the data. When this specific pattern is received, the VB program must be notified so that it can perform some action. This will occur every 2 seconds, i.e. the input pattern will match every two seconds. How do I perform this continuous pattern match and how can I throw away the input data without overflowing the input buffer?

    It sounds like you want to do DAQ Event Messaging. With this mechanism, the driver actively notifies the user of a specific DAQ Event by either posting a message on a message queue or calling a callback function.
    There are several documents that describe how you can do this with Visual Basic. You can find some KnowledgeBase entries, and a really useful tutorial called "Using DAQ Event Messaging in Windows under Windows NT/95/3.1". You can find these by searching the http://www.ni.com/support pages for "daq event message", and then go on to choose Visual Basic, and Learning to use product features and functions.
    The feature that you are looking for is pattern matching, which is DAQ Event type 8 ? Digital Pattern Matched. When the document refers to the
    Config_DAQ_Event_Message, you can see the details of this function in the NI-DAQ Help file (Start menu >> Programs >> National Instruments >> NI-DAQ). As you will see in the tutorial, you use a different but analogous method. While you won't be using this particular function for Visual Basic, the description of those events may be helpful.
    Regards,
    Geneva L.
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Final Cut Pro 7 Phase Shift of Field shift

    Good Afternoon....
    I am editing video shot on a DSLR and between every cut there is a freeze frame....
    I can't tell if it is a phase shift or field shift.
    Does anyone know how to fix this problem or a pay phone support
    service in Palm Beach Area?
    -Mat

    Select the sequence in the FCP Browser, then go to the menu File > Media Manager and use the Media Manager to Recompress your material.
    Choose recompress, then choose the correct flavor of ProRes for your Frame size and Frame Rate.
    Note that the resultant files will be considerably larger than the original. This is normal and correct as the highly compressed files are "unpacked" for editing use.
    MtD

  • EVDRE Input Schedule - shifting of cells/formulas

    Hi everybody,
    I am using BPC version 5.1. I do have a problem with an EVDRE Input Schedule. It is a single EVDRE report which is nested with a product and an account dimension.
    Underneath the Data Input Range, I have written additional information and included a button with the send function. If I change the selected product members through another button which is above the input range and expand the report, the additional information and the button always move one row up when expanding.
    Has anybody experienced a similar problem or has a solution for the problem? I am happy to provide additional information.
    On top of that problem I do have cell reference sin formulas that also change when expanding. I e.g. have a EVPROP formula that shifts the row in the reference one row up each time I expand. The formula is on the left side of the input range next to the row IDs. I don't know why, but this problem doesn't occur on all input schedules.
    Does anybody have a clue how to solve the issue?
    Thank you very much in advance!
    Christopher

    Hello experts,
    I've got another similar problem:
    I do have shapes in an Excel Input Schedule, as well as drop downs, both with assigned macros. I don't know why, but some of them (not always the same) disappear.
    I have no idea how that happens or where the shapes are now.
    Does anybody have a clue?
    Thanks in advance!
    CH

  • Hp10b11+ calculator error message "running" when using INPUT and Shifted AMORT keys- why?

    above describes the issue. Any ideas why? I've tried resetting methods, batteries removed,etc.

    Thanks, Yes I understand that the calculator message "running" should be a brief event. It's definitely not. Many minutes can go by and no change.  And the display does not show what my course manual states should be coming up.
    Its a mortgage calc. using the following sequence:
    KEYS USED:                                        DISPLAY:
    6 I/YR                                         6              
    12  shift P/YR                          12
    60000 PV                                  60,000
    240 N                                          240
    0 FV                                             0
    PMT                                           -429.858635087
    then rounding payment up:
    429.86 +/- PMT                      -429.86
    N                                                    239.998529245
    36INPUT shift AMORT          PER 36-36                     *This is what is supposed to display, but this is where "running"
                                                                                                        displays and does not solve.  I left the calc. alone for a very long time.
    So I have removed both batteries, and tried to run different clearing options that the manual outlines. Nothing is mentioned about the functon of the INPUT key or what to do with this error. The calculator had done numerous other functions without a problem, so I am wondering if there is some value stored that creates a long running calculation, or if there is indeed a glitch with the actual calculator that presents itself with these calculations. 

  • Track volume doesn't shift when I shift track contents, probably simple!

    Hi all,
    So I am creating a mix-tape for mothers day and am trying to blend/overlap tracks using Garageband. I have each mp3 in a separate track and each track's "Track Volume" enabled and taking care of fade in/out. But now I need to shift all the tracks down to add a new track, or to rearrange tracks but when I do the Track Volume curves stay put. Any ideas? I feel like I may be coming at this mix-tape thing the wrong way. Its my first time in Garageband but I am pretty computer savvy dude. Any help would be awesome! Thanks!
    -Brandon

    I just found the "Lock Automation Curves to Regions" in the Control menu.
    Exactly what I was looking for. Thanks to anyone to read this, I hope it helps someone.

  • Not able to use Shift field and Shift Grouping field while using OPK0

    Hi,
    I am using the SAP ECC 6.0 Enhancement Pack-4,
    In Transaction 'OPK0' while confuguring the default value for shift in the *Default* Tab, i am getting the 'Shift - field:SHIFT_PROP('Proposal Shift for Single-Screen Entry') and Shift Grouping, in Display mode, i have also tried to configure it with SAP4all  authorization, but still it was in Non editable mode.
    Also i tried applying Note:1177952, but was not able to apply the same, as we are already using Enhancement pack-4.
    let me know the solution to the above problem.
    Best Regards
    Vijay

    Hi Vijay,
    please follow the link given below and check whether the business function LOG_PP_SRN_CONF is activated or not?
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/e9/dc4715919d4245a9416c668b66133c/content.htm
    Regards,Kundan

  • My shift-r, right shift-f, and right shift-v is not working.

    I've seen questions in the forum about shift-r not working, I've looked into my system preferences and it appears there are no short cuts associated with shift-r.  My right shift-f and right shift-v are not working either.  I'm using a new iMac (10.7.2) with the bluetooth keyboard that came with it.  If I use caps lock I can get capital R, F and V.  It's very strange.  I'm assuming it's a setting that's messed up versus a bum keyboard?  Thanks for any help you can give!

    Good deal, glad it's taken care of. I had a wireless keyboard on which the caps lock key stayed lit all the time, even though it did turn the lock on and off. And sometimes it wouldn't light at all. I took it (just the keyboard) to a local AASP and they checked it out and called to say my new keyboard was ready to be picked up.

  • Ctrl+Shift do not shift between languages in Firefox and Opera browers

    Pressing Ctrl+Shift on the keyboard do not shift between languages when typing in Firefox and Opera browsers, but it works fine in Word and other applications. I have Windows XP SP3. My browsers are updated.

    Firefox has menu items that use the Shift and Ctrl modifier keys (e.g. Ctrl+Shift+Z = Redo) and those can interfere, especially when typing in a text area.
    You might have more luck with Alt and Shift instead.
    Try to assign different keyboard shortcuts to each of the installed languages instead of using a key sequence to cycle between installed language layouts.

  • Shift Abbreviations in Shift Planning

    Hello gurus,
    Anyone ever experienced this?
    i need to update It2003 with a period work schedule rule and not the Daily work schedule rule and it looks as though this is SAP STD that you can only work wirh DWS in shift planning.
    Anyone with some crancking idea of how i can overcome this?
    Regards
    Sher

    Dears...
    I am already using the Enhancement package 4 and business function LOG_PP_SRN_CONF is already activated. But still Shift field is not appearing the confirmation screen (CO11N). Even in the "Single screen entry of confirmations" configuration also (transaction OPK0 in Default tab) Shift and shift grouping fields are in INACTIVE mode. Please let me know... how can make it active. So that I can use the shift field in CO11N transaction.
    If you need any clarification please let me know.
    Regards,
    KN.
    Edited by: Kodand Nag on Feb 6, 2010 11:28 AM

  • How to make F9, Shift+F9, F10, Shift-F10 etc. work in FCP?

    I'm showing my Mac newness here, (only 1.5 years using Macs) but I can't for the life of me figure out how to use the editing shortcut keys (F9, F10, etc.) in Final Cut. They always perform the System shortcuts, not the Application shortcuts.
    I've tried following the directions in the FC manual, and nothing changes; still activates the system shortcuts.
    It would be great to be able to press Shift+F9 and have it insert with transition, but sadly, I'm "stuck" with drag&drop.
    Any suggestions?

    Thanks. It turns out (on my Mac at least) that just "unchecking" those keys doesn't do anything. (Maybe I should have rebooted???) Anyway, reprogramming the F11 and F12 keys and and freeing up the F9 and F10 keys seems to have made it work. Thanks for the tip.

Maybe you are looking for