Open SebastianHambura opened 3 months ago
memmap-version
@tgingold-cern It is possible to specify an external memory interface using cheby? I couldn't find how to do this reading the documentation.
Yes, just use interface
.
Thanks @tgingold-cern! Looking at the cheby source code I've figured that it is possible to set the interface
attribute to sram
which does exactly what I want:
memory-map:
bus: wb-32-be
name: wb_ram
description: Wishbone RAM interface
x-hdl:
busgroup: true
children:
- memory:
name: ram
memsize: 32768
interface: sram
children:
- reg:
name: data
access: rw
width: 32
Hi,
First, thanks a lot for this tools, I've tried a couple of things and it look like it will greatly help me !
I have a couple of remarks :
when installing on a fresh Python venv (on windows), I had to manually install
setuptools
even afterpip install -r .\requirements.rxt
The documentation on how to use the RAMs is a bit sparse. In my generated verilog code, there is an instance of
cheby_dpssram
. Is it the module that can be found at https://github.com/tgingold-cern/cheby/blob/master/testfiles/tb/dpssram.sv ?I've tried using x-map-info/memmamp-version, but I get
parse error: unhandled 'memmamp-version' in x-map-info
. What's the correct syntax ? My test file looked like:Is there an easy was to add a custom extension ? We're writing the software part in Rust, so I'm wondering if it's possible/worth it to convert the .yaml directly into a rust mod through cheby.