Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ add SDI module (SPI device-class interface) #505

Merged
merged 10 commits into from
Feb 26, 2023
Merged

✨ add SDI module (SPI device-class interface) #505

merged 10 commits into from
Feb 26, 2023

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Feb 24, 2023

This PR adds a new module to the processor: serial data interface (SDI)

  • device class: transmission are triggered/clocked by an external host
  • byte-oriented, 2 SPI clock modes (only CPHA = 0 supported yet)
  • configurable data FIFO
  • programmable interrupt conditions
New Top Generics
IO_SDI_EN   : boolean := false; -- implement serial data interface (SDI)?
IO_SDI_FIFO : natural := 0;     -- SDI RTX fifo depth, has to be zero or a power of two
New Top Signals
-- SDI (available if IO_SDI_EN = true) --
sdi_clk_i : in  std_ulogic := 'U'; -- SDI serial clock
sdi_dat_o : out std_ulogic; -- controller data out, peripheral data in
sdi_dat_i : in  std_ulogic := 'U'; -- controller data in, peripheral data out
sdi_csn_i : in  std_ulogic := 'H'; -- chip-select

🧪 This module is still experimental.

@stnolting stnolting added enhancement New feature or request experimental Experimental feature labels Feb 24, 2023
@stnolting stnolting self-assigned this Feb 24, 2023
@stnolting stnolting marked this pull request as ready for review February 25, 2023 17:08
@stnolting stnolting merged commit d9d1413 into main Feb 26, 2023
@stnolting stnolting deleted the sdi_module branch February 26, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request experimental Experimental feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant