Skip to content

Commit 4808caa

Browse files
committed
Tweak reset_button cool_down timer so we can fit
1 parent f893b2a commit 4808caa

File tree

4 files changed

+22
-31
lines changed

4 files changed

+22
-31
lines changed

hdl/ip/bsv/ignition/IgnitionTarget.bsv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Parameters default_app_with_reset_button =
9595
mirror_link0_rx_as_link1_tx: False,
9696
system_type: tagged Invalid,
9797
button_behavior: ResetButton,
98-
system_power_toggle_cool_down: 3000, // 3s if app tick at 1 kHz.
98+
system_power_toggle_cool_down: 2000, // 2s if app tick at 1 kHz.
9999
system_power_fault_monitor_enable: True,
100100
system_power_fault_monitor_start_delay: 25, // 25ms if app tick at 1kHz.
101101
system_power_hotswap_controller_restart: True,

hdl/projects/gimlet/ignition_target/BUILD

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,13 @@ yosys_design('ignition_target_rev_b_power_button_top',
3939
'//vnd/bluespec:Verilog.v',
4040
])
4141

42-
# TODO: Disabling this build as it is failing with a toolchain bump. If we wish
43-
# to keep this build, this needs further investigation.
44-
#
45-
# nextpnr_ice40_bitstream('ignition_target_gimlet_rev_b_c_d_reset_button',
46-
# env = 'ignition_target',
47-
# design = ':ignition_target_rev_b_reset_button_top#' \
48-
# 'ignition_target_rev_b_reset_button_top.json',
49-
# deps = [
50-
# ':ignition_target_rev_b_reset_button_top',
51-
# ])
42+
nextpnr_ice40_bitstream('ignition_target_gimlet_rev_b_c_d_reset_button',
43+
env = 'ignition_target',
44+
design = ':ignition_target_rev_b_reset_button_top#' \
45+
'ignition_target_rev_b_reset_button_top.json',
46+
deps = [
47+
':ignition_target_rev_b_reset_button_top',
48+
])
5249

5350
nextpnr_ice40_bitstream('ignition_target_gimlet_rev_b_c_d_power_button',
5451
env = 'ignition_target',

hdl/projects/psc/BUILD

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,10 @@ yosys_design('ignition_target_psc_rev_b_reset_button_top',
4949
'//vnd/bluespec:Verilog.v',
5050
])
5151

52-
# TODO: Disabling this build as it is failing with a toolchain bump. If we wish
53-
# to keep this build, this needs further investigation.
54-
#
55-
# nextpnr_ice40_bitstream('ignition_target_psc_rev_b_reset_button',
56-
# env = 'ignition_target',
57-
# design = ':ignition_target_psc_rev_b_reset_button_top#' \
58-
# 'ignition_target_psc_rev_b_reset_button_top.json',
59-
# deps = [
60-
# ':ignition_target_psc_rev_b_reset_button_top',
61-
# ])
52+
nextpnr_ice40_bitstream('ignition_target_psc_rev_b_reset_button',
53+
env = 'ignition_target',
54+
design = ':ignition_target_psc_rev_b_reset_button_top#' \
55+
'ignition_target_psc_rev_b_reset_button_top.json',
56+
deps = [
57+
':ignition_target_psc_rev_b_reset_button_top',
58+
])

hdl/projects/sidecar/ignition_target/BUILD

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,13 @@ yosys_design('ignition_target_rev_b_power_button_top',
8383
'//vnd/bluespec:Verilog.v',
8484
])
8585

86-
# TODO: Disabling this build as it is failing with a toolchain bump. If we wish
87-
# to keep this build, this needs further investigation.
88-
#
89-
# nextpnr_ice40_bitstream('ignition_target_sidecar_rev_b_c_reset_button',
90-
# env = 'ignition_target',
91-
# design = ':ignition_target_rev_b_reset_button_top#' \
92-
# 'ignition_target_rev_b_reset_button_top.json',
93-
# deps = [
94-
# ':ignition_target_rev_b_reset_button_top',
95-
# ])
86+
nextpnr_ice40_bitstream('ignition_target_sidecar_rev_b_c_reset_button',
87+
env = 'ignition_target',
88+
design = ':ignition_target_rev_b_reset_button_top#' \
89+
'ignition_target_rev_b_reset_button_top.json',
90+
deps = [
91+
':ignition_target_rev_b_reset_button_top',
92+
])
9693

9794
nextpnr_ice40_bitstream('ignition_target_sidecar_rev_b_c_power_button',
9895
env = 'ignition_target',

0 commit comments

Comments
 (0)