Hi
I have a fairly simple Simulink design with a couple CPU registers. I
can compile this design and program the FPGA, using KATCP. However, when
I try to set the registers using fpga.write_int("reg_name", value), I
run into problems.
Some of the registers write correctly, but other registers cannot be
written to. The write_int function fails with the following error
(ip_select is the register name):
RuntimeError: Verification of write to ip_select at offset failed. Wrote
0x00000001... but got back 0x00000000.
I have 7 input registers (CPU to FPGA registers) in my design. I can
write to 3 of them, but the other 4 return the error message above. I
have run fpga.listdev to confirm that these registers do in fact exist.
I have also manually written to these registers by sshing into the ROACH
and using echo -n -e "\000\000\000\001" > ip_select to write to the
register. When I read the register back, I just get zeroes.
Does anyone have any idea what could be causing this?
Thanks,
Simon Scott