aboutsummaryrefslogtreecommitdiff
path: root/src/de1_dac_rtl.vhd
diff options
context:
space:
mode:
Diffstat (limited to 'src/de1_dac_rtl.vhd')
-rw-r--r--src/de1_dac_rtl.vhd2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de1_dac_rtl.vhd b/src/de1_dac_rtl.vhd
index c1c90bf..c0e432d 100644
--- a/src/de1_dac_rtl.vhd
+++ b/src/de1_dac_rtl.vhd
@@ -89,7 +89,7 @@ begin
DAC_WRT_A <= clk;
DAC_WRT_B <= clk;
- phase_inc <= unsigned(SW(9 downto 1) & '0');
+ phase_inc <= unsigned(SW);
cnt <= (others => '0') when rst_n = '0' else cnt+phase_inc when rising_edge(clk);