]> cvs.zerfleddert.de Git - proxmark3-svn/blame_incremental - fpga/sim.tcl
Add command to manually set ADC mux source
[proxmark3-svn] / fpga / sim.tcl
... / ...
CommitLineData
1#------------------------------------------------------------------------------\r
2# Run the simulation testbench in ModelSim: recompile both Verilog source\r
3# files, then start the simulation, add a lot of signals to the waveform\r
4# viewer, and run. I should (TODO) fix the absolute paths at some point.\r
5#\r
6# Jonathan Westhues, Mar 2006\r
7#------------------------------------------------------------------------------\r
8\r
9vlog -work work -O0 C:/depot/proximity/mark3/fpga/fpga.v\r
10vlog -work work -O0 C:/depot/proximity/mark3/fpga/fpga_tb.v\r
11\r
12vsim work.fpga_tb\r
13\r
14add wave sim:/fpga_tb/adc_clk\r
15add wave sim:/fpga_tb/adc_d\r
16add wave sim:/fpga_tb/pwr_lo\r
17add wave sim:/fpga_tb/ssp_clk\r
18add wave sim:/fpga_tb/ssp_frame\r
19add wave sim:/fpga_tb/ssp_din\r
20add wave sim:/fpga_tb/ssp_dout\r
21\r
22add wave sim:/fpga_tb/dut/clk_lo\r
23add wave sim:/fpga_tb/dut/pck_divider\r
24add wave sim:/fpga_tb/dut/carrier_divider_lo\r
25add wave sim:/fpga_tb/dut/conf_word\r
26\r
27run 30000\r
Impressum, Datenschutz