Intel® Enpirion® Power Solutions
Interact with Intel® product support specialists on Intel® Enpirion® DC-DC Step-Down Power Converters
Announcements
This forum offers only peer-to-peer support. Thank you!
225 Discussions

Help in translating lines of code verilog to vhdl

CHerb4
Beginner
1,279 Views

Greetings, first to say that I am new to the forum and I really do not know if this is the correct section for this type of questions.

I have limited knowledge in vhdl but I am totally new in verilog. A couple of days ago I try to translate a project from verilog to vhdl, for this I am using a translator, but even so I am finding the following lines that I can not translate to vhdl.

 

`define SBUSRANGE 32*idx+31:32*idx // Incrementing indexes within generate below   wire [31:0] sdma_dq = i_sdma_dq[`SBUSRANGE];

Any help is very welcome, thanks in advance.

 

 

 

 

 

 

 

0 Kudos
1 Reply
GuaBin_N_Intel
Employee
556 Views

Maybe you can try out line below:

 

=> signal [31:0] sdma_dq : std_logic_vector ((32*idx + 31) downto (32*idx));

 

 

0 Kudos
Reply