Questions tagged [fpga]

A Field-programmable Gate Array (FPGA) is a chip that is configured by the customer after manufacturing—hence "field-programmable".

A field-programmable gate array (FPGA) is an integrated circuit designed to be configured by the customer or designer after manufacturing—hence "field-programmable". The FPGA configuration is generally specified using a hardware description language (HDL), similar to that used for an application-specific integrated circuit (ASIC).

There are four major manufacturers of FPGAs:

When asking a question, specify a manufacturer and FPGA model family if applicable.

2742 questions
0
votes
1 answer

How can I connect multiple FPGA and send large data back and forth?

Let's say I have 4 identical FPGA boards running. They are doing some neural network calculation. All of them need to send/ receive data from each other back and forth and do their own calculations using that data. What is the best way/ IP/ protocol…
0
votes
1 answer

Type of identifier does not agree with its usage as "boolean" type - VHDL in Quartus

I'm developing a simple buffering system in VHDL. I get the error I mentioned in the title for "empty" whenever I try to compile. I don't know why it won't let me invert a std_logic type. I've also been getting errors about the comparisons. For some…
0
votes
1 answer

Weird behavior of dpc++ code after running it on FPGA device

I am using DPC++ to accelerate knn algorithm on FPGA device. The following code is the code I wrote for the euclidean distance. The problem is that the fpga_emulation works very well with no problems while running it on fpga hardware (Intel Arria 10…
Amal Taha
  • 3
  • 4
0
votes
1 answer

FIR lowpass filter module error during simulation

This is an FIR lowpass filter module that uses a Kogge Stone Adder for addition. The error seems to occurs when the Kogge stone adder circuit is used. the module works fine if the kogge stone adder part is removed (line 38 -72) and if line…
jomon
  • 3
  • 1
0
votes
1 answer

Generating number sequence in verilog (automat)

I was given a task to create verilog code that generates number sequence 323135343355. It should be generated like automat so it has states and next number in sequence is generated according to its previous output. Task should be done in two…
0
votes
1 answer
0
votes
1 answer

understand Finite state machine in a verilog

I am using an Artix 7 FPGA and writing my code in Xilinx ISE. I already have the Verilog code for the project I am working on. Unfortunately, I am not able to understand this module- The full code is posted here. My goal is to find out where these 6…
adfty
  • 15
  • 4
0
votes
1 answer

Dual clock FIFO in vivado (verilog)

I want to use a FIFO in a project where a state machine buffers as much data as possible to a FIFO, which will then be processed by a DSP block. To maximize data throughput I want to use multiple QSPI nor flash modules as a ROM with a wide data bus.…
OM222O
  • 310
  • 2
  • 11
0
votes
2 answers

How to check the state machine case in testbench

I am writing a code for spi slave and wishbone bus. The issue is that the testbench file shows all the signals correctly (the signals and ports that are used in testbench) but when I am trying to check the state machine in the main code it shows…
0
votes
2 answers

Lowering the clock frequency for my circuit in Vivado

I have a circuit like this module control(input clk, output out); reg [63:0] r0 = 1, r1 = 2, r2 = 3, r3 = 4, r4 = 5; always @ (posedge clk) begin // some logic with a high delay -- representative of my actual project r0 <= (r0 +…
mimo31
  • 335
  • 3
  • 12
0
votes
1 answer

VHDL - Using output of one entitiy as input of another

I am trying to make a basic distance indicating module using ultrasonic sensor. When I dumped the code for the same into my FPGA board(Helium V1.1 developed by IIT-B) all the LEDs in the board started glowing since the clock frequency was too high.…
0
votes
0 answers

How to use the audio output in a DE10 Standard board using c?

I just want to play a simple tone when a variable is set to true, I can't find any examples of this using c. Any help would be greatly appreciated. I know its broad but thats because any way of doing it using c should be fine. Board Manual:…
Logoapp
  • 11
  • 1
0
votes
1 answer

For loops for reading data from a ROM Block in Verilog

I asked this question yesterday, but it was closed because I was unable to provide code for the problem and relevant waveforms. Hence, this is an updated version of the question yesterday. I am trying to write to an array of registers using for…
Jiren
  • 11
  • 4
0
votes
1 answer

modelsim simulation time cycles appear to be different than test_bench

i have a testbench which states at the top: 'timescale 1 ns/ 1 ps a clock which is defined as: code in testbench always begin #5 sys_clk = ~sys_clk; #20 clk_in = ~clk_in; #8 clk_acq = ~clk_asq; end run the simulation using a do file: vsim…
Dan
  • 13
  • 2
0
votes
1 answer

Machine state does not change output

As you can see in the code below, I have a machine state with a state called start. This state should take the value of coord_x_reg , increment it by one and assign it to the output port using the assign instruction at the end. The problems…
Ginés Díaz
  • 117
  • 1
  • 10