newbie question about decoder

Discussion in 'VHDL' started by Max, Sep 3, 2003.

  1. Max

    Max Guest

    is it correct to implement a decoder in the following way?

    reg_en <= "000" when ce = '0' else
    "001" when cpu_addr_bus = "00" else
    "010" when cpu_addr_bus = "01" else
    "100" when cpu_addr_bus = "10" else
    "000";

    ce is the decoder enable. Once ce is one I decode cpu_addr_bus.

    thanks
     
    Max, Sep 3, 2003
    #1
    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. Max

    decoder

    Max, Sep 9, 2003, in forum: VHDL
    Replies:
    2
    Views:
    1,503
    Egbert Molenkamp
    Sep 9, 2003
  2. Max

    R: decoder

    Max, Sep 9, 2003, in forum: VHDL
    Replies:
    1
    Views:
    667
    Egbert Molenkamp
    Sep 9, 2003
  3. Matt North

    S-Video Decoder

    Matt North, Oct 28, 2003, in forum: VHDL
    Replies:
    1
    Views:
    668
    itsme
    Oct 28, 2003
  4. axelman

    Newbie, VIN Number decoder help

    axelman, Jun 5, 2007, in forum: ASP .Net
    Replies:
    7
    Views:
    519
    Cowboy \(Gregory A. Beamer\)
    Jul 14, 2007
  5. axelman

    Newbie, VIN Number decoder help

    axelman, Jun 5, 2007, in forum: ASP .Net Web Services
    Replies:
    7
    Views:
    259
    Cowboy \(Gregory A. Beamer\)
    Jul 14, 2007
Loading...

Share This Page