aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFriedrich Beckmann <friedrich.beckmann@hs-augsburg.de>2025-03-18 14:07:33 +0100
committerFriedrich Beckmann <friedrich.beckmann@hs-augsburg.de>2025-03-18 14:07:33 +0100
commit2c9c738d217c80a235c82f830a72223e07c9c4d5 (patch)
tree131682713b36bbf25a59fcbd68604df5b47b1110 /src
parent0408ead89eb3da768b5d0cb202127fd527c933c4 (diff)
add de1_dacHEADmaster
Diffstat (limited to 'src')
-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);