How to convert this vhdl code to verilog ?

Status
Not open for further replies.

allanjose7890

Newbie level 3
Joined
Feb 28, 2015
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
25
This is an array of 1024 bytes which is of11bits


Code VHDL - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
architecture RTL of ENC8B10B is
 
type TYPE_ENC8b10b is array (0 to 1023) of std_logic_vector (10 downto 0); -- RD & Dx.y
signal TBL_ENC8b10b : TYPE_ENC8b10b:=
  (
  --    "Rjhgfiedcba"   -- RD(Pre) + Dx.y => RD(Post)
    "00010111001"-- "00000000" -D00.0- [0]
    "00010101110"-- "00000001" -D01.0- [1]
    "00010101101"-- "00000010" -D02.0- [2]
    "11101100011"-- "00000011" -D03.0+ [3]
    "00010101011"-- "00000100" -D04.0- [4]
    "11101100101"-- "00000101" -D05.0+ [5]
    "11101100110"-- "00000110" -D06.0+ [6]
    "11101000111"-- "00000111" -D07.0+ [7]
    "00010100111"-- "00001000" -D08.0- [8]
    "11101101001"-- "00001001" -D09.0+ [9]

 
Last edited by a moderator:


Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…