- Updated the rgb2gray.vhd file to improve readability and structure, including consistent casing for keywords and signals. - Implemented a new divider_by_3 component to calculate the grayscale value by dividing the sum of RGB channels by 3. - Enhanced the state machine in rgb2gray to handle RGB input and output grayscale values correctly. - Updated the Vivado project file to include the new divider_by_3.vhd for synthesis and simulation. - Modified vhdl_ls.toml to include unisim files for third-party library support.
31 lines
549 B
TOML
31 lines
549 B
TOML
[libraries]
|
|
# Assign separate libraries for each project
|
|
lab0_lib.files = [
|
|
"LAB0/src/**/*.vhd",
|
|
"LAB0/sim/**/*.vhd"
|
|
]
|
|
|
|
lab1_lib.files = [
|
|
"LAB1/src/**/*.vhd",
|
|
"LAB1/sim/**/*.vhd"
|
|
]
|
|
|
|
lab2_lib.files = [
|
|
"LAB2/src/*.vhd",
|
|
"LAB2/sim/**/*.vhd"
|
|
]
|
|
|
|
# lab3_lib.files = [
|
|
# "LAB3/src/**/*.vhd",
|
|
# "LAB3/sim/**/*.vhd"
|
|
# ]
|
|
|
|
xpm.files = [
|
|
"C:/Xilinx/Vivado/2020.2/data/ip/xpm/xpm_VCOMP.vhd"
|
|
]
|
|
xpm.is_third_party = true
|
|
|
|
unisim.files = [
|
|
"C:/Xilinx/Vivado/2020.2/data/vhdl/src/unisims/**/*.vhd"
|
|
]
|
|
unisim.is_third_party = true |