Skip to content

Commit

Permalink
dc2677a: Fix building with make argument
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiGrozav committed Sep 29, 2023
1 parent b1f1e10 commit 0982da5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions projects/dc2677a/c5soc/system_project.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,12 @@ set_location_assignment PIN_G11 -to pd ; # pd 50 lvds_rxn0
if {$LVDS_CMOS_N == 1} {
# lvds

set_global_assignment -name VERILOG_FILE system_top_lvds.v
set_global_assignment -name TOP_LEVEL_ENTITY system_top_lvds
if {[info exists ::env(ADI_PROJECT_DIR)]} {
set_global_assignment -name VERILOG_FILE ../system_top_lvds.v
} else {
set_global_assignment -name VERILOG_FILE system_top_lvds.v
}

set_instance_assignment -name IO_STANDARD "2.5V" -to lvds_cmos_n
set_instance_assignment -name IO_STANDARD "2.5V" -to cnv
Expand All @@ -67,8 +71,12 @@ if {$LVDS_CMOS_N == 1} {
} else {
# cmos

set_global_assignment -name VERILOG_FILE system_top_cmos.v
set_global_assignment -name TOP_LEVEL_ENTITY system_top_cmos
if {[info exists ::env(ADI_PROJECT_DIR)]} {
set_global_assignment -name VERILOG_FILE ../system_top_cmos.v
} else {
set_global_assignment -name VERILOG_FILE system_top_cmos.v
}

set_instance_assignment -name IO_STANDARD "3.3V LVCMOS" -to lvds_cmos_n
set_instance_assignment -name IO_STANDARD "3.3V LVCMOS" -to cnv
Expand Down

0 comments on commit 0982da5

Please sign in to comment.