Gast
#3682206
Hallo, beim Programmieren einer 32-bit Alu aus 1-bit Alus erhalte ich folgenden Fehler beim Ausführen der Testbench: # ** Warning: (vsim-3473) Component instance "U3 : oneb_alu_msb" is not bound. # Time: 0 ns Iteration: 0 Region: /cs_alu_tb/dut/Alu(31)/Alu_width_1 File: C:/Users/Tim/SkyDrive/Uni/TechGI2Praktikum/blatt4/cs_alu.vhd # ** Warning: (vsim-3473) Component instance "U3 : oneb_alu_msb" is not bound. # Time: 0 ns Iteration: 0 Region: /cs_alu_tb/dut/Alu(31)/Alu_width_0 File: C:/Users/Tim/SkyDrive/Uni/TechGI2Praktikum/blatt4/cs_alu.vhd # Loading work.oneb_alu(behaviour) # Loading work.fulladd(netlist) # Loading work.halfadd(logic) # Loading work.or2(logic) # ** Fatal: (vsim-3734) Index value 30 is out of range 31 to 0 (null array). # Time: 0 ns Iteration: 0 Instance: /cs_alu_tb/dut/Alu(30)/Alu_n_1/U0 File: C:/Users/Tim/SkyDrive/Uni/TechGI2Praktikum/blatt4/cs_alu.vhd Line: 50 Ich verstehe aber nicht, warum der Wert 30 nicht in dem Array von 31 bis 0 ist. Hat jemand ne Ahnung was ich da verändern muss? Vielen Dank schonmal!