Another scaling factor was added and both input signals can now be independenly scaled. In Single Input Mode only Input 1 is passed to the output (negated if configured as negative feddback). In double input mode Input 2 is added/subtracted from Input 1 (in1 +/- in2). The delay line is only applied to Input 2. Addsub was removed from the design (all Additions and Subtractions are directly implemented in VHDL code). Config signals were latched to follow the data flow path and prevent glitches on certain events. Vivado Project updated. Single Package containing all needed pre-calculated sine arrays. General Code Cleanup.
56 lines
2.6 KiB
Plaintext
56 lines
2.6 KiB
Plaintext
onerror {resume}
|
|
quietly WaveActivateNextPane {} 0
|
|
add wave -noupdate -divider SYSTEM
|
|
add wave -noupdate /feedback_loop_tb/clk
|
|
add wave -noupdate /feedback_loop_tb/reset
|
|
add wave -noupdate -divider ADC
|
|
add wave -noupdate /feedback_loop_tb/adc_data_in1
|
|
add wave -noupdate /feedback_loop_tb/adc_data_in2
|
|
add wave -noupdate /feedback_loop_tb/adc_cs_n
|
|
add wave -noupdate -divider CONFIG
|
|
add wave -noupdate /feedback_loop_tb/addsub_mode
|
|
add wave -noupdate /feedback_loop_tb/add_input_mux
|
|
add wave -noupdate -radix unsigned /feedback_loop_tb/delay
|
|
add wave -noupdate -radix binary /feedback_loop_tb/uut/factor1
|
|
add wave -noupdate -radix binary /feedback_loop_tb/uut/factor2
|
|
add wave -noupdate -divider INPUT
|
|
add wave -noupdate -radix hexadecimal /feedback_loop_tb/uut/adc_data1
|
|
add wave -noupdate -radix hexadecimal /feedback_loop_tb/uut/adc_data2
|
|
add wave -noupdate /feedback_loop_tb/uut/adc_done
|
|
add wave -noupdate -divider TESTBENCH
|
|
add wave -noupdate /feedback_loop_tb/adc_stage
|
|
add wave -noupdate /feedback_loop_tb/cnt1
|
|
add wave -noupdate /feedback_loop_tb/cnt2
|
|
add wave -noupdate -divider SIGNAL
|
|
add wave -noupdate -expand -group ANALOG -format Analog-Step -height 200 -max 4096.0 -radix unsigned /feedback_loop_tb/input1
|
|
add wave -noupdate -expand -group ANALOG -format Analog-Step -height 200 -max 4094.9999999999995 -radix unsigned /feedback_loop_tb/input2
|
|
add wave -noupdate -expand -group ANALOG -format Analog-Step -height 200 -max 65536.0 -radix unsigned /feedback_loop_tb/output
|
|
add wave -noupdate -divider MISC
|
|
add wave -noupdate -radix hexadecimal /feedback_loop_tb/uut/data1_B
|
|
add wave -noupdate -radix hexadecimal /feedback_loop_tb/uut/data2_B
|
|
add wave -noupdate -radix hexadecimal /feedback_loop_tb/uut/scaler_offset_1
|
|
add wave -noupdate -radix hexadecimal /feedback_loop_tb/uut/scaler_offset_2
|
|
add wave -noupdate -radix hexadecimal /feedback_loop_tb/uut/data1_C
|
|
add wave -noupdate -radix hexadecimal /feedback_loop_tb/uut/data2_C
|
|
add wave -noupdate /feedback_loop_tb/uut/done_II
|
|
add wave -noupdate -radix hexadecimal /feedback_loop_tb/uut/data_out
|
|
add wave -noupdate /feedback_loop_tb/uut/done_IV
|
|
TreeUpdate [SetDefaultTree]
|
|
WaveRestoreCursors {{Cursor 4} {101850000000 fs} 0}
|
|
quietly wave cursor active 1
|
|
configure wave -namecolwidth 150
|
|
configure wave -valuecolwidth 100
|
|
configure wave -justifyvalue left
|
|
configure wave -signalnamewidth 1
|
|
configure wave -snapdistance 10
|
|
configure wave -datasetprefix 0
|
|
configure wave -rowmargin 4
|
|
configure wave -childrowmargin 2
|
|
configure wave -gridoffset 0
|
|
configure wave -gridperiod 1
|
|
configure wave -griddelta 40
|
|
configure wave -timeline 0
|
|
configure wave -timelineunits ns
|
|
update
|
|
WaveRestoreZoom {0 fs} {535391147585 fs}
|