Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #488204

Re: FPGA one-shot

From rickman <gnuarm@gmail.com>
Newsgroups sci.electronics.design
Subject Re: FPGA one-shot
Date 2017-12-14 12:45 -0500
Organization A noiseless patient Spider
Message-ID <p0udbv$k1t$1@dont-email.me> (permalink)
References <5fr33dlrlngel72risuluap0mhlrlkms0f@4ax.com> <ca3c21b9-e8f8-48cc-8530-51e2952db414@googlegroups.com> <1gb53d9313c292qoera3oehjls982al77b@4ax.com>

Show all headers | View raw


John Larkin wrote on 12/14/2017 12:09 PM:
> On Thu, 14 Dec 2017 07:33:53 -0800 (PST),
> bloggs.fredbloggs.fred@gmail.com wrote:
>
>> On Wednesday, December 13, 2017 at 10:43:29 PM UTC-5, John Larkin wrote:
>>> I have an async signal, call it TRIG, inside a Zynq 7020.
>>>
>>> At the rising edge of TRIG, I want to make an async one-shot. It will
>>> leave the chip as RX and reset some outboard ecl logic. Anything from,
>>> say, 2 ns to 10 ns width would work.
>>>
>>> The board is built, and we can't easily add more connections to the
>>> FPGA or hack in glue logic. Well, it would be ugly.
>>>
>>> Here are some ideas:
>>>
>>> https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1
>>>
>>> We could play with i/o cell slew rates and drive strengths to tune the
>>> timing. And use as many delay stages (circuit B) as we like... there
>>> are tons of unused balls.
>>>
>>> Or maybe use some internal delay path, if we can find one that is
>>> reasonably repeatable.
>>>
>>> The compiler will probably let us do circuit A or B without whining
>>> much, but might object to the third one.
>>>
>>> I grew up on async hairball logic, so this seems reasonable to me, but
>>> my FPGA guys are horrified. We don't want to spin up a 250 MHz PLL
>>> here and do it synchronously, for various reasons.
>>>
>>> An internal passive pullup resistor charging an i/o pin capacitance
>>> would be fun, but I don't think we could make a short enough blip.
>>>
>>> Any other ideas or comments?
>>>
>>>
>>> --
>>>
>>> John Larkin         Highland Technology, Inc
>>>
>>> lunatic fringe electronics
>>
>> You can use what's called an event driven state machine to produce that pulse. How long does that TRIG last? If it's well in excess of 10ns then you can process TRIG and a delayed version of itself to CLR the FF.
>
> TRIG will last maybe 20 ns or so, and I need the ecl reset to be done
> before then.
>
> If I had a roughly reliable (say, 3:1) delay line inside the chip (or
> even by looping through a pin or two) I could also do the classic
> A_and_notB gate to make a pulse. I don't need to use the dflop. The
> problem is to make that async delay without asking my guys to spend
> days fighting the tools and testing that the results survive
> recompiles.

The two circuits are equivalent regarding the use of the tools.  One simply 
uses a combinatorial path to generate a pulse and the other uses a FF as 
what is essentially a combinatorial device requiring the same delay element.

There is no remotely easy way to generate delays in an FPGA if you can't 
control the routing.  The logic hardware isn't the problem, it's the 
routing.  Put all the logic into a single block and most of the routing will 
be less flexible and less timing variable block internal routing.  Then you 
may have a chance.


> I did the board schematic so it's arguably my fault that this one-shot
> thing needs to be done. I need a fix that works quickly and gets me
> minimal harassment from the people that will actually implement it.
>
> I am of course managing a process that I don't entirely understand,
> but isn't that what managers do?

Good managers solve problems by using people and tools as they are intended 
to be used.  Either or both can be abused.

-- 

Rick C

Viewed the eclipse at Wintercrest Farms,
on the centerline of totality since 1998

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

FPGA one-shot John Larkin <jjlarkin@highlandtechnology.com> - 2017-12-13 19:43 -0800
  Re: FPGA one-shot krw@notreal.com - 2017-12-13 22:57 -0500
    Re: FPGA one-shot John Larkin <jjlarkin@highlandtechnology.com> - 2017-12-13 20:02 -0800
  Re: FPGA one-shot Richard Damon <Richard@Damon-Family.org> - 2017-12-13 23:29 -0500
  Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 02:10 -0500
    Re: FPGA one-shot Theo Markettos <theom+news@chiark.greenend.org.uk> - 2017-12-14 11:44 +0000
      Re: FPGA one-shot John Larkin <jjlarkin@highlandtechnology.com> - 2017-12-14 08:54 -0800
        Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 12:39 -0500
    Re: FPGA one-shot krw@notreal.com - 2017-12-14 09:12 -0500
      Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 10:02 -0500
        Re: FPGA one-shot krw@notreal.com - 2017-12-14 10:35 -0500
          Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 12:50 -0500
            Re: FPGA one-shot krw@notreal.com - 2017-12-14 21:59 -0500
              Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-15 00:56 -0500
                Re: FPGA one-shot krw@notreal.com - 2017-12-15 07:19 -0500
  Re: FPGA one-shot whit3rd <whit3rd@gmail.com> - 2017-12-14 00:52 -0800
    Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 09:53 -0500
  Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-14 10:49 +0000
    Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-14 11:39 +0000
      Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 10:18 -0500
        Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-15 10:21 +0000
          Re: FPGA one-shot krw@notreal.com - 2017-12-15 07:21 -0500
          Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-15 10:57 -0500
            Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-16 09:50 +0000
              Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-16 09:27 -0500
                Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-16 16:32 +0000
                Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-16 12:44 -0500
                Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-18 08:54 +0000
                Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-18 12:07 -0500
                Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-19 10:11 +0000
                Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-19 09:30 -0500
                Re: FPGA one-shot John Larkin <jjlarkin@highlandtechnology.com> - 2017-12-19 07:29 -0800
    Re: FPGA one-shot John Larkin <jjlarkin@highland_snip_technology.com> - 2017-12-14 10:31 -0800
      Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 14:06 -0500
  Re: FPGA one-shot bloggs.fredbloggs.fred@gmail.com - 2017-12-14 07:33 -0800
    Re: FPGA one-shot John Larkin <jjlarkin@highlandtechnology.com> - 2017-12-14 09:09 -0800
      Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 12:45 -0500
      Re: FPGA one-shot Jon Elson <jmelson@wustl.edu> - 2017-12-14 13:56 -0600
  Re: FPGA one-shot Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-12-14 11:05 -0800
    Re: FPGA one-shot John Larkin <jjlarkin@highland_snip_technology.com> - 2017-12-14 11:23 -0800
      Re: FPGA one-shot Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-12-14 11:35 -0800
        Re: FPGA one-shot John Larkin <jjlarkin@highland_snip_technology.com> - 2017-12-14 13:24 -0800
  Re: FPGA one-shot Jon Elson <jmelson@wustl.edu> - 2017-12-14 13:49 -0600
    Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 15:03 -0500
    Re: FPGA one-shot John Larkin <jjlarkin@highland_snip_technology.com> - 2017-12-14 13:34 -0800
      Re: FPGA one-shot Jon Elson <jmelson@wustl.edu> - 2017-12-15 15:50 -0600
        Re: FPGA one-shot John Larkin <jjlarkin@highland_snip_technology.com> - 2017-12-15 15:10 -0800
  Re: FPGA one-shot Les Cargill <lcargill99@comcast.com> - 2017-12-16 11:59 -0600

csiph-web