Hi everyone,
I've build a custom peripheral and now want to insert new Data into my Design via the PowerPC every clock cycle.
My Problem is: how to resolve the next clock cycle with the PowerPC? I've read the Tutorial by Richard Griffin, who suggests to set an additional register that counts backwards a given number, to synchronize with your peripheral.
As I want to use the clock cycle for the next input, I set the clock signal to a bit of my output registers (using OPB Bus with User Logic S/W Register Support on Virtex 2 Pro). I now tried to detect the rising and falling edge of the clock by reading from the Register via the _mReadReg(....) command.
But unfortunately, I never get the rising edge of the clock :( The PowerPC, on which the C++ Code that reads the register, runs with
300 Mhz. The synthesis of my custom peripheral told me a Frequency of about 150 Mhz. The custom peripheral is attached to the sys_clk_s.I assume that the PowerPC should run significantly faster than the peripheral, but it seems that both run with the same clock.
Hope I have described my problem clearly.
Thanks for any help!
Regards, Peter