const.vhd
来自「it is used to understand the basic worki」· VHDL 代码 · 共 21 行
VHD
21 行
-- File generated by bch.exe program.
-- The constant pacage for BCH code (15,5), t=3
-- Option= 3, Interleave= 2, -- with optimisation.
-- GF(2^4) is generated by polynomial [1+x+...] - 11001;
-- Constant necessery for decoder and encoder
PACKAGE const IS
CONSTANT m: INTEGER:= 4;
CONSTANT n: INTEGER:= 15; -- n= 2^m -1 -size of block
CONSTANT k: INTEGER:= 5; -- BCH code (n,k) -no. of information bits
CONSTANT nk: INTEGER:= 10; -- nk=n-k
CONSTANT t: INTEGER:= 3; -- no. of errors to be corrected
CONSTANT sizea: INTEGER:= 3; -- size of counter ca
CONSTANT sizeb: INTEGER:= 3; -- size of counter cb
-- count = iteration* cb + ca
CONSTANT sizel: INTEGER:= 3;
-- size of l integer (degree of error polynomial BMA)
END const;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?