Questions tagged [intel-fpga]
Intel FPGA - formally known as Altera - which is wholly owned subsidiary of Intel, is a major brand of Field Programmable Gate Arrays (FPGA).
486
questions
0
votes
0
answers
5
views
SPI master using ARM Cortex A9 SPI dev
I am using cyclone V DE 10 FPGA for one of the SPI master application and kind of new to C coding so need some references where I can learn SPIdev code for ARM cortex A9. I tried few codes but data is ...
-1
votes
0
answers
39
views
rising_edge trigger both clock and button
I am getting this error once I use both CLK and the button for the clock edge trigger "couldn't implement registers for assignments on this clock edge". for the pedestrian crosswalk ...
-1
votes
0
answers
53
views
VHD bin to BCD output only "0"
We have this block code that the input will be a binary vector that will be converted to a 4 position BCD. We are having an problem now that whatever the input is, the ouput allways give us all zeroes ...
0
votes
2
answers
58
views
How do i get a 100kbps clock for an I2C on Quartus Prime?
I am doing a university project in which i have to build a I2C which have only one slave and will have to transmit a data with 5 bits, 4 bits for the number which is in the range of 0 to 9 and 1 bit ...
0
votes
0
answers
23
views
niosii processor Altera C program
I'm currently working on the Altera DE0 board with the QuartusII Web Edition software. I need to use a nios processor on Qsys to display a shifted signal from a GPIO pin on my board. The input signal ...
0
votes
0
answers
20
views
Altera FPGA EP4CE55F23C7N
I currently working on an Altera FPGA. In this project, we were given only the soft software source code using Nios II Software Build Tools for Eclipse I like to run and build the original code before ...
0
votes
1
answer
54
views
Inferring BRAM on Intel Cyclone 10 LP
I'm trying to port an HDL description of a regex coprocessor written for a Xilinx FPGA to a Cyclone 10 LP, to use it on the Arduino MKR Vidor 4000.
I have a problem with BRAM inference: I am trying to ...
1
vote
0
answers
80
views
port SYCL/DPC++ code originally written for GPUs to FPGAs
I'm kinda new to the world of FPGAs and I'm trying to port some code written for GPUs to FPGAs, to compare the performances.
From my understanding, using parallel_for ain't a good practice (in fact it ...
0
votes
0
answers
26
views
How to read data from GPIO in de0-nano-soc with Lubuntu 16.04(xenial) using Python?
I'm currently working on a project with this FPGA board where I need to read some analog signals from the GPIO ports that the de0-nano-soc has inside my xenial environment. I was wondering if there is ...
0
votes
0
answers
46
views
Parallel for is very slow compared to iterative solution
I am trying to accelerate an algorithm using DPC++. What happens is that the normal calculations takes 1.5 times faster than kernel parallel execution. The following code is for both calculations.
the ...
0
votes
0
answers
78
views
How to control routing in Altera Cyclone V FPGA
I am trying to implement a Time-to-Digital Converter on Cyclone V FPGA. I am using Quartus Prime 17.1 lite edition (No license). I have trouble manipulating the placing and routing. The connection ...
1
vote
1
answer
80
views
Verilog/SystemVerilog: passing a slice of an unpacked array to a module
I am using a DE10-Nano with Quartus Prime to try to implement the following.
I have two modules: Module1 and Module2. Module1 declares a RAM like this:
reg [15:0] RAM[0:24576];
// init RAM 0:8191 with ...
0
votes
0
answers
69
views
Quartus complains "design library "work" does not contain primary unit" unit name
The "missing" unit is listed in the work library, there is no excuse. Why would it complain?
0
votes
2
answers
44
views
OpenCL FPGA: Kernel Execution of 2 copies of same kernel is not being made in parallel. In addition to that, there is also idle time in between them
My goal is to complete FFTs of 2 - 4K Data points together. Hence, I made 2 kernel objects from the same kernel and Enqueued the tasks at once, i.e. without any Buffer Read-Write or any callbacks in ...
0
votes
1
answer
93
views
Getting nan values from OpenCL FFT kernel on FPGA
I was trying to use the Intel's FFT1D kernel by writing the Host program by my own for Intel FPGA. Link to Intel's FFT1d can be found here
I have also given my host program below, wherein, I have a ...
2
votes
1
answer
81
views
Design of compression using OpenCL FPGA
I am working on a lossy compressor, and I am wondering which way is more suitable for the design, the first one is to transfer data to the global memory until all the data is processed and the second ...
0
votes
0
answers
128
views
How to use fpga-arria10-passive-serial driver in Linux?
I have a board that has an NXP iMX8M-Plus processor and an Intel Arria 10 GX FPGA on it.
I want to configure the FPGA using the iMX8M-Plus processor through passive serial interface of the FPGA. I use ...
1
vote
0
answers
25
views
Flashing a Cyclone IV's SROM chip via its JTAG connection
Is there an inbuilt or pre-existing feature I can use to accomplish Flashing a Cyclone IV's(EP4CE6E22C8) SROM(W25Q16BV) chip via its JTAG connection? Maybe some setting when compiling in Quartus to ...
0
votes
1
answer
279
views
I am getting error when check my systemverilog code in quartus II
I have this simple code checked with Quartus II. First, It gives me error 5000 iterations for loop limit then I try to change verilog constant loop limit variable in settings and now it is giving me ...
0
votes
0
answers
55
views
Configuring SDRAM size in FPGA SoC Cyclone V
I have a running linux system based on rsyocto on my Cyclone V FPGA.
It currently have 128 MB of memory, so I "just" want to upgrade it to 1024 MB.
So I have got a pin compatible memory with ...
0
votes
0
answers
58
views
Audio using the wolfson WM8740 on the altera DE2-115 FPGA board
For a school project my group and i are trying to get sound out of the DE2-115 using the wolfson wm8740 chip. We want to read a SD cart and play it. the code we have now doesn't work and i have no ...
-1
votes
1
answer
122
views
Compilation of verilog code in quartus prime takes much longer after adding block
I am attempting to make the snake game in verilog using my DEE-10 Lite and compiling using Quartus Prime (Lite Edition Version 20.1.1).
The Analysis and Synthesis time takes almost 10 times longer ...
-1
votes
1
answer
90
views
The clock speed is two times faster when the clock duty cycle is 50%
I want to generate 102Hz clock on a FPGA board(the one with cyclone 3)
the original clock on the hardware is 50MHz, so I divided it by 490196 to get 102Hz clock
but the clock speed is two times faster ...
1
vote
1
answer
396
views
How can I check if the FPGA device is connected to the server?
For some reason, I can only remotely control a server containing FPGA (Intel Arria 10 GX FPGA). But when I use the command in Intel OpenCL for FPGA to find the driver, I cannot find the FPGA device ...
2
votes
1
answer
163
views
In Intel Quartus, can I initialize RAM using a string parameter?
I need to initialize several instances of the same ram module with different data files which I would like to do as follows:
module ram #(
string HEXFILE = "split1.mem"
)
(
input logic ...
0
votes
0
answers
46
views
How to create a hps2fpga or lwhps2fpga bridge using axi protocol ? or how to use fpga and hps simultaneously with bridge?
**how do i open the bridges in Quartus prime lite using Qsys tool?**How to create a hps2fpga or lwhps2fpga bridge using axi protocol ? or how to use fpga and hps simultaneously with bridge?
-1
votes
1
answer
198
views
Find Maximum Number present in Verilog array
I have tried writing a small verilog module that will find the maximum of 10 numbers in an array. At the moment I am just trying to verify the correctness of the module without going into specific RTL ...
0
votes
1
answer
141
views
Make a delay after falling edge of signal and then do something in VHDL
I would like to know how I can do the following operations in this order:
First detect the falling edge of an input signal (rd), then wait for 15 ns and finally make the necessary changes in the ...
1
vote
1
answer
159
views
How do I generate N counters inside a generate block to load test an FPGA?
I need to estimate the maximum number of 16-bit counters that a FPGA board can fit. I created a 16-bit counter module with enable (en) and terminal count (TC), and instantiated this inside a generate ...
-1
votes
1
answer
61
views
Synthesis error of Array Multiplication with an input
Hello I am trying a small section of a project code where the equation is multiplying input with all values of array and then adding them up in one final output.
module arraywithinput(input in,
...
0
votes
1
answer
477
views
Why am I getting an error saying "expecting end" when I do have an end if?
Im trying to make a 4 bit adder/subtractor (Im trying to just get this to work before adding in 2s complement to it) and I keep getting these error messages:
Error (10500): VHDL syntax error at ASU....
0
votes
0
answers
42
views
Occasionally it still keeps using interrupt stack in main program after return from ISR, resulting in NIOS II program crash
We are working on Intel alteral a10 NIOS II with EDS 17.1.0. In our project, we use a seperate interrrupt stack and set specific shadow register to the irq. The releated BSP configuration is as below.
...
-1
votes
1
answer
74
views
How to write directly to FPGA peripherals from SoC?
I'm working on an Altera Cyclone V SoC. I'm attempting to write directly to FPGA peripherals from my SoC, however, the hwlib library only contains the function alt_write_word, which I understand that ...
1
vote
1
answer
170
views
Quartus 20.1 high logic cell usage
I stumbled across a really weird behavior in Quartus Lite Edition. I'm setting up a development container for a university project using the DE2-115 Board with a Cyclone IV FPGA.
Using Quartus 19.1 ...
0
votes
1
answer
94
views
Issue when running Modelsim-Altera
I'm running Quartus Prime Lite 16.1 on Ubuntu 16.04 and I want to start using Models-Altera, but when I click on "Tools"->"Run simulation tool"->"RTL simulation" it ...
0
votes
1
answer
72
views
aocl command not working correctly when run from github actions
I'm trying to get github actions to work with Intel FPGAs in a self hosted runner. Any time communication from the host to the FGPA is attempted there are errors like these ones:
Error initializing ...
0
votes
0
answers
168
views
How does one disable the arm trusted firmware ussage in meta-inte-fpga bitbake repo
I'm tring to get Linux to boot on an Intel Agilex HPS. The sdcard image is build using bitbake meta-intel-fpga. I've worked along the reference examples. When booting the bootloader (U-Boot 2020.10 (...
0
votes
1
answer
133
views
Cyclone V soc - problem with debugging app from SDRAM
I've encountered a problem with debugging bare-metal app on Terasic DE-10 Standard board.
I'm using Quartus Prime 20.1 Lite Edition, SoC EDS 20.1. I'm working with eclipse 2021-06, openocd 0.10.0 (...
0
votes
1
answer
63
views
FPGA multiple firmwares on one serial flash memory (intel/altera)
Preloaded more than one firmware to flash memory.
Can I make the FPGA reboot during its operation and start loading its firmware not from the beginning of the flash drive, but from a different memory ...
1
vote
1
answer
101
views
how can i use printf in opencl correctly?
I use Intel FPGA SDK for OpenCL with OpenCL 1.0.
I defined several vector data int8 in the kernel, and I found from PrintFunction that I can use printf("data_vec_wr1: %10v8hld\n",...
0
votes
1
answer
330
views
Memory-Maped Node in a Device Tree is not getting shown in /proc/iomem
I am trying to add a custom memory-mapped component in intel FPGA based soc system. I have connected the custom component(NVDLA) with light-weight axi bridge (HPS to FPGA bridge). Device Tree File.
/...
0
votes
1
answer
1k
views
WARNING: "__aeabi_uldivmod" Undefined symbol in opendla.ko
I am trying to build kernel module driver (KMD) for NVDLA NVIDIA's Deep Learning Accelerator and got the following error at the end.
enter image description here
After doing some research on google I ...
0
votes
1
answer
91
views
Communication between FPGA and Aria V HPS?
I want to make communication using Altera MM Mailbox IP component, between Aria V hps and my nios processors.
Project in Qsys
I managed to write down C code for Nios processors (FPGA side) to work ...
-1
votes
1
answer
180
views
DE-10 FFMPEG Raw YCbCr 4:2:2 Frame to PNG or Video leads to bad result
So i am trying to record analog video from analog-video in port of the DE10-standard board.
the raw frames are 4:2:2 720x480 hence frame size should be 720*480 * 2 = 691200bytes,however i get 2 more ...
0
votes
0
answers
85
views
fatal error: 'type_traits' file not found - IntelFPGA HLS
while running the emulsion command screen is showing the error.
i++ -march=x86-64 floorsqrt.cpp -o emulation
In file included from floorsqrt.cpp:1:
C:/intelFPGA_lite/19.1/hls/include\HLS/hls.h:16:10: ...
0
votes
0
answers
168
views
ModelSim: Altera On-Chip Flash no response in readdata
Waveform ModelSim: https://i.stack.imgur.com/qpBhr.png
Quartus init of the flash with .dat file:
https://i.stack.imgur.com/SXH83.png
altera_onchip_flash_block in the simulator:
https://i.stack.imgur....
0
votes
0
answers
57
views
Quartus - Retro input OR gate - output PIN stuck at GND
I have this simple squematic:
And after compiling with Quartus V20.1.1, it shows an warning that output PIN LED is stuck at GND.
The synthesis on FPGA naturally doesn't work, since pin LED is ...
1
vote
1
answer
45
views
Does Quartus support in-memory synthesis?
I'm working on a project that generates a large number of components. I'm having the problem that Quartus is generating an extremely large number of files in the /db directory, on the order of ...
1
vote
0
answers
497
views
Problem with using division operator in Quartus using VHDL
We need to divide two integers using VHDL and run on FPGA. Below is the the code we wrote for integer addition and it compile in the Quartus but when we try to compile the division code it gave error ...
0
votes
1
answer
281
views
Intel MAX 10 DDR output [closed]
I want to output a clock signal via a DDR register. The target FPGA is an Intel MAX 10 (10M16DAU324I7G) FPGA. I instantiate an ALTDDIO_OUT component as shown in the code below. However, the output Pin ...