/cad2/ece241f/public/submit 2 part2.v part3.v
/cad2/ece241f/public/check submission 2
/cad2/ece241f/public/2/tester
/cad2/ece241f/public/2/tester
.v
file):mux.v
. Understand the structure, especially the two modules mux
and mux2to1
.mux
module connects with the pins of the DE1-SoC board.mux2to1
module inside the mux
module..do
file):Familiarize yourself with the wave.do
file and understand its purpose.
Understand how to force values to signals and run the simulation.
When you “force” a value to a signal, you’re overriding its natural value, forcing it to take on 0 or 1, regardless of what surrounding circuitry might be driving it to
Running the simulation:
Action: Open ModelSim, navigate to the directory containing your files, and run the simulation by typing do wave.do
.
.do
file in ModelSim. (This involves ModelSim and the .do
file.).do
file. Modify the .do
file to apply different inputs (using the force
command) and observe the outputs. Validate the behavior of the mux
module.mux.v
). Set it up to program the FPGA and test it on your DE1-SoC board. (This involves the .v
file, Quartus, and FPGA hardware.)
DE1 SoC.qsf
file in your Quartus project to correctly map the pins.