Skip to content

Commit

Permalink
Ensure mikroBUS Click RST/RE pin is driven
Browse files Browse the repository at this point in the history
This RST pin is an active low reset signal to most mikroBUS
Click boards, but some boards use it as an active low Read
Enable (RE) pin, so presently not all boards are supported.

Avoid producing undefined behaviour on (hopefully) the majority
of boards, and rely upon power-cycling and software-reset
mechanisms.
  • Loading branch information
alees24 authored and HU90m committed Nov 7, 2024
1 parent 712dd50 commit 0a1378c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rtl/fpga/top_sonata.sv
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,11 @@ module top_sonata
assign led_legacy = ~cheri_en;
assign led_halted = 1'b0;

// mikroBUS Click boards mostly use this pin as an active low reset signal but some
// boards use it as an active low Read Enable (RE) pin; presently this pin is not
// under software control so some boards are not supported.
assign mb0 = 1'b1;

// Produce 50 MHz system clock from 25 MHz Sonata board clock.
clkgen_sonata #(
.SysClkFreq(SysClkFreq),
Expand Down

0 comments on commit 0a1378c

Please sign in to comment.