whitequark changed the topic of #amaranth-lang to: Amaranth hardware definition language ยท weekly meetings on Mondays at 1700 UTC ยท code https://github.com/amaranth-lang ยท logs https://libera.irclog.whitequark.org/amaranth-lang
jess has quit []
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #amaranth-lang
lf has quit [Ping timeout: 248 seconds]
lf has joined #amaranth-lang
bl0x has joined #amaranth-lang
bl0x_ has quit [Ping timeout: 248 seconds]
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 248 seconds]
Degi_ is now known as Degi
Degi has quit [*.net *.split]
bl0x has quit [*.net *.split]
lf has quit [*.net *.split]
skipwich has quit [*.net *.split]
urja has quit [*.net *.split]
d1b2 has quit [*.net *.split]
mindw0rk has quit [*.net *.split]
balrog has quit [*.net *.split]
cr1901 has quit [*.net *.split]
Bluefoxicy has quit [*.net *.split]
Lord_Nightmare has quit [*.net *.split]
josuah has quit [*.net *.split]
TD-Linux has quit [*.net *.split]
leptonix_ has quit [*.net *.split]
Stary has quit [*.net *.split]
agg has quit [*.net *.split]
elle has quit [*.net *.split]
Abhishek_ has quit [*.net *.split]
eigenform has quit [*.net *.split]
sauce has quit [*.net *.split]
gruetzkopf has quit [*.net *.split]
lambda has quit [*.net *.split]
peepsalot has quit [*.net *.split]
pbsds has quit [*.net *.split]
richardeoin has quit [*.net *.split]
Wolfvak has quit [*.net *.split]
Luke has quit [*.net *.split]
adamgreig[m] has quit [*.net *.split]
jfng[m] has quit [*.net *.split]
FireFly has quit [*.net *.split]
DX-MON| has quit [*.net *.split]
ChanServ has quit [*.net *.split]
antoinevg[m] has quit [*.net *.split]
mikolajw has quit [*.net *.split]
whitequark has quit [*.net *.split]
Sarayan has quit [*.net *.split]
pepijndevos[m] has quit [*.net *.split]
lethalbit has quit [*.net *.split]
alanvgreen has quit [*.net *.split]
yuriks has quit [*.net *.split]
tiltmesenpai has quit [*.net *.split]
sugarbeet has quit [*.net *.split]
Chips4MakersakaS has quit [*.net *.split]
koschei[m] has quit [*.net *.split]
DevanshTanna[m] has quit [*.net *.split]
V has quit [*.net *.split]
vup has quit [*.net *.split]
anuejn has quit [*.net *.split]
gatecat has quit [*.net *.split]
miek has quit [*.net *.split]
xiretza[m] has quit [*.net *.split]
robtaylor has quit [*.net *.split]
roflin has quit [*.net *.split]
nyanotech has quit [*.net *.split]
crzwdjk has quit [*.net *.split]
cesar has quit [*.net *.split]
ebb has quit [*.net *.split]
chaoticryptidz_ has quit [*.net *.split]
toshywoshy has quit [*.net *.split]
richardeoin has joined #amaranth-lang
lf has joined #amaranth-lang
Bluefoxicy has joined #amaranth-lang
bl0x has joined #amaranth-lang
peepsalot has joined #amaranth-lang
Lord_Nightmare has joined #amaranth-lang
urja has joined #amaranth-lang
mindw0rk has joined #amaranth-lang
d1b2 has joined #amaranth-lang
balrog has joined #amaranth-lang
cr1901 has joined #amaranth-lang
koschei[m] has joined #amaranth-lang
cesar has joined #amaranth-lang
mikolajw has joined #amaranth-lang
elle has joined #amaranth-lang
Stary has joined #amaranth-lang
leptonix_ has joined #amaranth-lang
josuah has joined #amaranth-lang
TD-Linux has joined #amaranth-lang
antoinevg[m] has joined #amaranth-lang
DevanshTanna[m] has joined #amaranth-lang
tiltmesenpai has joined #amaranth-lang
Sarayan has joined #amaranth-lang
V has joined #amaranth-lang
ebb has joined #amaranth-lang
pepijndevos[m] has joined #amaranth-lang
xiretza[m] has joined #amaranth-lang
robtaylor has joined #amaranth-lang
adamgreig[m] has joined #amaranth-lang
jfng[m] has joined #amaranth-lang
whitequark has joined #amaranth-lang
vup has joined #amaranth-lang
sugarbeet has joined #amaranth-lang
gruetzkopf has joined #amaranth-lang
Wolfvak has joined #amaranth-lang
FireFly has joined #amaranth-lang
chaoticryptidz_ has joined #amaranth-lang
DX-MON| has joined #amaranth-lang
roflin has joined #amaranth-lang
Chips4MakersakaS has joined #amaranth-lang
crzwdjk has joined #amaranth-lang
Degi has joined #amaranth-lang
skipwich has joined #amaranth-lang
pbsds has joined #amaranth-lang
lambda has joined #amaranth-lang
agg has joined #amaranth-lang
eigenform has joined #amaranth-lang
anuejn has joined #amaranth-lang
Luke has joined #amaranth-lang
sauce has joined #amaranth-lang
Abhishek_ has joined #amaranth-lang
gatecat has joined #amaranth-lang
toshywoshy has joined #amaranth-lang
ChanServ has joined #amaranth-lang
lethalbit has joined #amaranth-lang
miek has joined #amaranth-lang
alanvgreen has joined #amaranth-lang
yuriks has joined #amaranth-lang
nyanotech has joined #amaranth-lang
cesar has quit [*.net *.split]
ebb has quit [*.net *.split]
chaoticryptidz_ has quit [*.net *.split]
toshywoshy has quit [*.net *.split]
cesar has joined #amaranth-lang
toshywoshy has joined #amaranth-lang
chaoticryptidz_ has joined #amaranth-lang
xiretza[m] has quit [Ping timeout: 246 seconds]
cesar has quit [Ping timeout: 246 seconds]
mikolajw has quit [Ping timeout: 265 seconds]
koschei[m] has quit [Ping timeout: 252 seconds]
DevanshTanna[m] has quit [Ping timeout: 252 seconds]
adamgreig[m] has quit [Ping timeout: 252 seconds]
jfng[m] has quit [Ping timeout: 252 seconds]
robtaylor has quit [Ping timeout: 246 seconds]
pepijndevos[m] has quit [Ping timeout: 264 seconds]
Chips4MakersakaS has quit [Ping timeout: 260 seconds]
antoinevg[m] has quit [Ping timeout: 265 seconds]
whitequark has quit [Ping timeout: 265 seconds]
ebb has joined #amaranth-lang
crzwdjk has quit [*.net *.split]
roflin has quit [*.net *.split]
nyanotech has quit [*.net *.split]
V has quit [*.net *.split]
anuejn has quit [*.net *.split]
vup has quit [*.net *.split]
gatecat has quit [*.net *.split]
miek has quit [*.net *.split]
crzwdjk has joined #amaranth-lang
roflin has joined #amaranth-lang
nyanotech has joined #amaranth-lang
anuejn has joined #amaranth-lang
V has joined #amaranth-lang
gatecat has joined #amaranth-lang
miek has joined #amaranth-lang
vup has joined #amaranth-lang
sugarbeet has quit [*.net *.split]
tiltmesenpai has quit [*.net *.split]
Sarayan has quit [*.net *.split]
lethalbit has quit [*.net *.split]
yuriks has quit [*.net *.split]
alanvgreen has quit [*.net *.split]
FireFly has quit [*.net *.split]
DX-MON| has quit [*.net *.split]
agg has quit [*.net *.split]
Abhishek_ has quit [*.net *.split]
eigenform has quit [*.net *.split]
sauce has quit [*.net *.split]
gruetzkopf has quit [*.net *.split]
sugarbeet has joined #amaranth-lang
tiltmesenpai has joined #amaranth-lang
lethalbit has joined #amaranth-lang
Sarayan has joined #amaranth-lang
alanvgreen has joined #amaranth-lang
yuriks has joined #amaranth-lang
Bluefoxicy has quit [*.net *.split]
josuah has quit [*.net *.split]
leptonix_ has quit [*.net *.split]
TD-Linux has quit [*.net *.split]
Stary has quit [*.net *.split]
elle has quit [*.net *.split]
FireFly has joined #amaranth-lang
DX-MON| has joined #amaranth-lang
Degi has quit [*.net *.split]
bl0x has quit [*.net *.split]
skipwich has quit [*.net *.split]
lf has quit [*.net *.split]
Lord_Nightmare has quit [*.net *.split]
d1b2 has quit [*.net *.split]
urja has quit [*.net *.split]
mindw0rk has quit [*.net *.split]
balrog has quit [*.net *.split]
cr1901 has quit [*.net *.split]
agg has joined #amaranth-lang
Abhishek_ has joined #amaranth-lang
gruetzkopf has joined #amaranth-lang
sauce has joined #amaranth-lang
eigenform has joined #amaranth-lang
d1b22 has joined #amaranth-lang
lf has joined #amaranth-lang
skipwich has joined #amaranth-lang
Degi has joined #amaranth-lang
bl0x has joined #amaranth-lang
d1b2 has joined #amaranth-lang
Lord_Nightmare has joined #amaranth-lang
urja has joined #amaranth-lang
mindw0rk has joined #amaranth-lang
balrog has joined #amaranth-lang
cr1901 has joined #amaranth-lang
d1b2 has quit [Remote host closed the connection]
Lord_Nightmare has quit [Excess Flood]
Lord_Nightmare2 has joined #amaranth-lang
d1b22 is now known as d1b2
Lord_Nightmare2 is now known as Lord_Nightmare
josuah has joined #amaranth-lang
leptonix_ has joined #amaranth-lang
elle has joined #amaranth-lang
Stary has joined #amaranth-lang
TD-Linux has joined #amaranth-lang
Bluefoxicy has joined #amaranth-lang
Chips4MakersakaS has joined #amaranth-lang
antoinevg[m] has joined #amaranth-lang
koschei[m] has joined #amaranth-lang
pbsds has quit [*.net *.split]
lambda has quit [*.net *.split]
peepsalot has quit [*.net *.split]
richardeoin has quit [*.net *.split]
Luke has quit [*.net *.split]
Wolfvak has quit [*.net *.split]
richardeoin has joined #amaranth-lang
Luke has joined #amaranth-lang
lambda has joined #amaranth-lang
peepsalot has joined #amaranth-lang
pbsds has joined #amaranth-lang
Wolfvak has joined #amaranth-lang
robtaylor has joined #amaranth-lang
DevanshTanna[m] has joined #amaranth-lang
jfng[m] has joined #amaranth-lang
adamgreig[m] has joined #amaranth-lang
Bluefoxicy has quit [*.net *.split]
josuah has quit [*.net *.split]
TD-Linux has quit [*.net *.split]
leptonix_ has quit [*.net *.split]
Stary has quit [*.net *.split]
elle has quit [*.net *.split]
josuah has joined #amaranth-lang
TD-Linux has joined #amaranth-lang
leptonix_ has joined #amaranth-lang
elle has joined #amaranth-lang
Stary has joined #amaranth-lang
Bluefoxicy has joined #amaranth-lang
<kivikakk> after ~2w of messing around with amaranth (and very little HDL experience prior), I have 3/4s of a working I2C driver! \o/
<cr1901> Yaay :D
<kivikakk> cr1901: several comments by you in various github issues over the years were very helpful in advancing my understanding; thank you!
<cr1901> Happy they were helpful :)
<cr1901> I think I found a reasonable use for FlexibleLayout: https://github.com/cr1901/crispy-succotash/blob/amaranth/baseboard.py#L283-L372.
<cr1901> It still feels weird to me accessing the same storage element via different bindings, but I'll get over it: https://github.com/cr1901/crispy-succotash/blob/amaranth/baseboard.py#L345-L349
xiretza[m] has joined #amaranth-lang
mikolajw has joined #amaranth-lang
cesar has joined #amaranth-lang
whitequark has joined #amaranth-lang
cyborg_ar has quit [Quit: WeeChat 2.3]
cyborgar has joined #amaranth-lang
nak has quit [Ping timeout: 276 seconds]
nak has joined #amaranth-lang
pepijndevos[m] has joined #amaranth-lang
balrog has quit [Ping timeout: 248 seconds]
balrog has joined #amaranth-lang
Raito_Bezarius has quit [Read error: Connection reset by peer]
Raito_Bezarius has joined #amaranth-lang
<d1b2> <dave berkeley> I've been playing around with a Stream implementation for a while. I've just added a "dot" output that allows you to automatically draw connection diagrams, as long as you use Stream.connect(src,sink) to connect the parts of your design. It also shows the payload names,when the aren't just "data". This is useful documentation and allowed me to find a connection bug.
<d1b2> <dave berkeley> I'm using a ulx3s. The ESP32 sends a command to the SPI Peripheral which allows it to write to some control registers. These control a PhaseSource. My sinewave generator is now a swept frequency generator.
<whitequark> neat!
<jn> very nice diagram
<d1b2> <dave berkeley> example Cordic->ADC "m.d.comb += Stream.connect(self.cordic.o, self.dac.i, exclude=["y","z"], mapping={"x":"data"})
<d1b2> <dave berkeley> DAC
<josuah> how do you usually work around Cat(a, b) taking only two arguments?
<josuah> I'd imagine it would be reasonably simple to do some wrapper like Cat(a, b, c, d...)
<josuah> was there any python limitation preventing more than two signals to be aggregated?
<d1b2> <dave berkeley> you can pass a list using a star : Cat(*list)
<d1b2> <dave berkeley> where list = [ a, b, c, d, ... ]
<josuah> oh wait... I had the wrong assumption
<josuah> @dave berkeley that is right I thought it only supported two args but it does not!
<d1b2> <dave berkeley> No, you can pass any number, or a list
<josuah> I'll bug the author to let him know :)
<d1b2> <dave berkeley> eg: data = Cat(self.i.lo, self.i.data, self.i.addr, self.i.cmd, self.i.hi)
<josuah> @dave berkeley: that high-level dot output you have is great! often only very low-level diagrams are supported
<_whitenotifier-9> [amaranth] josuah opened pull request #765: docs: disambiguate Cat(a, b, ...) support for more than 2 arguments - https://github.com/amaranth-lang/amaranth/pull/765
<_whitenotifier-9> [amaranth] codecov[bot] commented on pull request #765: docs: disambiguate Cat(a, b, ...) support for more than 2 arguments - https://github.com/amaranth-lang/amaranth/pull/765#issuecomment-1465187220
<_whitenotifier-9> [amaranth] whitequark reviewed pull request #765 commit - https://github.com/amaranth-lang/amaranth/pull/765#discussion_r1133261626
<_whitenotifier-9> [amaranth] daniestevez opened issue #766: pip install broken - https://github.com/amaranth-lang/amaranth/issues/766
<_whitenotifier-9> [amaranth] whitequark commented on issue #766: pip install broken - https://github.com/amaranth-lang/amaranth/issues/766#issuecomment-1465213157
<_whitenotifier-9> [amaranth] daniestevez commented on issue #766: pip install broken - https://github.com/amaranth-lang/amaranth/issues/766#issuecomment-1465213899
<_whitenotifier-9> [amaranth] whitequark commented on issue #766: pip install broken - https://github.com/amaranth-lang/amaranth/issues/766#issuecomment-1465215073
<_whitenotifier-9> [amaranth] whitequark closed issue #766: pip install broken - https://github.com/amaranth-lang/amaranth/issues/766
<_whitenotifier-9> [amaranth] daniestevez commented on issue #766: pip install broken - https://github.com/amaranth-lang/amaranth/issues/766#issuecomment-1465215398
<_whitenotifier-9> [amaranth] whitequark commented on issue #766: pip install broken - https://github.com/amaranth-lang/amaranth/issues/766#issuecomment-1465215838
<_whitenotifier-9> [rfcs] stafverhaegen-chipflow commented on pull request #11: Minimal type annotation support - https://github.com/amaranth-lang/rfcs/pull/11#issuecomment-1465221845
<_whitenotifier-9> [rfcs] whitequark commented on pull request #11: Minimal type annotation support - https://github.com/amaranth-lang/rfcs/pull/11#issuecomment-1465224617
<_whitenotifier-9> [rfcs] stafverhaegen-chipflow commented on pull request #11: Minimal type annotation support - https://github.com/amaranth-lang/rfcs/pull/11#issuecomment-1465225504
<_whitenotifier-9> [rfcs] whitequark commented on pull request #11: Minimal type annotation support - https://github.com/amaranth-lang/rfcs/pull/11#issuecomment-1465225578
<_whitenotifier-9> [rfcs] stafverhaegen-chipflow commented on pull request #11: Minimal type annotation support - https://github.com/amaranth-lang/rfcs/pull/11#issuecomment-1465228297
<_whitenotifier-9> [rfcs] whitequark commented on pull request #11: Minimal type annotation support - https://github.com/amaranth-lang/rfcs/pull/11#issuecomment-1465228908
<_whitenotifier-9> [rfcs] stafverhaegen-chipflow commented on pull request #11: Minimal type annotation support - https://github.com/amaranth-lang/rfcs/pull/11#issuecomment-1465229981
<_whitenotifier-9> [rfcs] whitequark commented on pull request #11: Minimal type annotation support - https://github.com/amaranth-lang/rfcs/pull/11#issuecomment-1465230780
<d1b2> <VA3TEC-Mikek-14362> Hi Dave! this is absolutely Great!!! I would love to use your system for a project I am working on! I would love to see this type of stream drawing software use something like Gnuradio-companion. (Not sure if everyone is familiar with that software) it's open source. But implemented on the FPGA. With digital filtering, etc, etc. Would be SO cool!!! ๐Ÿ™‚ Do you have published on a repo? (Again I am still learning amaranth..
<d1b2> ๐Ÿ™‚ and would be SO hopeful! ) Thanks, MikeK.
<whitequark> it's going to be upstream soonish
<whitequark> Stream functionality has been long planned, but there's some preliminary work to do
<whitequark> it will be different from Dave's I think
<d1b2> <VA3TEC-Mikek-14362> I am currently working on the DECA Fpga board trying to get the Audio working, at first local loops back, then later on, digital filtering, So Stream would be absolutely fun! I am following hans's repo. https://github.com/amaranth-farm/deca-usb2-audio-interface ๐Ÿ˜บ
<bl0x> josuah: thanks for reminding me, I meant to fix this in the earlier examples too. Right now I didn't have the time to backpropagate any fixes.
<d1b2> <VA3TEC-Mikek-14362> Can I offer any assistance? (again I am new) Is it just a matter of changing from nmigen to amaranth? And making sure all the legacy stuff has been updated? (would that help?)
<whitequark> it is
bentomo has joined #amaranth-lang
<josuah> bl0x: my pleasure, thank you for writing this
<bentomo> Is there an example of how the ports in hierarchical submodules get connected to each other? I'm trying too wrap my head around using amaranth, my background is Verilog, so not a python expert. I'm having trouble figuring out how to take advantage of python to create something like a bus. Something to replace a SystemVerilog interface. I get that I
<bentomo> can write a python class function to hook up signals by taking advantage of python loops and data structures, but I don't see anyone else doing that. I've looked at the CSR stuff in amaranth_soc but I feel like there are a lot of implicit connections I'm missing. Implicit is OK but I'm having trouble figuring out when/where those connections are
<bentomo> actually made.
<josuah> bentomo: still getting used to Amaranth myself, also attracted by the ability to finally have something like Interfaces widely supported.
<josuah> I think there are a few existing ones declared into the standard library for well-known signals, allowing some conventions across developers... Let me find these.
<josuah> bentomo: here is some place to eventually start reading: https://github.com/amaranth-lang/amaranth-soc/blob/main/amaranth_soc/wishbone/bus.py#L47
<josuah> note that rather than being a Elaboratable, it is a Record.
<josuah> Not yet on the Docs yet it seems...
<d1b2> <VA3TEC-Mikek-14362> can ChatGPT help? ๐Ÿ™‚
<d1b2> <VA3TEC-Mikek-14362> jsu a joke
<josuah> VA3TEC-Mikek-14362: maybe if it could reliably give better insight than confusion, it could, it might boil down to "reliably"
<josuah> bentomo: bentomo: everything related to memory_map are there to generate a memory map for documentation following how the bus will latter be configured IIRC.
<josuah> so you may ignore it...
<d1b2> <VA3TEC-Mikek-14362> The guys over at Litex and Zealous FPGA playing with it, they said that it worked way better than they thought!! it actually impressed them, of the output. But I do agree, it may not get everything right, i can lead to confusion.
<d1b2> <VA3TEC-Mikek-14362> I am adding the Deca baord to my version of the repo, is that ok, that I add extra and different boards?
<josuah> bentomo: being ValueCastable ( https://amaranth-lang.org/docs/amaranth/latest/lang.html#value-casting ) they can be turned into actual values: they hold signals
<josuah> bentomo: they are built by giving them a "layout" as you can see here https://github.com/amaranth-lang/amaranth/blob/main/amaranth/hdl/rec.py#L115
<Sarayan> records are on the way out to be replaced by something better defined semantically
<josuah> bentomo: here is an example defining a custom (not from amaranth-soc) wishbone bus Record: https://github.com/minerva-cpu/minerva/blob/main/minerva/wishbone.py#L16
<josuah> bentomo: then this table is passed to Record() for creating the equivalent of SystemVerilog interfaces https://github.com/minerva-cpu/minerva/blob/main/minerva/wishbone.py#L33
<josuah> bentomo: and its signals can then be accessed as normal signals https://github.com/minerva-cpu/minerva/blob/main/minerva/wishbone.py#L60
<josuah> Sarayan: I did not know! I finished explaining for completion but maybe it is better to keep an eye on the new interface?
<Sarayan> there's a couple of rfcs about it
<Sarayan> with https://github.com/amaranth-lang/amaranth/pull/697 for its implementation
<d1b2> <VA3TEC-Mikek-14362> FYI, OK, I have successfully added the arrow_deca.py updated devices to the amaranth-boards file, audio, i2c, etc. etc. just compiled the blinky example and works fine on the Board from amaranth-boards. next is to go through bl0x's tutorials. ๐Ÿ™‚ baby steps...
<bentomo> josuah ah ok so that minerva example was what I think I was looking for. I had been looking at the memory and bus already but that was just a pure memory module. Something I've always wanted to do was make an axi peripheral generator but gives you special properties for individual bits, such as self clearing, read only, etc. CSRs appear to have
<bentomo> most of this but as I went up into records I got lost and couldn't figure out how you actually "instantiate" it to generate synthesizable verilog. Thank you for pointing out that example!
<bentomo> My hope is that I can build modules in individual python files but each module has the test bench and verification built in. Along with appropriate doc strings so documentation generates from each piece. I'd like to REALLY flex the reusability of python and pitch verilog/vhdl out the window.
<josuah> bentomo: glad it helped! I'd keep an eye on https://github.com/amaranth-lang/amaranth/issues/693 which could come to replace it in the future
<josuah> oh, so it was merged last month, I can use it already then!
<josuah> bentomo: given how Amaranth is plain python, nothing prevents to have a 10k-line project instead of a hundread of 100-line files
<josuah> by that I mean it is possible to split the code arbitrarily, and embed the testbench, simulation, synthesis... as fit
<josuah> bentomo: the RFCs are actually very good documentation
<bentomo> Ah ok, that's a good place to check. I do wonder if there's a place to "hang out" and see what people are doing with amaranth. The RFCs look good. I only just barely know how to use irc. lol I was using Rober Baruchs excellent github guide to start with but as well as it's written it's still a little limited on examples.
<d1b2> <VA3TEC-Mikek-14362> i was using them too!!!
<d1b2> <VA3TEC-Mikek-14362> Here is good! ๐Ÿ™‚
<d1b2> <VA3TEC-Mikek-14362> I had a really quick Question, please forgive me for my inexperience, but for this CPU, after you create the minerva core, how do you compile code for it? using the Risc32-linux-gnu-gcc-XX compiler, But how it know about which instruction set to use? I see that's it's RV32IM. do you have to specify the specific GCC compiler? (Any info would be great! ) Thanks! MikeK
FireFly has quit [*.net *.split]
DX-MON| has quit [*.net *.split]
DX-MON has joined #amaranth-lang
FireFly has joined #amaranth-lang
FireFly has joined #amaranth-lang
FireFly has quit [Changing host]
<d1b2> <VA3TEC-Mikek-14362> Hi bl0x, I found an error in your code in section 03_blink_from_rom. You have the LEDs as LED0, and LED1, and the rest LED1. I quickly changed it. and it seemed to work. your blink.py file. I found a few small errrors in other parts of the code. I also added the DECA board that I am working on did you want me to add that too? How did you want me to pass up the fixes? By a Pull request? Anyway it's up to you....
nak has quit [Quit: Bye]
FireFly has quit [Quit: Leaving]
FireFly has joined #amaranth-lang
<josuah> VA3TEC-Mikek-14362: I think that there are -m flags for specifying which exact arch of RISC-V you can use: `-march=rv32imac`
<josuah> The above is what worked for me for GD32VF103 for instance (from GigaDevices)
<Sarayan> bad choice, that arch won't work with minerva
<josuah> oh wait that was for Clang even!
<josuah> Sarayan: yes, and wrong compiler too!
<Sarayan> -target riscv32 -march=rv32im is what I use for clang
<Sarayan> avoid the 'c', minerva does not do compressed instructions (aka riscv's thumb)
jesopo has joined #amaranth-lang
jesopo is now known as jess
<josuah> thank you
<d1b2> <VA3TEC-Mikek-14362> Thanks guys/gals!
pie_ has quit []
pie_ has joined #amaranth-lang