Questions tagged [fpga]
A Field-Programmable Gate Array (FPGA) is a logic chip consisting of an array of programmable logic blocks and interconnects that is configured by the customer after manufacturing—hence "field-programmable".
3,170 questions
0
votes
1
answer
301
views
Strange artefacts on LCD display being driven by FPGA
I'm trying to use a Tang Nano 9K FPGA to generate a good signal for a 4.3 inch LCD display with a 40-pin connector.
If I display a checkerboard image like this
then all is well.
This code generates ...
0
votes
1
answer
196
views
What is the relation between number of LUT values and output frequency?
VLSI/FPGA beginner here.
I interfaced my Digilent Arty A7-35 with a DAC, using basic DDS (implementing timing diagram of the DAC on FPGA) and interfacing LUT(s) to form sine waves of multiple ...
0
votes
1
answer
501
views
Encryption of Verilog/VHDL module
I don't have encryption licenses for Vivado or Quartus to encrypt my Verilog/VHDL modules and so I cannot give my RTL to any user. I don't want to give out synthesized netlists but only encrypted RTL.
...
0
votes
1
answer
167
views
Packaging synthesized design as netlist for use in future designs
I am attempting to create a synthesized netlist of an FSM to help decrease my synthesis time, but I've been unable to get Quartus to generate the correct output files or even find any resources on ...
1
vote
1
answer
265
views
How to see the connections of each flip-flop in Vivado RTL schematic view?
I am trying to make the design shown below which is basically a shift register:
When I elaborate this design in Vivado, it shows me the following:
How can I see which flip-flops the inputs and ...
0
votes
1
answer
477
views
Adding VHDL DDR Memory Interface IP to block design in XIlinx Vivado
I am using a Nexys A750T FPGA dev board and I would like to use the onboard DDR2 SDRAM. When I attempt to generate the MIG 7 series IP via the IP catalog, the IP wizard forces the design to be in VHDL ...
-1
votes
1
answer
870
views
How do I initialise an Unpacked array in Verilog?
I need to initialize multiple lookup tables, for which I need a 12-bit array of possibly many indexes. An example:
reg [11:0] address[1:0];
For this, how do I ...
0
votes
1
answer
166
views
How to set a testbench file as top level entity ? [Vivado, Basys3Artix7]
This is the first time I use Vivado.
I can't set test_mySWLED.v as Top
I Run Behavioral Simulation
End up with mySWLED waveform instead of test_mySWLED waveform.
Here is my project: https://...
0
votes
1
answer
172
views
How do I call a module repeatedly in Verilog, in sync with a clock?
What I intend to do is basically cycle through a LUT created in a second module, by instantiating it in the first. Additionally, I need to call the instantiation in sync with the clock.
The basic idea ...
3
votes
2
answers
325
views
SDRAM logic makes noise on ADC readings with FPGA
I am working on a design in which an FGPA reads the output of a 12-bit 40MHz ADC and then stores half of the data on an external SDRAM and the other half on an on-chip BRAM after some averaging.
The ...
0
votes
1
answer
165
views
FPGA sync reset with filtering
I have been reading about FPGA reset strategies. One thing that it appears all can agree on is that the reset release should be synchronous with the system clock. For reset assertion, the opinions are ...
2
votes
0
answers
54
views
Channel-style routing on Altera FPGAs
A Tutorial on FPGA Routing claims that there are two different FPGA routing styles; channel-style ASIC routing and island style routing:
Academic research has adopted as FPGA architecture a ...
1
vote
1
answer
165
views
Can I drive LVCMOS12 on Xilinx Artix-7 at 100 Mbps?
I'm currently planning a setup as shown below, where I need to operate the GPIO on my chip at a data rate of 100 Mbps. My biggest concern is whether it is a feasible to drive LVCMOS12 on Xilinx Artix-...
15
votes
3
answers
6k
views
Why are the lookup tables in FPGAs small?
An FPGA can be seen (visually at least) as a matrix of cells. Each cell has a LUT (look-up table) inside, implemented with SRAM and MUX.
Why does the size of such a LUT (and hence of the SRAM) need to ...
-1
votes
1
answer
217
views
Populating BRAM using a .coe file on Xilinx Alveo U280
I am new to the world of FPGAs.
I am using Xilinx Alveo U280. While performing a task in my research project, I tried to populate the BRAM with 0's but the simulation shows 'Z', 'ZZ', and 'ZZZZ' as ...
0
votes
1
answer
634
views
Vivado Ethernet IP core licensing issue
I have a PL design in which I included a 10G/25G Ethernet Subsystem IP core from Xilinx configured with BASE-KR, AN/LT logic and FEC logic for Clause 74. When I try to generate the bitstream, I am ...
0
votes
0
answers
205
views
DE10-Lite VGA Controller Display
this is my design: https://github.com/Shehab-Hesham/FPGA_IP_VGA/tree/main.
On an oscilloscope, the vertical sync and horizontal sync are correctly given as output; however, the color channels output 0 ...
1
vote
0
answers
86
views
How to set I/O constraints when the device is clocked by the FPGA
What is the proper way of setting I/O constraints when the device is clocked by the FPGA?
As an example schematic is given below:
The ADC is clocked from the FPGA. I have generated_clock constraints ...
0
votes
1
answer
562
views
Pulse-per-second (PPS) Interface to FPGA
I am currently working with RFSoC 4x2 boards to implement a network of SDRs and require synchronization across multiple boards to a time reference. I plan to utilize the pulse-per-second (PPS) signal ...
1
vote
2
answers
249
views
Connecting cross referenced nets to inout ports in verilog
I am prototyping an ASIC on Xilinx FPGA, which has a third party DDR interface. In order to implement the design, the ASIC DDR controller is replaced with a Xilinx DDR4 controller. This controller ...
2
votes
2
answers
570
views
PSL usage in Formal Verification, assertion problem
I am investigating the usability of formal verification in FPGA designs using VHDL, PSL, SymbiYosys, and GHDL. I've watched several webinars, read a PSL book, and gone through tutorials. Currently, I ...
0
votes
2
answers
813
views
Problems in understanding PCIe blocks in Xilinx Vivado for Versal devices
AR 1215986 was mentioned on page 7 of PG344, Versal Adaptive SoC DMA and Bridge Subsystem for PCI Express Product Guide.
In this AR, the author mentioned several components, namely:
PCIe PHY
GT QUAD
...
0
votes
2
answers
132
views
PMOD I2S2 bit resolution
Im getting a bit confused about the bit resolution I should use with I2S2 Pmod.
It says the max resolution its 24 bit per sample (24 for left audio and 24 for right audio)
But then, they recommend the ...
1
vote
2
answers
2k
views
What is the fastest achievable output speed for an FPGA?
To sum up the question, I would like to know what is the maximum frequency with which I can toggle an output of an FPGA. I do not intend this question to be specific to any particular board or vendor. ...
0
votes
0
answers
274
views
Cross correlation using FPGAs
I have the requirement of performing continuous cross correlation on an incoming signal with a reference signal that is 6000 coefficients large using an Intel FPGA at a data rate of 66 MSPS. One ...
0
votes
1
answer
101
views
Is it legitimate to apply reset logic to inputs only?
Let us consider this module for FPGA implementation:
...
0
votes
2
answers
345
views
HDMI output from FPGA
I've got an old project that produces NTSC video output from an FPGA using a resistor ladder DAC. It also produces a stereo audio signal using a similar RL DAC.
I'd like to bring it into the modern ...
0
votes
0
answers
239
views
ICM-42688-P read from address not given in Datasheet
I am currently working on software for a project that involves an ICM-42688-P sensor IC.
The FPGA uses a 16-bit SPI interface and needs to read this data block of 16 bytes:
Datasheet Page 60, 13.1
So ...
1
vote
1
answer
83
views
Can you simulate a GZK-energy cosmic ray zap to hardware you're simulating?
There have been over a hundred particles of energy 5e19 eV matching the Greisen–Zatsepin–Kuzmin limit detected on Earth since 1991. There has even been a particle supposedly with energy at least 2e20.
...
0
votes
0
answers
55
views
Considerations in board layout for different interface speeds
Currently, I'm working on a design that includes four data buses operating at different datarates.
The signals connect various parts of the system to the central FPGA. I have experience in designing ...
0
votes
1
answer
295
views
FPGA output timing explained
As a hardware designer you have consider the timing constraints of both the input and output device. Input devices specify a setup and hold time reference to the clock (the time in which the data ...
2
votes
5
answers
311
views
Best way to go from 5V to .95V to power an FPGA at max 15A
I need to power the core voltage on an FPGA from a 5 volt supply with a lot of constraints.
This is a rad hard environment so many components are ruled out. I'm only able to find a SMPS that will go ...
1
vote
1
answer
154
views
VHDL modular multiplication always resulting 0 in simulation
I'm trying to implement a modular multiplication algorithm in VHDL, but the result "r" is set to 0 on every simulation. I would like to know how to fix it.
...
2
votes
1
answer
121
views
DDR4 Routing Consideration on pcb (no DIMM)
I need to route DDR4x2(3200MHz) to my FPGA.
my stackup is 12 Layers, TH Via only, and thickness of 2mm PCB.
my question regard which layer to route the FPGA to DDR4, when the two component on the TOP(...
1
vote
1
answer
420
views
How to change the FPGA supply voltage (VCCint and VCCBRAM) beyond recommended operating conditions on Vivado?
I am new to the field of FPGAs. The FPGA I am using is Virtex-7 VC707 -2 speed grade. In my research project, I am required to reduce the supply voltage (BRAM's specifically) to a low value, say 0.7 ...
1
vote
1
answer
254
views
How to properly constrain this hold time?
I am puzzled, can't get to any seemingly simple and, what's more important, solution looking correctly.
There's a main fast clock, fclk, and I divide it by 4, ...
-1
votes
1
answer
144
views
SPI read of MAX31856 in Verilog
I am trying to read the K-type thermocouple temperature with MAX31856 in Verilog.
Configured the configuration registers CR0 & CR1.
The conversion result is stored in the registers 0xC, 0XD, 0XE. ...
1
vote
1
answer
369
views
Unable to write to MT25QU256 from Arria 10 SOM
I am using module Arria 10 SOM by iWave with IC Flash MT25QU256. I am trying to read and write from NIOS II processor to different sectors of this flash.
Currently, I'm using the IP Core Generic Quad ...
0
votes
1
answer
87
views
How can I achieve a higher precision than 14-bit in an analog to digital conversion (ADC) [closed]
How can I achieve a higher precision than 14-bit in an analog to digital conversion (ADC) without using conventional ICs on the market?
0
votes
2
answers
640
views
ECP5: Determining max current an FPGA pin can sink from datasheet
I have a circuit where I want to drive the CS# input on a SPI flash chip from an output pad on an FPGA. The flash IC's datasheet recommends putting an external ...
0
votes
2
answers
396
views
How to get a clean clock signal from FPGA to DACs?
I have the VC707 FPGA board and an external reference clock (fairly clean 100MHz), that I want to use as a reference for a 200MHz generated clock on my board. Then using this clock to clock my DACs (...
0
votes
1
answer
1k
views
SystemVerilog array of parameters/constants
If I have code like this:
...
5
votes
1
answer
958
views
Different ways of fanning out low jitter clock signal
Recently I'm working on a project that involves a FPGA and two high precision DACs.
The DACs require a low jitter 27MHz clock (RMS jitter < 1ps) to function at their datasheet performance.
There is ...
1
vote
1
answer
116
views
Verilog variables updated only when assigned as an output
I am facing a strange issue, and I am not sure what is going on here:
assign output_data = {3'b000, cmd_state[1:0], w_data[2:0]};
Where last 5-bits of output data ...
1
vote
1
answer
81
views
VHDL schematic without connections [closed]
I'm learning VHDL and I tried to replicate a circuit that I found surfing in internet. The problem is that the schematic shows without connections in the input ports.
The program is a frequency ...
6
votes
3
answers
2k
views
Is it possible to know through simulation whether we have the right number of decoupling capacitors?
More decoupling capacitors than a certain amount does not improve the power integrity much. I am not sure if this is a case of diminishing returns or a case of reaching a wall.
How exactly can we ...
9
votes
4
answers
2k
views
Connecting GPIOs on two boards with independent power supplies
I'm trying to design a board that will accept UART/8N1 input from another board at 3.3V. While the two boards share a common GND (obviously), they otherwise have totally independent power supplies: ...
0
votes
1
answer
70
views
FPGA clock only positive lag?
I have an FPGA with the following, simple clock divider, written in VHDL:
...
1
vote
1
answer
375
views
Verilog- Why is my state machine output arriving one clock cycle earlier?
I'm writing a Verilog code for a state machine with 4 states. state 0 is buffer time of 1 microsecond. state 1 is trig pulse for 10 microseconds. in state 2, the input is read. If the input is high ...
0
votes
1
answer
80
views
Proper way to make HDL and timing analyzer understanding the clock slowdowns
This is a question spans two fields - HDL synthesis and timing analysis.
In the design I define clock with specific frequency, and if design has
...