Re: [casper] Problem reading DRAM in ROACH2

2016-12-14 Thread Franco
Ok, so I updated the libraries and I'm having the same problem, however I notice that now I have two new registers: 'ddr3_ctrl', 'ddr3_mem'. I suppose those are the registers that I'm missing changed names. There was a name changing in the library so that it make incompatible with the

Re: [casper] Problem reading DRAM in ROACH2

2016-12-02 Thread Franco
No, I'm using the tutorial version. That might be the problem. However I'm reluctant to update since this might cause incompatibilities with my previous models. I suppose that if I what to use the DRAM I don't have other choice. Do you have any suggestions? Many thanks, Franco Jason

Re: [casper] Problem reading DRAM in ROACH2

2016-12-02 Thread Jason Manley
Are you running the latest version of the toolflow? Earlier versions did not include the CPU interface to the DRAM. Jason On 02 Dec 2016, at 15:30, Franco wrote: > The register is not present in the bitstream. I thought that the register was > inside the dram yellow

Re: [casper] Problem reading DRAM in ROACH2

2016-12-02 Thread Franco
The register is not present in the bitstream. I thought that the register was inside the dram yellow block though. I have to add it manually or something? Here is the listdev just in case: ['acc_len', 'adc5g_controller', 'cnt_rst', 'dout0_0', 'dout0_1', 'dout0_2', 'dout0_3', 'dout1_0',

Re: [casper] Problem reading DRAM in ROACH2

2016-12-02 Thread Marc Welz
Then there is no bitstream programmed or the particular bitstream doesn't contain that register. Type ?listdev on that connection to find out regards marc On Fri, Dec 2, 2016 at 12:52 PM, Franco wrote: > It says: #log error 1018802834854 raw >

Re: [casper] Problem reading DRAM in ROACH2

2016-12-01 Thread Marc Welz
telnet to the roach on port 7147 while repeating the operation - what do the #log messages say ? On Thu, Dec 1, 2016 at 3:43 PM, Franco wrote: > Hi! > > I tried to test the dram of ROACH2 by porting an example model I had for > ROACH1. > > However when I tried to read

[casper] Problem reading DRAM in ROACH2

2016-12-01 Thread Franco
Hi! I tried to test the dram of ROACH2 by porting an example model I had for ROACH1. However when I tried to read the dram I got the following error: RuntimeError: Request write failed. Request: ?write dram_controller 0 \0\0\0\0 Reply: !write fail. Someone knows what's the problem?