OSCAT Forum

oscat.lib => oscat.lib fuer Step 7 => Thema gestartet von: olni am 04. Juni 2009, 12:40:47

Titel: FIFO_16 and FIFO_32
Beitrag von: olni 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
Titel: Re: FIFO_16 and FIFO_32
Beitrag von: dalbi 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]
Titel: Re: FIFO_16 and FIFO_32
Beitrag von: olni 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