OpenCores
URL https://opencores.org/ocsvn/funbase_ip_library/funbase_ip_library/trunk

Subversion Repositories funbase_ip_library

[/] [funbase_ip_library/] [trunk/] [TUT/] [soc/] [altera_de_II_demo/] [1.0/] [sim/] [sim.do] - Rev 145

Compare with Previous | Blame | View Log

#
# Runs the simulation. 
# Uses "force" command to toggle the switch signals a couple of times.
#  
# Erno Salminen, Decemeber 2011

.main clear
vsim  work.altera_de_ii_demo

do all_waves.do


# Reset and initialize
force /clk 1 0, 0 10 -repeat 20
force /rst_n 0 0, 1 50
force /toggle_in 0 0
run 600


# Toggle assigns enable=1
force /toggle_in 1 0, 0 50 ms
run 400 ms

# Toggle assigns enable=0
force /toggle_in 1 0, 0 50 ms
run 400 ms

# Toggle assigns enable=1 again
force /toggle_in 1 0, 0 50 ms
run 400 ms


Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.