Skip to content

Commit

Permalink
Merge pull request YosysHQ#251 from yrabbit/bsram-doc-2
Browse files Browse the repository at this point in the history
Describe the BSRAM regs in GW1NR-9C and GW2AR-18C
  • Loading branch information
yrabbit authored Jun 24, 2024
2 parents 1a6a78d + 1c4d4c7 commit 9aa2030
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion doc/bsram-fix.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,16 @@ One more note for the future - if these additional things are intended to correc

![READ_MODE=1'b0, WRITE_MODE=2'b10](fig/sp-rmode-1-wmode-10.png)

<<<<<<< HEAD

### Tangnano9k and Tangnano20k
For chips on these boards, no new elements are formed around the BSRAM, that is, we can conclude that whatever was broken in the previous families was fixed here. However, now the built-in output registers only work with 32 or 36 bits - with a different bit size, the internal registers are disabled (read mode is forced to switch to 1'b0 bypass) and external DFFs are added.

Which type is added, DFFCE or DFFRE, is determined by the SYNC parameter.

![Tangnano9k and Tangnano20k with READ_MODE=1'b1](fig/sp-rmode-1-9c-20c.png)


# TODO
- Explore SP in Tangnano9k and Tangnano20k
- Explore DPB, SDPB and pROM

Binary file added doc/fig/sp-rmode-1-9c-20c.dia
Binary file not shown.
Binary file added doc/fig/sp-rmode-1-9c-20c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9aa2030

Please sign in to comment.