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');