Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- Can you show the combinatorial connections? Now I already perused your code. Immediately I can't make much of it as it is rather complicated. I had expected to see a state-machine ... a state machine is worth a thousand equations --- Quote End --- Yes, the state machine is much clearer. However this design was based on an attempt to make the bridge as fast as possible. Therefore the main part is a combinational process, which translates signals between the AXI4 Lite side and the IPbus (or WishBone in the second bridge) as fast as possible. So the combinational connections are just results of the combinational process used here. An example may be, that in the write transaction: If S_AXI_AWVALID = '1' and S_AXI_WVALID = '1' and there is no uncompleted transaction, then if S_AXI_WSTRB = "1111", finally S_AXI_AWREADY and S_AXI_WREADY are set to '1'. The above is done in a fully combinational way, creating the combinational connection between the input signals (AWVALID, WVALID, WSTRB ) and output signals (AWREADY, WREADY) at the AXI4-Lite side of the bridge. Probably to comply to the requirement of avoiding combinational connections, I'll have to rewrite it as a state machine (hopefully for translated signals it will be the Mealy one). However, almost for sure it will result in slightly slower (but safer) operation... Regards, Wojtek