Questions tagged [fifo]

FIFO (First In, First Out) is one way of managing a buffer for data

Filter by
Sorted by
Tagged with
0
votes
0answers
52 views

Why bad data is read from SPI Flash

I have a device in which there is a SPI flash and a I2C EEPROM, W25Q256JV (32MB) and AT24C1024 (1MB) respectively. The MCU writes data packets in the flash fifo and saves its read write pointers in ...
1
vote
1answer
71 views

How to instantiate a FIFO on an iCE40 FPGA?

The Memory Usage Guide for the Lattice iCE40 FPGAs implies that the embedded block RAM can be configured in various ways, including as a FIFO, but it gives no details about how to do this. Is there ...
0
votes
0answers
45 views

Max baudrate of FT2232H in synchronous FIFO mode

In datasheet at FT2232H chip: The FT2232H has the following advanced functions: ... Single channel synchronous FIFO mode for transfers upto 40 Mbytes/Sec. ... I configure device ...
0
votes
2answers
79 views

How to design asynchronous LIFO?

Is it possible to design asynchronous LIFO ( i.e. LIFO with different READ and WRITE clock) In FIFO , we need to change the write address pointer only on wr_clk while in LIFO we need to change the ...
2
votes
1answer
175 views

gray code clock domain crossing FIFO fast to slow

I'm trying to understand how clock crossing FIFOs are implemented, and the usual answer I see to convert the read/write address pointers to gray code and then pass through synchronizer circuits into ...
0
votes
1answer
40 views

Does a FIFO data buffer need to have the data be registered?

I'm trying to implement a 64 bit FIFO Data Buffer in Verilog. My design allows for data to be written at 4 bytes or 1 byte at a time, and I'm simply using two multiplexers with control signals for ...
0
votes
1answer
180 views

Single Clock FIFO with Single Port RAM

I wanted to make use of a single port RAM to be a single clock FIFO in verilog for an asic project , due to some constraints i can not use the dual port RAM. My confusion is when I have to perform ...
1
vote
1answer
76 views

What are the use cases of FIFO Half-Full and Three-Quarter Full interrupts in Receive FIFO of a UART?

I am implementing a protocol decoder which receives bytes through UART of a microcontroller. The ISR takes bytes from the UART peripheral and puts it in a ring buffer. The main loop reads from the ...
1
vote
0answers
152 views

LSM6DS3 Timestamp read in FIFO

I have a LSM6DS3 sensor connected to a MCU by SPI. My goal is to fill the FIFO buffer with the following sets of data: Gx, Gy, Gz, XLx, XLy, XLz, Ts, Pd. I am using a watermark to generate an ...
0
votes
2answers
196 views

Simultaneous write and read to/from a FIFO

Could someone, please, clarify whether or not I could simultaneously read and write from the soft FIFO described in this document on p.157? It does say that I can use separate read and write clocks. I ...
0
votes
1answer
158 views

Asynchronous FIFO in clock domain crossing

Clock domain crossing issue can be solved by using asynchronus FIFO with input frequency f1 is of the source domain and f2 is of the destination frequency. If the data is sent in bursts, depth can be ...
4
votes
3answers
212 views

Verilog router design and best way to handle variable size packets in verilog?

I have a synthesizable Verilog/logical design question. My question is more logical than syntax. I wish to implement some sort of router that has three input/output ports of full-duplex UART RS232, ...
1
vote
2answers
233 views

VHDL: ADC to USB Buffering using Fifo

I am trying to understand what is the correct way of doing such application, so please do not ask for complete code because each component is working fine on its own. I am struggling in the way of ...
0
votes
1answer
1k views

FIFO Buffer (Circular/ring buffer) for packet storage

I am developing a simple radio transmission network using B-L072Z-LRWAN1 boards. The network structure is formed by: One board acting as a gateway (where data is received). Multiple boards acting as ...
0
votes
1answer
220 views

In digital logic, when given a requirement of a 64 byte FIFO, is it possible to calculate the width and depth?

I have an input device that can write in either serial, 8-bit parallel, or 16-bit parallel. I know the input frequency and max write speed of those data formats. I am given a requirement of a "64 ...
0
votes
1answer
358 views

Problem FIFO in the implementation (VHDL)

I was working in that for the past five days and I don't know what happened. I must implement a FIFO to send some information, I attach the FIFO that I use. As you can see in the code, this FIFO using ...
0
votes
2answers
159 views

