title: PyGears qrange gear - ValueError: [0], too many values to unpack (expected 2)
body: <p>Below is the code in PyGears, the idea is to have DUT that will convert Array into Queue, but <strong>dut</strong> gear is dropping an error &quot; VelueError too many values&quot;. As far as I understand <strong>qrange</strong> should output DTI which has Queue type for data. I tried to unpack this Queue on Data and EOT but I keep getting this error.</p>
  <blockquote>
  <p>for i, last in qrange(len(din.dtype)): ValueError: [0], too many
  values to unpack (expected 2), in the module &quot;/dut&quot;</p>
  </blockquote>
  <pre><code>from pygears import gear
  from pygears.typing import Uint, bitw, Queue, Array
  from pygears.lib import qrange, drv
  from pygears.sim import sim
  
  
  @gear
  async def dut(din: Array) -&gt; Queue['din[0]']:
     i = Uint[bitw(len(din.dtype) - 1)](0)
  
     async with din as val:
         print(len(din.dtype))
         for i, last in qrange(len(din.dtype)):
             print(i)
             print(last)
             yield val[i], last
  
  @gear
  async def check(dut_res, *, ref):
     for ref_transaction in ref:
         for element in ref_transaction:
             async with dut_res as (data, eot):
                 assert element == data
  
  seq=[[1,2,3,4,5,6,7,8],[10,20,30,40,50,60,70,80]]
  drv(t=Array[Uint[8], 8], seq=seq) \
     | dut \
     | check(ref=seq)
  
  sim()
  </code></pre>