Autor Thema: FIFO_16 and FIFO_32  (Gelesen 10032 mal)

0 Mitglieder und 3 Gäste betrachten dieses Thema.

olni

  • Gast
FIFO_16 and FIFO_32
« am: 04. Juni 2009, 12:40:47 »
Hello,

I have tried the two FIFOs but the result is not as expected. When I start from zero I have the EMPTY output set.

I set WR=TRUE and give the E-input a pulse (one-scan). Now the FULL goes to TRUE and the EMPTY goes to FALSE as if it was a FIFO with one register in stead of 16(32).

The counters in the DB NW/NR do not move neither.

Any hint about what I am doing wrong?

Mfg

dalbi

  • Gast
Re: FIFO_16 and FIFO_32
« Antwort #1 am: 04. Juni 2009, 22:44:27 »
Hello,

there is a error in the code.
The line with the function INC1 is wrong.

Greetings Daniel

[gelöscht durch Administrator]

olni

  • Gast
Re: FIFO_16 and FIFO_32
« Antwort #2 am: 05. Juni 2009, 09:56:41 »
Hello,

Vielen Dank!

I do not have SCL, but I changed the STL-code and it seems to work perfect.

Once again thanks. I have just come across the library a short time ago and I am very happy about it.

Regards,

Olni