Lösung vom Drive kopiert und mit ChatGPT korrigieren lassen.

This commit is contained in:
2024-02-29 16:33:57 +01:00
parent 673abf9c48
commit 8f9d0cd001
31 changed files with 1313 additions and 107 deletions

19
labor_4_drive/sim/sim.do Normal file
View File

@@ -0,0 +1,19 @@
#remove working directory
file delete -force work
#Creating the work lib
vlib work
vmap work work
#Top level testbench
vlog spi_master_tb.v \
../src/spi_master.v
#Simulate
vsim -c -t ps spi_master_tb
#get wave
do wave.do
run 25 us