please help

Discussion in 'VHDL' started by seice.kao@gmail.com, Nov 7, 2007.

  1. Guest

    A magnitude comparator(which compares two unsigned binary words,A
    and B, and result in two outputs, A>B A<B ) is required

    1.(a)Design at the gate level a single bit slice for this comparator
    with the
    comparison signals flowing from LSB to MSB

    (b)Design at the gate level a single bit slice for this comparator
    with the
    comparison signals flowing from MSB to LSB

    (c)How could these comparators be used if A and B were signed
    two's-complement binary numbers?(Note No internal modification of the
    comparator is required)


    2.(a)Write a structural VHDL description of your design question 1.(a)
    and iterate this using GENERATE statements to form 8-bit comparator


    (b)Provide a RTL-LEVEL VHDL description of a magnitude comparator
    (which compares two 8-bit std_logic_vectors representing unsigned
    binary words A and B and results in two std_logic outputs A_gt_B and
    A_lt_B)

    (c)How would you modify the VHDL code of Question 2(b)if A and B
    were representing two's complement signed numbers

    (d) If possible synthesize the VHDL code produved for question 2(a)
    and
    2(b) using a CMOS process as the target technology. Compare the
    synthesized circuits and discuss the results.( If you do not have
    access to
    a synthesiser discuss what you night expect from the synthesis of
    these
    two descriptions).

    3.Design a schematic diagram illustrating how an 8-bit subtractor
    (delivering an 8-bit result) can be implemented using carry lookahead
    techniques
    , Nov 7, 2007
    #1
    1. Advertising

  2. wrote:
    > A magnitude comparator(which compares two unsigned binary words,A
    > and B, and result in two outputs, A>B A<B ) is required


    If you can't work any of those problems
    in less time than doing all that typing,
    you are in the wrong class.
    From the questions, it doesn't sound like
    a very good class anyway.
    Drop it before you see worse on the mid-term exam.

    Nice typing, by the way.

    -- Mike Treseler
    Mike Treseler, Nov 7, 2007
    #2
    1. Advertising

  3. Paul Floyd Guest

    On Wed, 07 Nov 2007 07:29:37 -0800, Mike Treseler
    <> wrote:
    > wrote:
    >> A magnitude comparator(which compares two unsigned binary words,A
    >> and B, and result in two outputs, A>B A<B ) is required

    >
    > If you can't work any of those problems
    > in less time than doing all that typing,
    > you are in the wrong class.
    > From the questions, it doesn't sound like
    > a very good class anyway.
    > Drop it before you see worse on the mid-term exam.
    >
    > Nice typing, by the way.


    Assuming that it wasn't copied/pasted from the professor's intranet web
    page.

    A bientot
    Paul
    --
    Paul Floyd http://paulf.free.fr
    Paul Floyd, Nov 7, 2007
    #3
  4. a écrit :

    The better help that I can tell :
    --> Do it yourself

    Pascal
    Pascal Peyremorte, Nov 7, 2007
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JC
    Replies:
    4
    Views:
    7,952
    Jeff C
    Jul 8, 2004
  2. Replies:
    4
    Views:
    492
    Chris Uppal
    May 5, 2005
  3. KK
    Replies:
    2
    Views:
    528
    Big Brian
    Oct 14, 2003
  4. MuZZy
    Replies:
    7
    Views:
    1,723
    Mike Hewson
    Jan 7, 2005
  5. mera
    Replies:
    7
    Views:
    1,081
Loading...

Share This Page