Hi David and All

I was to working with the python  from the wiki. I adapt the tut3.py for
the design "spectrometer with a stream at 2Gsps using ADC interleave mode" This
design is made for Jason Manley and I only modifiqued same blocks for check
up.

I will check  register in my model with name cnt_rst. How say Laura:  the
register name in the .bof file differs from the python code slightly.


Cheers Katty


2013/5/20 David MacMahon <[email protected]>

> Hi, Katty,
>
> As you discovered the hard way, the python script and bof file that you
> attached are not compatible with each other.  Where did you get this
> tutorial?
>
> Thanks,
> Dave
>
> On May 20, 2013, at 9:47 AM, katherine viviana cortes urbina wrote:
>
> > Hi all,
> >
> > I am sorry but still I can not solve the error
> > ---------- Forwarded message ----------
> > From: katherine viviana cortes urbina <[email protected]>
> > Date: 2013/5/7
> > Subject: Fwd: .py
> > To: Casper Lists <[email protected]>
> >
> >
> >
> > Hi all,
> >
> > I synthesized a Design this is spectrometer with 2048 channel, 1 GHz in
> clock ADC, mode Interleaved. But if I connected to the ROACH by
> tut3_interleave_4096.py I have the error in the register cnt_rst this is
> not found.
> >
> > error :
> > ./tut3_interleave_4096.py 192.168.100.2 -b s1_2013_May_02_1157.bof
> > Connecting to server 192.168.100.2 on port 7147...  ok
> >
> > ------------------------
> > Programming FPGA with s1_2013_May_02_1157.bof... done
> > Configuring accumulation period... done
> > Resetting counters... FAILURE DETECTED. Log entries:
> > 192.168.100.2: Starting thread Thread-1
> > 192.168.100.2: #version poco-0.1
> > 192.168.100.2: #build-state poco-0.2804
> > 192.168.100.2: ?progdev s1_2013_May_02_1157.bof
> >
> > 192.168.100.2: !progdev ok 512
> > 192.168.100.2: Programming FPGA with s1_2013_May_02_1157.bof... ok.
> > 192.168.100.2: ?write acc_len 0 \0 \0\0
> >
> > 192.168.100.2: !write ok
> > 192.168.100.2: ?read acc_len 0 4
> >
> > 192.168.100.2: !read ok \0 \0\0
> > 192.168.100.2: Write    40000 to register acc_len at offset 0 ok.
> > 192.168.100.2: ?write cnt_rst 0 \0\0\0
> >
> > 192.168.100.2: #log error 371725520384 poco
> register\_cnt_rst\_not\_found
> > 192.168.100.2: 371725520384 poco: register cnt_rst not found
> > 192.168.100.2: !write fail register
> > 192.168.100.2: Request write failed.
> >   Request: ?write cnt_rst 0 \0\0\0
> >   Reply: !write fail register.
> > None
> > Traceback (most recent call last):
> >   File "./tut3_interleave_4096.py", line 155, in <module>
> >     exit_fail()
> >   File "./tut3_interleave_4096.py", line 132, in <module>
> >
> >     fpga.write_int('cnt_rst',1)
> >   File "/usr/local/lib/python2.6/site-packages/corr/katcp_wrapper.py",
> line 411, in write_int
> >     self.write(device_name, data, offset*4)
> >   File "/usr/local/lib/python2.6/site-packages/corr/katcp_wrapper.py",
> line 351, in write
> >     self.blindwrite(device_name, data, offset)
> >   File "/usr/local/lib/python2.6/site-packages/corr/katcp_wrapper.py",
> line 375, in blindwrite
> >     self._request("write", device_name, str(offset), data)
> >   File "/usr/local/lib/python2.6/site-packages/corr/katcp_wrapper.py",
> line 67, in _request
> >     % (request.name, request, reply))
> > RuntimeError: Request write failed.
> >   Request: ?write cnt_rst 0 \0\0\0
> >   Reply: !write fail register.
> >
> > any idea?
> >
> > Cheers katty
> >
> > <tut3_interleave_4096.py><s1_2013_May_02_1157.bof>
>
>

Reply via email to