From a9412d1339d16114e85b75c1478cac4fcf2ccb57 Mon Sep 17 00:00:00 2001 From: slederer Date: Thu, 1 Jan 2026 02:07:36 +0100 Subject: [PATCH] tdraudio: fix wiring for channel 2, irqctrl: increase delay --- tridoracpu/tridoracpu.srcs/irqctrl.v | 2 +- tridoracpu/tridoracpu.srcs/tdraudio.v | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tridoracpu/tridoracpu.srcs/irqctrl.v b/tridoracpu/tridoracpu.srcs/irqctrl.v index b71df60..5608440 100644 --- a/tridoracpu/tridoracpu.srcs/irqctrl.v +++ b/tridoracpu/tridoracpu.srcs/irqctrl.v @@ -1,6 +1,6 @@ `timescale 1ns / 1ps -module irqctrl #(IRQ_LINES = 3, IRQ_DELAY_WIDTH = 4) ( +module irqctrl #(IRQ_LINES = 3, IRQ_DELAY_WIDTH = 8) ( input wire clk, input wire [IRQ_LINES-1:0] irq_in, input wire cs, diff --git a/tridoracpu/tridoracpu.srcs/tdraudio.v b/tridoracpu/tridoracpu.srcs/tdraudio.v index 1629e31..4ad978d 100644 --- a/tridoracpu/tridoracpu.srcs/tdraudio.v +++ b/tridoracpu/tridoracpu.srcs/tdraudio.v @@ -233,7 +233,7 @@ module tdraudio #(DATA_WIDTH=32) ( chan2_rd_data, amp_wr_data, chan2_rd_en, chan2_wr_en, chan2_amp, - chan2_irq, chan2_running); + chan2_running, chan2_irq); wavegen chan3(clk, reset, reg_sel, chan3_rd_data, amp_wr_data,