Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21607 Discussions

Error (10198): Verilog HDL error at altera_merlin_width_adapter.sv

Altera_Forum
Honored Contributor II
3,465 Views

I created a Qsys component in VHDL where the rest of my design is in verilog. I created the Qsys system and I try to do a synthesis and get the following cryptic error : 

 

Error (10198): Verilog HDL error at altera_merlin_width_adapter.sv(433): part-select direction is opposite from prefix index direction 

Error (10784): HDL error at altera_merlin_width_adapter.sv(432): see declaration for object "int_ratio_minus_1" 

Error (12152): Can't elaborate user hierarchy "embedded_system:u0|embedded_system_mm_interconnect_0:mm_interconnect_0|altera_merlin_width_adapter:width_adapter_001" 

 

And those lines (432 and 433) are the following: 

 

wire [31:0] int_ratio_minus_1 = (cmd_burst_size/OUT_NUMSYMBOLS) - 1; 

wire [clogb2(RATIO)-1:0] sized_ratio_minus_1 = int_ratio_minus_1[clogb2(RATIO)-1:0]; 

 

 

Any clues what is wrong?  

 

Salman
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
2,212 Views

Never mind...i was using a 24-bit write and readdata bus...once I fixed it to 32, errors gone.

0 Kudos
Reply