[Libre-soc-bugs] [Bug 762] Peripheral Pin Muxing Development

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue May 10 18:17:05 BST 2022


https://bugs.libre-soc.org/show_bug.cgi?id=762

Jacob Lifshay <programmerjake at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |programmerjake at gmail.com

--- Comment #19 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #17)
> so the only wishbone configs that we should support are:
> 
> * dat_r/w = 8-bit, sel=1-bit
> * dat_r/w = 16-bit, sel=2-bit
> * dat_r/w = 32-bit, sel=4-bit
> * dat_r/w = 64-bit, sel=8-bit
> 
> notice there that
> 
>     8<<len(sel) == len(dat_r)
> 
> therefore you can do an assert with that as a condition.

I think you meant 8*len(sel) == len(dat_r), otherwise len(sel)==4 would give
len(dat_r) == 128, and len(sel) == 8 would give len(dat_r) == 2048

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list