Analyzing the SX1276 FIFO implementation

I've been through the HopeRF95W datasheet a couple of times; some parts less and some parts more. The Payload Data Extraction from FIFO on page 36 is really very clear and concise. Once the ...
-2
votes
1answer
123 views

Programming a microcontroller

I'm quite new in this, so I was hoping if someone could put me on a right track for programming PIC24FJ128GA202 In my new work position I was handed a task to program the mentioned mcu as a learning ...
1
vote
1answer
199 views

How to simulate a FIFO in Logisim

I'm looking at prototyping a design I plan to build using logisim. The design will make use of a FIFO IC (74HC40105) as a buffer between a data producer process and a data consumer process. I can't ...
0
votes
2answers
428 views

Efficient size of FIFO buffer for UART

I am designing a software for a microcontroller that transmits and receive data from various UARTs in a loop every 15ms. I am using UART interrupts to send and receive data. UART interrupt copy bytes ...
0
votes
2answers
129 views

What's the point of buffering a peripheral

I have seen in most modern microcontrollers that the peripherals are queued using a hardware FIFO. What's the point of getting a hardware FIFO? Most old microcontrollers like PIC and AVR doesn't have ...
3
votes
1answer
106 views

Metastability Deserialization and clock crossing domain

I have a question on metastability and clock crossing domain. I need to deserialize a bitstream out of an ADC. TXCLK, TXOUT1, INCLK are the outputs of the ADC. So the idea was to register the DATA ...
0
votes
1answer
95 views

FIFO IP CATALAOG independent clocks

[![enter image description here][2]][2]I am trying to simulate a FIFO generated by the IP Catalog. I chose for the FIFO implementation an independant clock BRAM with empty full almost empty almost ...
1
vote
1answer
224 views

How does the rollback work in a FIFO?

From reading the book titled "Advanced Chip Design practical examples by verilog", I faced some questions about when the Ethernet packet is read from the FIFO and how the rollback works for the ...
1
vote
2answers
2k views

Corner Cases to Verify Synchronous FIFO

I'm trying to figure out the corner cases for verifying a synchronous FIFO during hardware verification. My setup is a very simple two ports synchronous FIFO (write/read) and the write clk frequency ...
0
votes
2answers
335 views

FPGA Internal Timing constraint failing

I'm currently trying to implement an IP-Core on a Cyclone V 5CSEBA6U23I7 FPGA-HPS System using Altera Quartus II and TimeQuest Analyzer. The Verilog code pasted below produces a timing problem, namely ...
1
vote
1answer
1k views

Asynchronous FIFO cdc question

1) Why there is no multi-bit synchronization problem for slow clock domain ? it is obvious that the pointers could increment by more than one. Screenshot from sunburst asynchronous FIFO paper page 12 ...
0
votes
1answer
1k views

Input/output from unsynchronized ADC/DAC

DISCLAIMER : this question is somehow related to this other question of mine, but the latter did not have any satisfying answer. I'm working on an audio DSP project with the STM32F4xx, using 4 ...
1
vote
1answer
363 views

How to interface an ADC with FPGA through the CLKOUT signal in verilog?

I have a ADC (TLC2323-12) that (as far as i understand from the datasheet) has two modes of controlling the output of the converted signal. One method is with the input signal SCK that can be ...
2
votes
1answer
2k views

Benefits of RAM vs FIFO in FPGA

If I want to process data in the order it arrives, it seems that a FIFO would be most appropriate; however, I want to look over the data multiple times (at least 20 times), so I am considering either ...
0
votes
1answer
621 views

Asynchronous FIFO for fast-write-slow-read

I'm not quite sure how to generate full signal in a FIFO with fast-write and slow-read. Eg., if f_wr=10*f_rd, when the updated writing pointer is synchronized to reading side using simple ...
0
votes
2answers
275 views

FIFO Memory Volatile or Non Volatile

I am referring to IDT7203 datasheet. ( MEMORY FIFO 2048X9 25NS ) Link here: http://www.digikey.com/product-detail/en/idt-integrated-device-technology-inc/7203L25J/800-2478-5-ND/2014356 My question ...
0
votes
1answer
717 views

Parallel ADC IC interface to FIFO Memory

I am referring below schematics attached here. ADC AD7821KP IC is interfaced with IDT7203 FIFO memory. Now, I want to use 12 Bit ADC in above schematics. But I am not able to find 12 bit FIFO Memory ...
-2
votes
2answers
1k views

