Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions flow/designs/asap7/mock-cpu/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export DESIGN_NICKNAME = mock-cpu

export VERILOG_FILES = $(wildcard $(DESIGN_HOME)/src/fifo/*.v)
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/constraint.sdc
export SDC_FILE_EXTRA = $(DESIGN_HOME)/src/mock-array/util.tcl

export CORE_UTILIZATION = 40
export CORE_ASPECT_RATIO = 1
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/asap7/mock-cpu/constraint.sdc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This fifo is from http://www.sunburst-design.com/papers/CummingsSNUG2002SJ_FIFO1.pdf

source $::env(DESIGN_HOME)/src/mock-array/util.tcl
source $::env(SDC_FILE_EXTRA)

set sdc_version 2.0

Expand Down
8 changes: 1 addition & 7 deletions flow/designs/asap7/mock-cpu/io.tcl
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
# bazel has root of OpenROAD-flow-scripts as working directory
foreach prefix {"" flow/} {
set f ${prefix}designs/src/mock-array/util.tcl
if { [file exists $f] } {
source $f
}
}
source $::env(SDC_FILE_EXTRA)

set_io_pin_constraint -order -group -region bottom:* \
-pin_names [concat [match_pins .*] [match_pins clk input 1]]