lxpc1234:/opt/GITSCC/bel_projects/modules/lm32-example> emacs example.c //use your favourite editorSnippet The following is some code that reads the White Rabbit timestamp. Remarks
eb-console
to inspect output of printf() statements. Pay attention to "external WB address(es" that can be used to communicate with the LM32 Soft-CPU from the host system (or from other Wishbone devices on the same SoC).
eb-read
to read the value of the counter
eb-write
to write a value to the input register