lowRISC / lowRISC/mocha

SPI device SRAM

Open
#271 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SystemVerilog
Stars
38
Forks
21
Avg merge
2d 23h
Merged PRs (30d)
14

Description

Investigate whether to use two-port RAM or one-read-one-write RAM for SPI device.

OpenTitan Darjeeling uses 1R1W: https://github.com/lowRISC/opentitan/blob/05f167eafe75578c855a1794414405311ee69556/hw/top_darjeeling/rtl/autogen/top_darjeeling.sv#L22

OpenTitan EarlGrey uses 2P: https://github.com/lowRISC/opentitan/blob/05f167eafe75578c855a1794414405311ee69556/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv#L23
https://github.com/lowRISC/opentitan/blob/05f167eafe75578c855a1794414405311ee69556/hw/ip/spi_device/rtl/spi_device_pkg.sv#L411

In Mocha we currently use the default two-port version.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the linked OpenTitan top_darjeeling.sv, top_earlgrey.sv, and hw/ip/spi_device/rtl/spi_device_pkg.sv references, then locate Mocha's SPI device SRAM configuration. Determine whether two-port or 1R1W RAM is appropriate for Mocha and document the resulting design decision and rationale.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.