how to do a 1 to 4 demultiplexer in vhdl?

  • Follow


Hi All

I'm trying to figure out how I can write a 1 to 4 demultiplexer in VHDL.
The demux will output one 8 bit serial data on each output, as its selected.
Two of the outputs need to keep the last value ie stay high or stay low.  I
have thought of using the CASE construct.  Would this be the way to go and
does it have to be used within a PROCESS?  Its also got to stop cycling once
all 4 outputs have been used and then wait until more data is sent.  Then go
through the process again.  But I think I have this bit covered.

Can anyone help with the 1 to 4 demux stage?

Thanks

MNQ


0
Reply MNQ 6/26/2003 11:26:51 AM

> I have thought of using the CASE construct.  Would this be the way to go
> and does it have to be used within a PROCESS?

A CASE statement within a process sounds like a clean way to me. You could
also use concurrent assignment statements with the WHEN clause.

Regards,

Pieter Hulshoff

0
Reply Pieter 6/26/2003 1:43:09 PM


1 Replies
770 Views

(page loaded in 0.403 seconds)

Similiar Articles:













7/23/2012 11:33:11 AM


Reply: