vga/vga.ccf
2024-08-14 15:45:04 -05:00

74 lines
2.4 KiB
Plaintext

## blink.ccf
#
# Date: 2024-07-18
#
# Syntax:
# NET "<pin-name>" Loc = "<pin-location>" | <opt.-constraints>;
#
# Backward compatible legacy syntax:
# <pin-direction> "<pin-name>" Loc = "<pin-location>" | <opt.-constraints>;
#
# Additional constraints can be appended using the pipe symbol.
# Files are read line by line. Text after the hash symbol is ignored.
#
# Available legacy pin directions:
#
# Pin_in
# defines an input pin
# Pin_out
# defines an output pin
# Pin_triout
# defines a tristate output pin
# Pin_inout
# defines a bidirectional pin
#
# Available pin constraints:
#
# SCHMITT_TRIGGER={true,false}
# enables or disables schmitt trigger (hysteresis) option
# PULLUP={true,false}
# enables or disables I/O pullup resistor of nominal 50kOhm
# PULLDOWN={true,false}
# enables or disables I/O pulldown resistor of nominal 50kOhm
# KEEPER={true,false}
# enables or disables I/O keeper option
# SLEW={slow,fast}
# sets slew rate to slow or fast
# DRIVE={3,6,9,12}
# sets output drive strength to 3mA..12mA
# DELAY_OBF={0..15}
# adds an additional delay of n * nominal 50ps to output signal
# DELAY_IBF={0..15}
# adds an additional delay of n * nominal 50ps to input signal
# FF_IBF={true,false}
# enables or disables placing of FF in input buffer, if possible
# FF_OBF={true,false}
# enables or disables placing of FF in output buffer, if possible
# LVDS_BOOST={true,false}
# enables increased LVDS output current of 6.4mA (default: 3.2mA)
# LVDS_RTERM={true,false}
# enables on-chip LVDS termination resistor of nominal 100Ohm, in input mode only
#
# Global IO constraints can be set with the default_GPIO statement. It can be
# overwritten by individual settings for specific GPIOs, e.g.:
# default_GPIO | DRIVE=3; # sets all output strengths to 3mA, unless overwritten
#
Net "clk" Loc = "IO_SB_A8" | SCHMITT_TRIGGER=true;
Net "rst" Loc = "IO_SB_B7"; # SW3
Net "led" Loc = "IO_SB_B6"; # D1
Net "h_sync" Loc = "IO_WB_A1";
Net "v_sync" Loc = "IO_WB_B1";
Net "red[3]" Loc = "IO_WB_A2";
Net "red[2]" Loc = "IO_WB_B2";
Net "red[1]" Loc = "IO_WB_A3";
Net "red[0]" Loc = "IO_WB_B3";
Net "green[3]" Loc = "IO_WB_A4";
Net "green[2]" Loc = "IO_WB_B4";
Net "green[1]" Loc = "IO_WB_A5";
Net "green[0]" Loc = "IO_WB_B5";
Net "blue[3]" Loc = "IO_WB_A6";
Net "blue[2]" Loc = "IO_WB_B6";
Net "blue[1]" Loc = "IO_WB_A7";
Net "blue[0]" Loc = "IO_WB_B7";