New slave checker and updated gpio and gpio_banks
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
`timescale 1ns/1ps
|
||||
|
||||
module wb_countdown_timer #(
|
||||
parameter address = 32'h00000000 // Base address of peripheral
|
||||
)(
|
||||
module wb_countdown_timer (
|
||||
input wire i_clk,
|
||||
input wire i_rst,
|
||||
output wire o_irq,
|
||||
@@ -26,7 +24,7 @@ module wb_countdown_timer #(
|
||||
reg counter_started = 0;
|
||||
reg counter_running = 0;
|
||||
reg prev_counter_running = 0;
|
||||
assign o_wb_ack = wb_ack;
|
||||
assign o_wb_ack = wb_ack & i_wb_cyc & i_wb_stb; // Make sure the ack only happend during a cycle
|
||||
|
||||
assign o_irq = irq_fired;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user