Please help...can someone help me?!......

This is a discussion on Please help...can someone help me?!...... within the C Programming forums, part of the General Programming Boards category; ....thx ...thx...thx...because you have read my problem...(sorry but my english is miserable).... I have a problem to write (programmer) this ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    2

    Please help...can someone help me?!......

    ....thx ...thx...thx...because you have read my problem...(sorry but my english is miserable)....

    I have a problem to write (programmer) this logic in C....here is the shematic...i hope it is legible......


    ----NAND-Operator-------Preset/not
    _ _ _ |_ _ _
    ----NAND-Operator-----| J |--- Q/not
    -----Clock-----------------|> Flip Flop|
    ----NAND-Operator-----|_ _ _ K _ _|--- Q
    |
    -----NAND-Operator-------Clear/not


    thx thx htx thx thx thx thx thx thx thx thx...........
    .....for help.....ups.....i need it for a project for my study...thx

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    I'm not sure I quite understand your problem. Try placing the schematic in code tags and explaining exactly what the purpose of it is as well as what you can't get to work.

    -Prelude
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    14
    hey dear,

    can u please explain this in brief or in eradable form,
    i couldn't understand u dear,

    so please simplify it,please take help of someone with a good english...
    Ruchit,
    think big,think ahead,
    go big,go ahead,

    ISN'T IT TOO FUNNY ABOUT MICROSOFT WINDOWS,THAT
    WHENEVER YOU WANT TO DO SOMETHING YOU CLICK ON "START" BUTTON AND THE FIRST OPTION YOU ARE HAVING IS
    "SHUT DOWN"...

  4. #4
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    Code tags would have made reading your scheme easier.

    Code:
    ----NAND-Operator-------Preset/not 
    _ _ _ |_ _ _ 
    ----NAND-Operator-----| J |--- Q/not 
    -----Clock-----------------|> Flip Flop| 
    ----NAND-Operator-----|_ _ _ K _ _|--- Q 
    | 
    -----NAND-Operator-------Clear/not
    Ehm, well. You could start by first writing small functions for each block. Just like:

    Code:
    bool NAND (bool input1, bool input2)
    {
        return (!(input1 && input2));
    }
    Then connect the functions. Your scheme is not very clear, can you explain it?

  5. #5
    Nosepicker DrakkenKorin's Avatar
    Join Date
    Nov 2001
    Posts
    407
    I think he/she is trying to code a J-K Flip Flop.

  6. #6
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    Could be, but then the Q and !Q should be passed back to the input the first NANDs.

  7. #7
    Registered User
    Join Date
    Jun 2002
    Posts
    2

    Unhappy ooohhh....noooo!!!!

    THX for all messages & your time............but i see the problem with my shematic...that look like a modern art....but really...iīm not Piccasso.... ;-).....only sometimes........

    ...this should be a JK-FlipFlop.....at their gates are &-Operators
    (but they donīt be passed back from Q and !Q)

    ...my Question is....how can i realize the JK-FF with all inputs (Clock,Clear,Preset,J- and K-Input) and outputs like Q and !Q in C.....

    ....DrakkenKorin--> are right.....thx.....(i`m male)...i try to code a JK-FF....that is my problem.....

    PS: special THX : Prelude;Ruchit;Shiro;DrakkenKorin for very fast answers
    Last edited by nobody; 06-10-2002 at 02:11 PM.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21