Hello Soin,
I am using Quartus 4.2, SP1 (build 178), with NIOS II IDE version 1.1.0, build 137.
BTW, I haven't been on the bench yet. I am looking at my simulation and see that
accesses to certain of my regsiter file are not following the usleep() command.
I am running very simple code, just accessing custom register which have their
accesses interleaved with usleep() commands. I need accuracy since all my code
is based on usleep() as I am driving a one-wire interface. Here is trial piece of code:
IOWR_32DIRECT(REGSECT_DGL_0_BASE,0x88,0xBEEF0000);
usleep(12);
IOWR_32DIRECT(REGSECT_DGL_0_BASE,0x88,0xBEEF1111);
usleep(3);
IOWR_32DIRECT(REGSECT_DGL_0_BASE,0x88,0xBEEF1112);
usleep(50);
IOWR_32DIRECT(REGSECT_DGL_0_BASE,0x88,0xBEEF1113);
usleep(80);
Thanks,
Eric