Is there a connection between circular buffer, FIFO and shift register?

I know that circular buffer and FIFO are similar but do not understand the difference that causes different terms to be used. How do these two compare with a shift register? How do I know if I need ...
0
votes
1answer
143 views

Address coding in asynchronous FIFO

To generate FULL/EMPTY for FIFO control, the reading address/writing address needs to be transferred to the writing/reading side for comparison. A solution is to use gray code for the address to be ...
0
votes
1answer
200 views

Unexpected behaviour in Altera clock crossing FIFO

As far as I am aware, in a FIFO as we keep reading it will eventually become empty i.e no more data inside and its output shall become 0x0. If we keep reading it after it has become empty, we shall ...
1
vote
1answer
550 views

PIC32 UART buffer overrun in MIDI receiver application

I have a system that consists of both a MIDI transmitter and MIDI receiver, that are separate units and connected between each other with cables. A PIC32MX6xx-series microcontroller forms the heart of ...
0
votes
1answer
845 views

How do clock crossing FIFOs work?

I am fairly familiar with the concept of metastability: You have two asynchronous clock domains, there is no way to guarantee that the data will be setup/held properly when input to a flip flop if it'...
0
votes
1answer
463 views

FPGA: Choose RAM or FIFO for ADC input to be filtered

I will connect an ADS4125 12-bit 125-MSPS ADC with 6-bit parallel DDR LVDS output, with an Altera MAX10 FPGA. The sampled data is over a duration of 100 us, and will be filtered in the FPGA. I will ...
0
votes
2answers
4k views

Difference between buffer and mailbox

Peripherals in Micro-controllers usually provide a way for us to send and receive data from it. Usually this are memory mapped registers. I have come across few terminologies. The most often used one ...
2
votes
2answers
699 views

Serial Communication Rx ISR logic design

If im not wrong, an ISR is supposed to do minimal processing when it receives a data serially(via UART). Im planning on implementing such a protocol for communication between 2 systems via uart. This ...
0
votes
1answer
69 views

Xilinx Coregen FIFO as ZeroDelay model

My VHDL design contains a FIFO generated by Coregen from Vivado 15.3. I try to debug the design with a ZeroDelay simulation. But the core is not Zerodelay and makes short changes (much shorter that a ...
0
votes
1answer
116 views

FIFO for spartan 3AN : no storage on board but ok in simulation

I made a FIFO using the Core Generator and I'm trying to implement a code that use it... 1) By putting the switch (T9) ON, I start transmitting some datas to my fifo (Here H-e-l-l-o for test) 2) By ...
1
vote
1answer
2k views

ERROR:NgdBuild:604 using FIFO in VHDL

I would like to use a FIFO in VHDL, I used coregen to make it but when I want to use it into my project, I get this error : ERROR:NgdBuild:604 - logical block 'U101' with type '...
0
votes
1answer
390 views

FIFO in VHDL : ERROR:HDLParsers:3324

I'm programming a Spartan 3AN using ISE and I would like to implement a simple code that uses a Fifo : When I push a button, a data is sent to the FIFO and when I push another button, the fifo is ...
0
votes
3answers
952 views

VGA controller using FIFO memory, discrete ICs and Arduino Uno/Mega?

I love the Arduino boards. They're super easy to use and give me access to fairly powerful microcontrollers for all of about $12. Unfortunately, 16MHz isn't quite fast enough to display more than ...
2
votes
2answers
345 views

FIFO-related data transmission problems between microcontroller and PC

I have a situation in which a microcontroller is to perform a large number of ADC conversions and format the results into commands (or data packages) and send these to a PC using the UART. In order to ...
1
vote
1answer
586 views

Different ways of using UART

What is the difference when you send/receive data via Linux serial device file like ttyS3 and when you directly read/write from/to UART FIFO buffers? What situation is more safe and better? How ...
1
vote
2answers
2k views

How can I capture VGA (640x480) frames with RGB565 format from OV7670+FIFO (AL422B)?

I made a platform with LPC1788 (Cortex M3) which had external 8MB NOR flash and external 32MB (16bit) SDRAM. I connected them a CF7670C-V3 (OV7670+AL422B (FIFO)) camera module and I capture QVGA,QQVGA ...
0
votes
2answers
901 views

ov7670 camera module [closed]

I really need some help to figure out whether the ov7670 camera module I bought is with or without FIFO. I bought it from a local market.Can someone please tell me how can I find out whether the ...