• Content Count

  • Joined

  • Last visited

  1. trian

    image processing in vhdl

    Thank you for your answer, I think I corrected that part but now, I cannot get anything out from the block ram. I wrote the code for comparing datas from the other 2 roms and then write the desired data to a block ram. I simulated it, In simulation, the bits are correct and I can read them but when I connect the vga, then I only get black screen (i check the sync signals, i can get green screen and such). So i thought maybe the timing is wrong, because at the time vga starts, the comparison between the roms are made and the data is not ready yet in the block ram. What can I do? How can I read
  2. Hello, I'm trying to do image processing on BASYS3 using VHDL. I have 2 pictures, 1 with the green background and the other as the background image to change the greens in the first picture. I uploaded those 2 pictures into 2 single port rom using coe files and now trying to compare the bits in the addresses to write the chosen data in a RAM. The code I have: library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.STD_LOGIC_ARITH.ALL; use IEEE.STD_LOGIC_UNSIGNED.ALL; entity image_process is end image_process; architecture Behavioral of image_process is COMPONENT image1 PORT ( clka : IN
  3. trian

    OV7670 and BASYS3

    Hello, I am trying to do chroma-keying using BASYS3. I want to take data from OV7670 and replace the green pixels with the pixels of an image previously loaded to block ram. However, I did not understand how can I capture only one frame like taking a picture with OV7670. I used the code here: (I am a newbie at FPGA)
  4. trian

    Basys3 Memory

    Thank you so much for your answers. Now at least I know what to look for. I am trying to do the green screen effect using BASYS3. I thought I can get the background image that will replace the green screen from a computer by the connection from UART but at first, I think I need to convert the image into a binary text file for BASYS3. Then, by the help of a camera (OV7670), I think I can get the foreground object's data. OV7670 already gives me 640x480 pixel image at most. So, by compressing the image (like 1 pixel for every 4 pixel), blockRAM should be enough I guess?
  5. trian

    Basys3 Memory

    For a project, I need to store the data comes from a camera and another data image from a laptop in Basys3. I am quite new at these stuff so I couldn't be sure if I can store both of them to make effects and combine them. Can I do it on Basys3? Can SPI Flash memory and SRAM based memory cells in it be used?