srinpraveen
Member level 2
Hi friends,
I have been working very very hard for the past few days on the arbiter part of the amba ahb bus architecture. I am using a fixed priority algorithm for allocating grant to the bus master. I tried simulating the arbiter verilog code on modelsim with the testbench that I wrote. I was very disappointed.
Even a simple grant signal is not asserted when a highest priority master sends a request signal. In plain words, none of the output grant signals are changing. They are holding constant zero values throughout the run length which indicates to me that only the power reset part of the logic alone is working and rest of the logic does not work. Can anyone throw some light on what might be wrong on the code?
I have enclosed the arbiter verilog code and its testbench in this thread. I have included comments almost everywhere on the code to make it as self explanatory as possible. Hope it helps while viewing the code. :-|:sad:
I have been working very very hard for the past few days on the arbiter part of the amba ahb bus architecture. I am using a fixed priority algorithm for allocating grant to the bus master. I tried simulating the arbiter verilog code on modelsim with the testbench that I wrote. I was very disappointed.
I have enclosed the arbiter verilog code and its testbench in this thread. I have included comments almost everywhere on the code to make it as self explanatory as possible. Hope it helps while viewing the code. :-|:sad: