Hi Lothar,
wenn ich deine Single-Clock-Fifo Beschreibung simuliere, erhalte ich in
Modelsim folgende Fehlermeldung:
# ** Fatal: (vsim-3421) Value 256 is out of range 0 to 255.
1 | process begin
|
2 | wait until rising_edge(CLK);
|
3 | if (Write='1' and full_loc='0') then
|
4 | memory(wrcnt) <= unsigned(Din);
|
5 | wrcnt <= wrcnt+1;
|
6 | end if;
|
7 | if (Read='1') then
|
8 | Dout <= std_logic_vector(memory(rdcnt)); -- Adresse getaktet --> BRAM
|
9 | rdcnt <= rdcnt+1;
|
10 | end if;
|
11 | end process;
|
In der Synthese stellt das Überrollen der Zähler kein Problem dar. Wie
löst man das Problem für die Simulation?
Matze