Gast
#730032
hi! habe folgendes syntaktisches Problem in einer Testbench. Möchte eine Schleife von 0x8 bis 0xE laufen lassen. Allerdings bekomm ich das absolut nicht hin und das Netz konnte mir auch nicht helfen... Der Codeausschnitt: for i in x"8" to x"E" loop write(ADDR => X"FFFD40" & (i) & "00", DATA => (others => '0')); write(ADDR => X"FFFD40" & (i) & "01", DATA => (others => '0')); write(ADDR => X"FFFD40" & (i) & "10", DATA => (others => '0')); write(ADDR => X"FFFD40" & (i) & "11", DATA => (others => '0')); end loop; (Möchte damit Zugriffe auf einen Speicherbereich nachbilden) Modelsim sagt: Range of a parameter specification must be of a discrete type. ** Error: No feasible entries for infix operator "&". ** Error: Bad expression in left operand of infix expression. ** Error: Bad expression in expression of element association. ** Error: No feasible entries for infix operator "&". ** Error: Bad expression in left operand of infix expression. ** Error: Bad expression in expression of element association. ** Error: No feasible entries for infix operator "&". ** Error: Bad expression in left operand of infix expression. ** Error: Bad expression in expression of element association. ** Error: No feasible entries for infix operator "&". ** Error: Bad expression in left operand of infix expression. ** Error: Bad expression in expression of element association. ** Error: VHDL Compiler exiting eine Idee? ..ich glaub ich muss gar nicht mehr erwähnen, dass ich noch ein blutiger VHDL Anfänger bin, oder?