Talk About Network

Google





Electronic Equipment > VHDL > Re: VHDL switch...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 11 Topic 6051 of 6445
Post > Topic >>

Re: VHDL switch model

by rickman <gnuarm@[EMAIL PROTECTED] > May 28, 2008 at 06:44 AM

On May 28, 7:55 am, KJ <kkjenni...@[EMAIL PROTECTED]
> wrote:
> On May 27, 4:37 pm, rickman <gnu...@[EMAIL PROTECTED]
> wrote:
>
> > I was considering what it will take to implement a bi-directional
> > switch in VHDL and found this by Peter Ashenden.  The method is pretty
> > much what I had thought of,
>
> > I haven't simulated this.  Any idea if I am off base here?
>
> Another example you might want to look at is Ben Cohen's zero ohm
> resistor model.
>
> http://www.google.com/search?hl=en&rlz=1G1GGLQ_ENUS278&q=%22Ben+Cohen...
>
> KJ

I may have replied too soon.  I'm not sure his resistor even works.
If A and B have different values, the model will drive each bus with a
'Z' initially.  Then after a delta delay each bus will be driven with
the state of the other.  This will put an 'X' on each bus.  This
triggers the process again and the model drives a 'Z' again.  Now the
value of the bus returns to the values driven by the A and B drivers
and the process repeats.  It looks to me like it will infinite loop
oscillating, just advancing delta times and never advance in real
time.

Again, a simulation is worth a thousand code reviews.

Rick
 




 11 Posts in Topic:
VHDL switch model
rickman <gnuarm@[EMAIL  2008-05-27 13:37:00 
Re: VHDL switch model
KJ <kkjennings@[EMAIL   2008-05-28 04:55:07 
Re: VHDL switch model
rickman <gnuarm@[EMAIL  2008-05-28 06:38:38 
Re: VHDL switch model
rickman <gnuarm@[EMAIL  2008-05-28 06:44:24 
Re: VHDL switch model
KJ <kkjennings@[EMAIL   2008-05-28 07:22:45 
Re: VHDL switch model
Ralf Hildebrandt <Ralf  2008-05-28 16:25:44 
Re: VHDL switch model
Rick <fmfoundry@[EMAIL  2008-05-31 18:25:01 
Re: VHDL switch model
rickman <gnuarm@[EMAIL  2008-05-28 09:58:29 
Re: VHDL switch model
"KJ" <kkjenn  2008-05-28 16:18:44 
Re: VHDL switch model
rickman <gnuarm@[EMAIL  2008-05-28 17:34:39 
Re: VHDL switch model
Ralf Hildebrandt <Ralf  2008-05-29 18:17:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 19:37:24 PST 2009.