Hi,
I've designed a PowerPC C++ Application (as standalone configuration) that communicates with an custom peripheral. The custom peripheral, simply counts up a std_logic_vector until it reaches the decimal value 100. This increment is done every clock cycle, the design is made up as an FSM.
Now I send a start signal to the peripheral, the peripheral starts counting. The PowerPC now waits for the peripheral, that sends a "ready" signal, indicating that it puts the first increment to the output register.
Now I want to read every clock cycle from this output register, so that the powerPC gets something like (1,2,3...,100) as input from the peripheral.
Therefore the PowerPC waits for the ready signal and then continously reads the output register.
Unfortunately, all I get as an input from the peripheral is the last value of the counting :(
The peripheral is connected via the OPB bus to the PowerPC, I've learned that this Bus runs at 100 Mhz when configuring the PowerPC to run at 300 Mhz. The clock of the peripheral is connected to the sys_clk_s.
I expect that the PowerPC reads data much faster from the Bus than the peripheral writes them onto the bus. I even build up a clock divider, slowing down the peripheral to sys_clk_s/4 but all I get is the last value.
What is missing in my configuration or do you have an assumption what I am doing wrong?
Any help is highly appreciated, regards Peter