Gast
#3447980
Hallo zusammen, es ist vielleicht schon spät und ich stehe etwas auf dem Schlauch (plus ich habe noch nicht all zu viel Erfahrung mit VHDL), aber ein scheinbar einfaches Problem bekomme ich nicht in den Griff. Ich möchte einen Wert erst dann zuweisen, wenn das erste mal ein Flankenwechsel eines Steuersignals von '1' auf '0' statt gefunden hat. Mal startete das Steuersignals auf '1', mal auf '0'. Mir ist es eigentlich egal, da ich bei Steuersignals = '1' erst etwas machen möchte, wenn vorher mindestens ein Flaneknwechsel von '1' auf '0' erkannt wurde. Meine Idee daher: signal flag : std_logic:='0'; if falling_edge(CS) then flag <='1'; end if; if CS = '1' then if ... and flag= '1' then ... ... Das Problem: nervende Warnungen, die ich gerne beseitigen möchte: WARNING:Xst:2404 - FFs/Latches <_i000005<0:0>> (without init value) have a constant value of 1 in block <FPGA>. WARNING:Xst:1426 - The value init of the FF/Latch flag hinder the constant cleaning in the block FPGA. You should achieve better results by setting this init to 1. WARNING:Xst:1426 - The value init of the FF/Latch flag hinder the constant cleaning in the block FPGA. You should achieve better results by setting this init to 1. Hat jemand eine Idee? Vielen Dank!