From 2c9c738d217c80a235c82f830a72223e07c9c4d5 Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Tue, 18 Mar 2025 14:07:33 +0100 Subject: add de1_dac --- src/de1_dac_rtl.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3