Question: help create a constraint file with this design sources code - - - - - - - - - - - - - - -
help create a constraint file with this design sources code
Company:
Engineer:
Create Date: :: PM
Design Name:
Module Name: finalproject Behavioral
Project Name:
Target Devices:
Tool Versions:
Description:
Dependencies:
Revision:
Revision File Created
Additional Comments:
library IEEE;
use IEEE.STDLOGICALL;
Uncomment the following library declaration if using
arithmetic functions with Signed or Unsigned values
use IEEE.NUMERICSTDALL;
Uncomment the following library declaration if instantiating
any Xilinx leaf cells in this code.
library UNISIM;
use UNISIM.VComponents.all;
entity finalproject is
Port clk : in STDLOGIC;
reset : in STDLOGIC;
segment : out STDLOGICVECTOR downto ;
end finalproject;
architecture Behavioral of finalproject is
signal count : integer range to :; Adjust range for your specific needs
begin
processclk reset
begin
if reset then
count ;
elsif risingedgeclk then
if count then
count ;
else
count count ;
end if;
end if;
end process;
Output segment patterns based on count value
processcount
begin
case count is
when segment ; Segment pattern for
when segment ; Segment pattern for
Define patterns for other digits or characters as needed
when others segment ; Default pattern all segments off
end case;
end process;
end Behavioral;
## This file is a general xdc for the Zybo Z Rev. B
## It is compatible with the Zybo Z and Zybo Z
## To use it in a project:
## uncomment the lines corresponding to used pins
## rename the used ports in each line, after getports according to the top level signal names in the project
##Clock signal
#setproperty dict PACKAGEPIN K IOSTANDARD LVCMOSgetports clk ; #IOLPTMRCC Schsysclk
#createclock add name sysclkpin period waveform getports sysclk ;
##Switches
#setproperty dict PACKAGEPIN G IOSTANDARD LVCMOSgetports sw; #IOLNTVREF Schsw
#setproperty dict PACKAGEPIN P IOSTANDARD LVCMOSgetports sw; #IOLPT Schsw
#setproperty dict PACKAGEPIN W IOSTANDARD LVCMOSgetports sw; #IOLNT Schsw
#setproperty dict PACKAGEPIN T IOSTANDARD LVCMOSgetports sw; #IOLPTDQS Schsw
##Buttons
#setproperty dict PACKAGEPIN K IOSTANDARD LVCMOSgetports btn; #IOLNTMRCC Schbtn
#setproperty dict PACKAGEPIN P IOSTANDARD LVCMOSgetports btn; #IOLNT Schbtn
#setproperty dict PACKAGEPIN K IOSTANDARD LVCMOSgetports btn; #IOLPTADP Schbtn
#setproperty dict PACKAGEPIN Y IOSTANDARD LVCMOSgetports btn; #IOLPT Schbtn
##LEDs
#setproperty dict PACKAGEPIN M IOSTANDARD LVCMOSgetports led; #IOLPT Schled
#setproperty dict PACKAGEPIN M IOSTANDARD LVCMOSgetports led; #IOLNT Schled
#setproperty dict PACKAGEPIN G IOSTANDARD LVCMOSgetports led; #IO Schled
#setproperty dict PACKAGEPIN D IOSTANDARD LVCMOSgetports led; #IOLNTDQSADN Schled
##RGB LED Zybo Z only
#setproperty dict PACKAGEPIN Y IOSTANDARD LVCMOSgetports ledr ; #IOLNT Schledr
#setproperty dict PACKAGEPIN T IOSTANDARD LVCMOSgetports ledg ; #IOLPT Schledg
#setproperty dict PACKAGEPIN Y IOSTANDARD LVCMOSgetports ledb ; #IOLPT Schledb
##RGB LED
#setproperty dict PACKAGEPIN V IOSTANDARD LVCMOSgetports ledr ; #IOLPT Schledr
#setproperty dict PACKAGEPIN F IOSTANDARD LVCMOSgetports ledg ; #IOLNTVREF Schledg
#setproperty dict PACKAGEPIN M IOSTANDARD LVCMOSgetports ledb ; #IOLPTADP Schledb
##Audio Codec
#setproperty dict PACKAGEPIN R IOSTANDARD LVCMOSgetports acbclk ; #IO Schacbclk
#setproperty dict PACKAGE
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
