Results 1 to 16 of 16

Thread: What function does this circuit perform

  1. #1
    Senior Member
    Join Date
    May 2010
    Location
    Southampton
    Posts
    511
    Thanks
    24
    Thanked
    27 times in 22 posts
    • cameronlite's system
      • Motherboard:
      • ASUS P5K Premium
      • CPU:
      • Intel Q6600
      • Memory:
      • 4GB Corsair 1333mhz
      • Storage:
      • 128GB Corsair Force 3 SSD
      • Graphics card(s):
      • MSI Twin Frozr AMD 5850 1GB
      • PSU:
      • XILENCE 600W
      • Case:
      • Lian Li P50r AMD Limited Edition
      • Operating System:
      • Windows 8 Professional 64 bit
      • Monitor(s):
      • Acer 243W 24", HP LA2405 24", Dell 2405 24"
      • Internet:
      • Virgin - 30Mb

    What function does this circuit perform

    Hi guys,

    I'm looking over a past paper in prep for my exam next week and it asks me to derive the logic function of the circuit below.

    Any ideas guys? If you do, could you please explain WHY it is what you say it is please

    Cheers.



    Last edited by cameronlite; 11-01-2012 at 11:49 PM.
    Currently studying: Electronic Engineering and Artificial Intelligence at the University of Southampton.

  2. #2
    HEXUS.social member
    Join Date
    Feb 2006
    Posts
    2,562
    Thanks
    102
    Thanked
    320 times in 213 posts

    Re: What function does this circuit perform

    OK, it's been a few years since I've done this (when I studied at Soton Uni coincidentally!)

    Y = E + F + G + H
    E = A.C
    F = B.C.D
    G = A.C.D
    H = A.B

    Can't see anything obvious in that form, so making a truth table can help: -

    Code:
    A | B | C | D | Y
    ------------------
    0   0   0   0 | 0
    0   0   0   1 | 0
    0   0   1   0 | 0
    0   0   1   1 | 0
    0   1   0   0 | 0
    0   1   0   1 | 0
    0   1   1   0 | 0
    0   1   1   1 | 1
    1   0   0   0 | 1
    1   0   0   1 | 1
    1   0   1   0 | 1
    1   0   1   1 | 0
    1   1   0   0 | 1
    1   1   0   1 | 1
    1   1   1   0 | 1
    1   1   1   1 | 1
    To be honest, still can't see anything of particular interest in there other than 2 lots of 4, but I'll leave my working to a) be checked and b) if someone else notices something. Unless it's just after: -

    Y = A.C + B.C.D + A.C.D + A.B

  3. Received thanks from:

    cameronlite (12-01-2012)

  4. #3
    Senior Member
    Join Date
    May 2010
    Location
    Southampton
    Posts
    511
    Thanks
    24
    Thanked
    27 times in 22 posts
    • cameronlite's system
      • Motherboard:
      • ASUS P5K Premium
      • CPU:
      • Intel Q6600
      • Memory:
      • 4GB Corsair 1333mhz
      • Storage:
      • 128GB Corsair Force 3 SSD
      • Graphics card(s):
      • MSI Twin Frozr AMD 5850 1GB
      • PSU:
      • XILENCE 600W
      • Case:
      • Lian Li P50r AMD Limited Edition
      • Operating System:
      • Windows 8 Professional 64 bit
      • Monitor(s):
      • Acer 243W 24", HP LA2405 24", Dell 2405 24"
      • Internet:
      • Virgin - 30Mb

    Re: What function does this circuit perform

    Thanks for your reply. Here's the question - incase I have misinterpretted it.

    Currently studying: Electronic Engineering and Artificial Intelligence at the University of Southampton.

  5. #4
    Pseudo-Mad Scientist Whiternoise's Avatar
    Join Date
    Apr 2006
    Location
    Surrey
    Posts
    4,274
    Thanks
    166
    Thanked
    386 times in 233 posts
    • Whiternoise's system
      • Motherboard:
      • DFI LANPARTY JR P45-T2RS
      • CPU:
      • Q6600
      • Memory:
      • 8GB DDR2
      • Storage:
      • 5.6TB Total
      • Graphics card(s):
      • HD4780
      • PSU:
      • 425W Modu82+ Enermax
      • Case:
      • Silverstone TJ08b
      • Operating System:
      • Win7 64
      • Monitor(s):
      • Dell 23" IPS
      • Internet:
      • 1Gbps Fibre Line

    Re: What function does this circuit perform

    Can you minimise the logic further? The question seems to suggest that one of the inputs is redundant, but I have no idea what a path sensitive algorithm is in this case.

    I'd suggest take a look at the Karnaugh map?

  6. #5
    Senior Member
    Join Date
    May 2010
    Location
    Southampton
    Posts
    511
    Thanks
    24
    Thanked
    27 times in 22 posts
    • cameronlite's system
      • Motherboard:
      • ASUS P5K Premium
      • CPU:
      • Intel Q6600
      • Memory:
      • 4GB Corsair 1333mhz
      • Storage:
      • 128GB Corsair Force 3 SSD
      • Graphics card(s):
      • MSI Twin Frozr AMD 5850 1GB
      • PSU:
      • XILENCE 600W
      • Case:
      • Lian Li P50r AMD Limited Edition
      • Operating System:
      • Windows 8 Professional 64 bit
      • Monitor(s):
      • Acer 243W 24", HP LA2405 24", Dell 2405 24"
      • Internet:
      • Virgin - 30Mb

    Re: What function does this circuit perform

    Quote Originally Posted by Whiternoise View Post
    Can you minimise the logic further? The question seems to suggest that one of the inputs is redundant, but I have no idea what a path sensitive algorithm is in this case.

    I'd suggest take a look at the Karnaugh map?
    The only important part of the question is the first sentence - for now

    Minimising the logic won't minimise the truth table though, so it will still perform the same, surely?
    Currently studying: Electronic Engineering and Artificial Intelligence at the University of Southampton.

  7. #6
    HEXUS.social member
    Join Date
    Feb 2006
    Posts
    2,562
    Thanks
    102
    Thanked
    320 times in 213 posts

    Re: What function does this circuit perform

    Right, think it's on about race hazards due to the addition of NOT gates. You can use a Karnaugh map to make them more obvious: -

    Code:
      AB | 00 | 01 | 11 | 10
    CD   |    |    |    |    |
    --------------------------
    00   |    |    |  1 |  1 |
    --------------------------
    01   |    |    |  1 |  1 |
    --------------------------
    11   |    |  1 |  1 |    |
    --------------------------
    10   |    |    |  1 |  1 |
    I think in this case, race hazard can occur when A=1, B=0 and D=0, and C changes. This is because you can move between two adjacent 1s without it being grouped, ie the green to the blue (quite difficult to demostrate without drawing). You can fix this by adding another group: A.D

    As for path sensitive analysis, I think that is to do with one of the signals changing, but the delays on the gates means you get a "spike" on the output due to one of the inputs to the gate being delayed by the NOT gate compared to the others, ie a race hazard. So I imagine if you did a graph of C changing with the above conditions and worked out the output of each gate in time steps, it will spike (either up or down).

    NB It has been many years since I've done this stuff, so could just be talking nonsense!

    EDIT: It's when C goes from 1 -> 0, because G will switch off before E goes to 1, due to the delay on the NOT gate from C, meaning the output will briefly drop to 0. Still not sure about the stuck condition though.
    Last edited by Gerrard; 11-01-2012 at 09:20 PM.

  8. Received thanks from:

    cameronlite (12-01-2012)

  9. #7
    HEXUS.timelord. Zak33's Avatar
    Join Date
    Jul 2003
    Location
    I'm a Jessie
    Posts
    35,185
    Thanks
    3,126
    Thanked
    3,179 times in 1,926 posts
    • Zak33's system
      • Storage:
      • Kingston HyperX SSD, Hitachi 1Tb
      • Graphics card(s):
      • Nvidia 1050
      • PSU:
      • Coolermaster 800w
      • Case:
      • Silverstone Fortress FT01
      • Operating System:
      • Win10
      • Internet:
      • Zen FTC uber speedy

    Re: What function does this circuit perform

    / and this is why Zak didn't study this subject, cos frankly not only does it make me tense.. it makes me angry

    and I just don't know why either.

    Quote Originally Posted by Advice Trinity by Knoxville
    "The second you aren't paying attention to the tool you're using, it will take your fingers from you. It does not know sympathy." |
    "If you don't gaffer it, it will gaffer you" | "Belt and braces"

  10. #8
    Senior Member
    Join Date
    May 2010
    Location
    Southampton
    Posts
    511
    Thanks
    24
    Thanked
    27 times in 22 posts
    • cameronlite's system
      • Motherboard:
      • ASUS P5K Premium
      • CPU:
      • Intel Q6600
      • Memory:
      • 4GB Corsair 1333mhz
      • Storage:
      • 128GB Corsair Force 3 SSD
      • Graphics card(s):
      • MSI Twin Frozr AMD 5850 1GB
      • PSU:
      • XILENCE 600W
      • Case:
      • Lian Li P50r AMD Limited Edition
      • Operating System:
      • Windows 8 Professional 64 bit
      • Monitor(s):
      • Acer 243W 24", HP LA2405 24", Dell 2405 24"
      • Internet:
      • Virgin - 30Mb

    Re: What function does this circuit perform

    Thanks for the info Gerrard, however, I still don't know what the circuit does...
    Currently studying: Electronic Engineering and Artificial Intelligence at the University of Southampton.

  11. #9
    Splash
    Guest

    Re: What function does this circuit perform

    Quote Originally Posted by cameronlite View Post
    Thanks for the info Gerrard, however, I still don't know what the circuit does...
    Your homework for you?

  12. #10
    Registered User
    Join Date
    Jul 2003
    Location
    Cornwall/Weston-Super-Mare
    Posts
    5,337
    Thanks
    438
    Thanked
    308 times in 261 posts
    • Behemoth's system
      • Motherboard:
      • Gigabyte mATX
      • CPU:
      • Phenom 2 X2 555 BE
      • Memory:
      • 8 Gig DDR3 Corsair XMS 3 1600 MHz
      • Storage:
      • 4 TB's Storage
      • Graphics card(s):
      • Gigabyte GTX 460 OC2
      • PSU:
      • OCZ StealthStream 2 600 Watt
      • Case:
      • Silverstone TJ08-E
      • Operating System:
      • Windows 7 64 Bit
      • Monitor(s):
      • HP x23LED
      • Internet:
      • BT Broadband

    Re: What function does this circuit perform

    Looks like a Rooster BoosterPaxo Stuffer to me !

  13. #11
    Sublime HEXUS.net
    Join Date
    Jul 2003
    Location
    The Void.. Floating
    Posts
    11,819
    Thanks
    213
    Thanked
    233 times in 160 posts
    • Stoo's system
      • Motherboard:
      • Mac Pro
      • CPU:
      • 2*Xeon 5450 @ 2.8GHz, 12MB Cache
      • Memory:
      • 32GB 1600MHz FBDIMM
      • Storage:
      • ~ 2.5TB + 4TB external array
      • Graphics card(s):
      • ATI Radeon HD 4870
      • Case:
      • Mac Pro
      • Operating System:
      • OS X 10.7
      • Monitor(s):
      • 24" Samsung 244T Black
      • Internet:
      • Zen Max Pro

    Re: What function does this circuit perform

    Quote Originally Posted by cameronlite View Post
    Thanks for the info Gerrard, however, I still don't know what the circuit does...
    Makes Zakky angry and fustrated apparently

    It's not going to do anything much by itself - it's just a set of logic gates - based on a combination of inputs at A-D, you get an output or not at Y

    What you choose to do with it, is entirely up to you
    (\__/)
    (='.'=)
    (")_(")

  14. #12
    Sublime HEXUS.net
    Join Date
    Jul 2003
    Location
    The Void.. Floating
    Posts
    11,819
    Thanks
    213
    Thanked
    233 times in 160 posts
    • Stoo's system
      • Motherboard:
      • Mac Pro
      • CPU:
      • 2*Xeon 5450 @ 2.8GHz, 12MB Cache
      • Memory:
      • 32GB 1600MHz FBDIMM
      • Storage:
      • ~ 2.5TB + 4TB external array
      • Graphics card(s):
      • ATI Radeon HD 4870
      • Case:
      • Mac Pro
      • Operating System:
      • OS X 10.7
      • Monitor(s):
      • 24" Samsung 244T Black
      • Internet:
      • Zen Max Pro

    Re: What function does this circuit perform

    btw, if you build it using http://logic.ly/demo/ you can just fiddle with the inputs and visualise what happens

    Actually, if you go into the settings, and set the "limit propagation to display rate" option, you can visualise the output drop when A is high and C changes from high to low.
    (\__/)
    (='.'=)
    (")_(")

  15. Received thanks from:

    mycarsavw (12-01-2012),watercooled (12-01-2012)

  16. #13
    Member
    Join Date
    Jan 2010
    Location
    Luton
    Posts
    195
    Thanks
    30
    Thanked
    21 times in 18 posts
    • The_Wheelhouse's system
      • Motherboard:
      • Gigabyte GA-X58A-UD3R
      • CPU:
      • Intel i7 930
      • Memory:
      • 6GB
      • Storage:
      • 1TB F3
      • Graphics card(s):
      • XFX Radeon HD 5830
      • PSU:
      • XFX 650W XXX Edition
      • Case:
      • Haf 922
      • Operating System:
      • Windows 7 Home Premium 64bit
      • Monitor(s):
      • 21.5" Dell
      • Internet:
      • Virgin

    Re: What function does this circuit perform

    The minimised function (from the k-map):
    Y = B.C.D + A.C + A.D

    Thus A.B is a redundant extra term (in a logical sense), also looking at the k-map with the function drawn in the only term not to overlap is the B.C.D term, so the A.B term corrects a static 1 hazard.

    At least that's what I get from the first part of the problem.

    Join the HEXUS Folding@home Team!!

  17. Received thanks from:

    cameronlite (12-01-2012)

  18. #14
    ɯʎɔɐɹsɐʌʍ mycarsavw's Avatar
    Join Date
    Feb 2007
    Posts
    4,945
    Thanks
    1,097
    Thanked
    652 times in 481 posts
    • mycarsavw's system
      • Motherboard:
      • P8H77-M Pro
      • CPU:
      • i5 3350P
      • Memory:
      • 16Gb
      • Storage:
      • Lots
      • Graphics card(s):
      • R9 285
      • PSU:
      • HX 620w
      • Case:
      • FD Define Mini
      • Operating System:
      • W10
      • Monitor(s):
      • BenQ G2420HDBL + GL2450HT
      • Internet:
      • Sky

    Re: What function does this circuit perform

    Quote Originally Posted by Stoo View Post
    btw, if you build it using http://logic.ly/demo/ you can just fiddle with the inputs and visualise what happens
    This ^ + Minecraft = Nerdgasm

    |Kata: "Read title as 'fisting'. Not sure why I clicked. Relieved, really."|
    |TAKTAK: "It was so small that mine wouldn't fit into it"|

  19. #15
    Senior Member
    Join Date
    May 2010
    Location
    Southampton
    Posts
    511
    Thanks
    24
    Thanked
    27 times in 22 posts
    • cameronlite's system
      • Motherboard:
      • ASUS P5K Premium
      • CPU:
      • Intel Q6600
      • Memory:
      • 4GB Corsair 1333mhz
      • Storage:
      • 128GB Corsair Force 3 SSD
      • Graphics card(s):
      • MSI Twin Frozr AMD 5850 1GB
      • PSU:
      • XILENCE 600W
      • Case:
      • Lian Li P50r AMD Limited Edition
      • Operating System:
      • Windows 8 Professional 64 bit
      • Monitor(s):
      • Acer 243W 24", HP LA2405 24", Dell 2405 24"
      • Internet:
      • Virgin - 30Mb

    Re: What function does this circuit perform

    Quote Originally Posted by Stoo View Post
    btw, if you build it using http://logic.ly/demo/ you can just fiddle with the inputs and visualise what happens

    Actually, if you go into the settings, and set the "limit propagation to display rate" option, you can visualise the output drop when A is high and C changes from high to low.
    Ahh, cool. So without the bridging term there's a static 1 hazard (thanks The_Wheelhouse) but we still don't know what it's purpose is. In previous papers there was a similar example - the circuit was the sum part of a 4 bit adder...

    I'm going to ask my lecturer today what the answer is...
    Currently studying: Electronic Engineering and Artificial Intelligence at the University of Southampton.

  20. #16
    Senior Member
    Join Date
    May 2010
    Location
    Southampton
    Posts
    511
    Thanks
    24
    Thanked
    27 times in 22 posts
    • cameronlite's system
      • Motherboard:
      • ASUS P5K Premium
      • CPU:
      • Intel Q6600
      • Memory:
      • 4GB Corsair 1333mhz
      • Storage:
      • 128GB Corsair Force 3 SSD
      • Graphics card(s):
      • MSI Twin Frozr AMD 5850 1GB
      • PSU:
      • XILENCE 600W
      • Case:
      • Lian Li P50r AMD Limited Edition
      • Operating System:
      • Windows 8 Professional 64 bit
      • Monitor(s):
      • Acer 243W 24", HP LA2405 24", Dell 2405 24"
      • Internet:
      • Virgin - 30Mb

    Re: What function does this circuit perform

    OK guys,

    Turns out many of you were right. The answer to the ambiguous question was:

    Derive the logic and mention how the redundent logic can be removed to allow circuit testing.

    Thanks again guys.
    Currently studying: Electronic Engineering and Artificial Intelligence at the University of Southampton.

  21. Received thanks from:

    Stoo (12-01-2012)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •