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


Groups > sci.electronics.design > #488475

Re: FPGA one-shot

From rickman <gnuarm@gmail.com>
Newsgroups sci.electronics.design, comp.arch.fpga
Subject Re: FPGA one-shot
Date 2017-12-16 12:44 -0500
Organization A noiseless patient Spider
Message-ID <p13m2b$878$1@dont-email.me> (permalink)
References (1 earlier) <5a33a235$0$1563$b1db1813$ba189b79@news.astraweb.com> <p10re0$bm9$1@dont-email.me> <5a34ec5f$0$26927$b1db1813$eb6074ea@news.astraweb.com> <p13ags$ha0$1@dont-email.me> <5a354a98$0$3119$b1db1813$ba189b79@news.astraweb.com>

Cross-posted to 2 groups.

Show all headers | View raw


Allan Herriman wrote on 12/16/2017 11:32 AM:
> On Sat, 16 Dec 2017 09:27:37 -0500, rickman wrote:
>
>> Allan Herriman wrote on 12/16/2017 4:50 AM:
>>> On Fri, 15 Dec 2017 10:57:50 -0500, rickman wrote:
>>>
>>>> Allan Herriman wrote on 12/15/2017 5:21 AM:
>>>>> On Thu, 14 Dec 2017 10:18:25 -0500, rickman wrote:
>>>>>
>>>>>> Allan Herriman wrote on 12/14/2017 6:39 AM:
>>>>>>> On Thu, 14 Dec 2017 10:49:41 +0000, Allan Herriman wrote:
>>>>>>>
>>>>>>>
>>>>>>>> The placement and routing is quite easy to control from your
>>>>>>>> favourite HDL, once you know how.  This is important to get right
>>>>>>>> as otherwise
>>>>> the
>>>>>>>> results will not be repeatable.
>>>>>>>
>>>>>>> This Xilinx forum thread gives some examples of placement and
>>>>>>> routing
>>>>> in VHDL:
>>>>>>>
>>>>>>> https://forums.xilinx.com/t5/UltraScale-Architecture/Gated-ring-
>>>>> oscillator/m-p/808774/highlight/true#M5557
>>>>>>
>>>>>> When you say "routing", it doesn't appear to deal with the actual
>>>>> routing.
>>>>>> He does mention that the attributes assign specific I/Os on the LUTs
>>>>> and so
>>>>>> which pin is connected to which is determined.  But the routing
>>>>>> interconnects still need to be wired up in the chip editor I
>>>>>> believe.
>>>>>
>>>>> There is no manual step needed.  Once you lock the pins, the routing
>>>>> will be fixed (to an extent).
>>>>
>>>> "To an extent" is one of those things where the devil is in the
>>>> details.
>>>> Routing within a block is dedicated and either a path exists or it
>>>> doesn't. But routing between blocks is much more flexible and so
>>>> subject to variations depending on what the software chooses.
>>>
>>> In general, I agree with that.  Look sideways at the PAR software or
>>> make a trivial change to the source code and it will do something
>>> completely different, and often something unexpected.  Sometimes it
>>> will do something wildly suboptimal.
>>>
>>> But in this case, I believe Larkin has just one connection that will be
>>> contained within a single switch box next to the IOB.  It will not use
>>> any inter-switchbox routing (with all the uncertainty that entails).
>>>
>>> My experience has been that in this particular case (and this
>>> particular case only), locking the pins correctly may remove any choice
>>> the router has, resulting in repeatable routing.  (I won't say
>>> repeatable timing, because we still have PVT to worry about.)
>>>
>>> Depending on the exact switchbox resources used, this may also require
>>> that other routing be prohibited in that area to work.
>>>
>>>
>>> Perhaps I should point out that whilst I have done some of this sort of
>>> manual placement and routing recently, I have not done the exact route
>>> of IBUF output to OUTFF clear input.  Sometimes there are quirks that
>>> do not become apparent until the design hits the tools.
>>
>> I guess my work with Xilinx parts is getting old.  I didn't remember the
>> IOB FFs *having* accessible async Clear/Preset inputs which would have
>> required a FF from the fabric.  But I looked at the Xynq data sheet and
>> the IOB FF have accessible Clear/Preset inputs.  So there will be
>> routing on the general fabric as I expect there is no direct connection
>> between the input and the Clear pin within the IOB.
>
>
> I can't try it here (I'm not at work and I deliberately don't have the
> tools installed at home) but I believe both signals appear on the same
> switchbox, which is about as close to a direct connection as one can get
> outside a slice.
>
>
>> As to your presumption of this removing "any choice the router has", I
>> think that is fallacious.  The switch matrix is a general purpose
>> routing medium and I have seen the tool do, as you say, "wildly
>> suboptimal" routes.
>
>
> I'm fairly sure that rather than being general purpose, the switch matrix
> is sparse and doesn't support all input to output connections.  (The
> exact details are not documented publicly.)  With pin locking, one can
> force particular paths through the switchbox.  This is based on my
> observations of tool behaviour rather than an inspection of the die, thus
> there is a chance that it is wrong as you suggest.
>
> Please note that I'm only referring to intra-switchbox routing.  All bets
> are off once the routing goes outside the local switchbox.
>
>
>> The only way to tell is to give it a try.
>
> Oh yes.

You are more familiar with the newer devices than I am.  The issue isn't 
even if you can get the route through the local switchbox.  It is whether it 
will always pick the same route.  As you say, the switch matrix is somewhat 
sparse, but the issue is whether it goes through a single switchbox or not. 
I guess we'll find out when John tries it.

I thought the problem was going to be the lack of a reset pin on the IOB FF 
which would have forced the use of a fabric FF with routing to/from the IOB. 
  Then I think the locking of LUTs (for delay) and the FF to a single CLB 
would have been the approach with the best shot at producing a controlled 
pulse width even if the routing delay to the IOB would have been variable. 
But that can be constrained since it is a path from the "clock" (trigger 
input) to the output pin.

-- 

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