Hi everybody, i' trying to realize a custom OPB peripheral using EDK. In my design I need a register in which one bit should be written by software and by the peripheral itself.
Ok... I'll try to explain it better.
I would like to set a bit of one register from software to tell the peripheral to start to work. When it has finished, i'd like that the peripheral sets to ' 0 ' the same bit in order to communicate that the work is done. In this way setting again the bit to ' 1 ' the peripheral will start to workagain, and so on.
The problem is: when I syntethize the peripheral I got the error:
Multi-source in Unit on signal
I think it's due to the fact that the bit is written by the bus (via software) and by the peripheral...
How can i fix this problem?
It seems that the SW register of the OPB peripherals in EDK can't be written by the peripheral itself (this means that it's useless to try to read that register from software)....
How can I get information from software about the peripheral if the register can't be written by the periperal?
I'm quite new to this stuff and I hope my problem is clear (despite of my poor english)
Thanks a lot,
A.