-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b4cab1
commit ae843d1
Showing
7 changed files
with
1,028 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
onerror {resume} | ||
|
||
set incdir ../include | ||
set rtldir ../rtl | ||
set tbdir ../testbench | ||
set workdir ../work | ||
# | ||
vlib $workdir | ||
# | ||
vlog -work $workdir -incr -sv +incdir+$incdir+$rtldir $rtldir/bch/*.sv | ||
vlog -work $workdir -incr -sv +incdir+$incdir+$rtldir $rtldir/rs/*.sv | ||
vlog -work $workdir -incr -sv +incdir+$incdir+$rtldir/g709 $rtldir/g709/*.sv | ||
vlog -work $workdir +initreg+0 -sv +incdir+$incdir+$tbdir/g709 $tbdir/g709/bertest.sv | ||
set seed [clock seconds] | ||
vsim -sv_seed $seed bertest -lib $workdir | ||
run -all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
ITU-T G.709 FEC realization | ||
|
||
vivado 2020.2 Kintex 7 - 2 | ||
|
||
Encoder: | ||
|
||
LUT/REG ~2.4k/~2.3k > 250MHz ( > 32Gbps) | ||
|
||
Decoder: | ||
|
||
LUT/REG/RAM ~18.8K/~15.1K/10 > 250MHz ( > 32Gbps) | ||
|
||
Attention: The coder and decoder correspond each other but can have different bit order with standard codes. | ||
|
||
Decoder don't use RS code decfail decision. If decfail occured it sends incorrect bit fix to output. Change it if needed. | ||
|
||
|
Oops, something went wrong.