Skip to content

Commit

Permalink
Merge pull request #1537 from ucb-bar/vlsi-fixes
Browse files Browse the repository at this point in the history
VLSI Fixes
  • Loading branch information
jerryz123 authored Jul 1, 2023
2 parents 2ba1198 + 2220599 commit ea26b02
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion vlsi/example-asap7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ vlsi.inputs.power_spec_type: "cpf"

# Specify clock signals
vlsi.inputs.clocks: [
{name: "clock_clock", period: "1ns", uncertainty: "0.1ns"}
{name: "clock_uncore_clock", period: "1ns", uncertainty: "0.1ns"}
]

# Generate Make include to aid in flow
Expand Down
2 changes: 1 addition & 1 deletion vlsi/example-design.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ vlsi.inputs.power_spec_type: "cpf"

# Specify clock signals
vlsi.inputs.clocks: [
{name: "clock_clock", period: "2ns", uncertainty: "0.1ns"}
{name: "clock_uncore_clock", period: "2ns", uncertainty: "0.1ns"}
]

# Specify pin properties
Expand Down
4 changes: 2 additions & 2 deletions vlsi/example-designs/sky130-commercial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Specify clock signals
vlsi.inputs.clocks: [
{name: "clock_clock", period: "30ns", uncertainty: "2ns"}
{name: "clock_uncore_clock", period: "30ns", uncertainty: "2ns"}
]

# Placement Constraints
Expand All @@ -16,4 +16,4 @@ vlsi.inputs.clocks: [
# - path: "ChipTop"
# ...
# margins:
# right: 0 # or left: 0
# right: 0 # or left: 0
2 changes: 1 addition & 1 deletion vlsi/example-designs/sky130-openroad-rockettile.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Override configurations in ../example-sky130.yml and example-designs

# Specify clock signals
# Rocket/RocketTile names clock signal "clock" instead of "clock_clock"
# Rocket/RocketTile names clock signal "clock" instead of "clock_uncore_clock"
vlsi.inputs.clocks: [
{name: "clock", period: "30ns", uncertainty: "3ns"}
]
Expand Down
2 changes: 1 addition & 1 deletion vlsi/example-designs/sky130-openroad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Specify clock signals
# Relax the clock period for OpenROAD to meet timing
vlsi.inputs.clocks: [
{name: "clock_clock", period: "50ns", uncertainty: "2ns"}
{name: "clock_uncore_clock", period: "50ns", uncertainty: "2ns"}
]

# Flow parameters that yield a routable design with reasonable timing
Expand Down
2 changes: 1 addition & 1 deletion vlsi/example-designs/sky130-rocket.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Override configurations in ../example-sky130.yml and example-designs

# Specify clock signals
# Rocket/RocketTile names clock signal "clock" instead of "clock_clock"
# Rocket/RocketTile names clock signal "clock" instead of "clock_uncore_clock"
vlsi.inputs.clocks: [
{name: "clock", period: "5ns", uncertainty: "1ns"}
]
Expand Down
2 changes: 1 addition & 1 deletion vlsi/example-sky130.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ vlsi.inputs.power_spec_type: "cpf"

# Specify clock signals
vlsi.inputs.clocks: [
{name: "clock_clock", period: "20ns", uncertainty: "1ns"}
{name: "clock_uncore_clock", period: "20ns", uncertainty: "1ns"}
]

# Generate Make include to aid in flow
Expand Down
4 changes: 2 additions & 2 deletions vlsi/sim.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $(SIM_CONF): $(sim_common_files) check-binary
done
echo " options_meta: 'append'" >> $@
echo " defines:" >> $@
for x in $(subst +define+,,$(PREPROC_DEFINES)); do \
for x in $(subst +define+,,$(SIM_PREPROC_DEFINES)); do \
echo ' - "'$$x'"' >> $@; \
done
echo " defines_meta: 'append'" >> $@
Expand Down Expand Up @@ -75,7 +75,7 @@ $(SIM_TIMING_CONF): $(sim_common_files)
echo "sim.inputs:" > $@
echo " defines: ['NTC']" >> $@
echo " defines_meta: 'append'" >> $@
echo " timing_annotated: 'true'" >> $@
echo " timing_annotated: true" >> $@

# Update hammer top-level sim targets to include our generated sim configs
redo-sim-rtl: $(SIM_CONF)
Expand Down

0 comments on commit ea26b02

Please sign in to comment.