From 4bcab4c1a30b22219ee316700851a76eac3e155e Mon Sep 17 00:00:00 2001 From: Eric Yu Date: Mon, 25 Dec 2023 17:56:41 +0000 Subject: [PATCH] Update src/hdl/modules/qlaser_dacs_pulse_channel.vhdl --- src/hdl/modules/qlaser_dacs_pulse_channel.vhdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hdl/modules/qlaser_dacs_pulse_channel.vhdl b/src/hdl/modules/qlaser_dacs_pulse_channel.vhdl index 74c7772..e2d1a39 100644 --- a/src/hdl/modules/qlaser_dacs_pulse_channel.vhdl +++ b/src/hdl/modules/qlaser_dacs_pulse_channel.vhdl @@ -178,7 +178,7 @@ begin if (cpu_wr = '1') and (cpu_sel = '1') then -- 0 for pulse definition, 1 for waveform table - if (cpu_addr(9) = '1') then + if (cpu_addr(C_RAM_SELECT) = '1') then ram_pulse_addra <= (others=>'0'); ram_pulse_dina <= (others=>'0');