Commit 29d08ba8 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.
Browse files

Re-implemented Bit Stuffing/Destuffing unit

test. Test compiles, but fails so far!
parent f0b81220
This diff is collapsed.
......@@ -51,10 +51,10 @@ add_system_waves
#Add circuit specific signals
add wave -noupdate -divider -height 20 "DUT inputs (generated)"
add wave -group "Triggering signals" $TCOMP/tx_trig \
add wave -group "Triggering signals" $TCOMP/tx_trig_ack \
$TCOMP/bs_trig \
$TCOMP/bd_trig \
$TCOMP/rx_trig
$TCOMP/rx_trig_ack
add wave -label "Data before bit stuffing" $TCOMP/tx_data
add wave -label "Data before bit De-stuffing" $TCOMP/joined_data
......@@ -63,6 +63,7 @@ add wave -label "Bit De-stuffing enabled" $TCOMP/bd_enable
add wave -label "Fixed bit stuffing method" $TCOMP/fixed_stuff
add wave -label "Length of bit stuffing rule" -unsigned $TCOMP/bs_length
add wave -label "Length of bit De-stuffing rule" -unsigned $TCOMP/bd_length
add wave -label "Inserted error data" -unsigned $TCOMP/err_data
add wave -noupdate -divider -height 20 "DUT outputs"
add wave -label "Bit stuffed" $TCOMP/data_halt
......@@ -73,6 +74,10 @@ add wave -label "Data after bit De-stuffing" $TCOMP/rx_data
add wave -label "Stuff count mod 8" -unsigned $TCOMP/bs_ctr
add wave -label "De-Stuff count mod 8" -unsigned $TCOMP/bd_ctr
add wave -noupdate -divider -height 20 "Bit stuffing settings"
add wave -label "Step settings" -unsigned $TCOMP/set
add wave -noupdate -divider -height 20 "Internal DUT signals"
add wave $TCOMP/bitstufcomp/same_bits
add wave $TCOMP/bitstufcomp/prev_bit
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment