summaryrefslogtreecommitdiffstats
path: root/part_3/ex11/ex11.v.bak
diff options
context:
space:
mode:
Diffstat (limited to 'part_3/ex11/ex11.v.bak')
-rwxr-xr-xpart_3/ex11/ex11.v.bak13
1 files changed, 13 insertions, 0 deletions
diff --git a/part_3/ex11/ex11.v.bak b/part_3/ex11/ex11.v.bak
new file mode 100755
index 0000000..62a30d0
--- /dev/null
+++ b/part_3/ex11/ex11.v.bak
@@ -0,0 +1,13 @@
+module ex11(CLOCK_50, SW, DAC_CS, DAC_SDI, DAC_LD, DAC_SCK);
+
+ input CLOCK_50;
+ input [9:0] SW;
+ output DAC_CS, DAC_SDI, DAC_LD, DAC_SCK;
+
+ wire load;
+
+ tick_5000 t(CLOCK_50, load);
+ spi2dac s(CLOCK_50, SW, load, DAC_SDI, DAC_CS, DAC_SCK, DAC_LD);
+ pwm p(CLOCK_50, SW, load, PWM_OUT);
+
+endmodule \ No newline at end of file