whitequark[cis] changed the topic of #amaranth-lang to: Amaranth hardware definition language · weekly meetings: Amaranth each Mon 1700 UTC, Amaranth SoC each Fri 1700 UTC · play https://amaranth-lang.org/play/ · code https://github.com/amaranth-lang · logs https://libera.irclog.whitequark.org/amaranth-lang · Matrix #amaranth-lang:matrix.org
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 246 seconds]
FFY00_ has joined #amaranth-lang
FFY00 has quit [Ping timeout: 276 seconds]
buganini has joined #amaranth-lang
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 272 seconds]
Degi_ is now known as Degi
norineko has quit [Remote host closed the connection]
norineko has joined #amaranth-lang
<_whitenotifier-3> [amaranth] jeanthom commented on pull request #1501: vendor._gowin: fix clock name quotes for Gowin IDE - https://github.com/amaranth-lang/amaranth/pull/1501#issuecomment-2325870472
<_whitenotifier-3> [amaranth] whitequark commented on pull request #1501: vendor._gowin: fix clock name quotes for Gowin IDE - https://github.com/amaranth-lang/amaranth/pull/1501#issuecomment-2325909805
<_whitenotifier-3> [amaranth] whitequark commented on pull request #1501: vendor._gowin: fix clock name quotes for Gowin IDE - https://github.com/amaranth-lang/amaranth/pull/1501#issuecomment-2325910793
sensille has left #amaranth-lang [#amaranth-lang]
<_whitenotifier-3> [amaranth] whitequark commented on pull request #1501: vendor._gowin: fix clock name quotes for Gowin IDE - https://github.com/amaranth-lang/amaranth/pull/1501#issuecomment-2326170183
<_whitenotifier-3> [amaranth] whitequark reviewed pull request #1501 commit - https://github.com/amaranth-lang/amaranth/pull/1501#discussion_r1741825829
<_whitenotifier-3> [yosys] whitequark closed issue #37: Stack overflow on moderately deep ternary expression - https://github.com/YoWASP/yosys/issues/37
<_whitenotifier-3> [yosys] whitequark created branch develop-0.45 - https://github.com/YoWASP/yosys
<_whitenotifier-3> [yosys] whitequark created branch release-0.45 - https://github.com/YoWASP/yosys
buganini has quit [Ping timeout: 248 seconds]
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 260 seconds]
jjsuperpower__ has quit [Ping timeout: 252 seconds]
jorolf has joined #amaranth-lang
<_whitenotifier-3> [amaranth] jeanthom reviewed pull request #1501 commit - https://github.com/amaranth-lang/amaranth/pull/1501#discussion_r1742067957
<_whitenotifier-3> [amaranth] whitequark reviewed pull request #1501 commit - https://github.com/amaranth-lang/amaranth/pull/1501#discussion_r1742072735
<jorolf> Hey! I'm currently trying to use Amaranth in an existing (VHDL) design. However I've run into a problem with signature port names. The default "namespace" separator is a double underscore, right? Because afaic VHDL doesn't allow double underscores in identifiers which means I can't simply integrate the generated component into my project?
<_whitenotifier-3> [amaranth] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-1501-92439018a4d1f2ad281bc07984e1128ca15b979b - https://github.com/amaranth-lang/amaranth
<jorolf> So for example if I have a bus with a data port, the generated identifier would be "bus__data"
<whitequark[cis]> VHDL doesn't?
<whitequark[cis]> that is news to me; I would have probably strongly considered a different separator if I knew that was the case
<whitequark[cis]> can you escape an identifier somehow?
<jorolf> I'm not sure
Wanda[cis] has joined #amaranth-lang
<Wanda[cis]> have you tried \bus__data\ ?
<jorolf> Hmm, not yet
<Wanda[cis]> but... yeah, VHDL only allows underscores surrounded by digits/letters in basic identifiers
<Wanda[cis]> (leading/trailing underscores aren't allowed either)
<jorolf> I've tried to import the component in a Vivado Blockdesign
<Wanda[cis]> as for "escaping" uhhh
<jorolf> Which tried to generate a vhdl wrapper that didn't compile because of that problem
<Wanda[cis]> there's no escapes in basic identifiers; you can, however, use extended identifiers instead which are written between two backslashes
<Wanda[cis]> they are kinda batshit.
<Wanda[cis]> they are considered distinct from every basic identifier, and are case-sensitive (as opposed to case-insensitive basic identifiers)
<_whitenotifier-3> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/92439018a4d1...0f274291e7e3
<_whitenotifier-3> [amaranth-lang/amaranth] Jean THOMAS 0f27429 - vendor._gowin: fix clock name quotes for Gowin IDE
<_whitenotifier-3> [amaranth] whitequark closed pull request #1501: vendor._gowin: fix clock name quotes for Gowin IDE - https://github.com/amaranth-lang/amaranth/pull/1501
<_whitenotifier-3> [amaranth] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-1501-92439018a4d1f2ad281bc07984e1128ca15b979b - https://github.com/amaranth-lang/amaranth
<Wanda[cis]> I have honestly no idea how it works for verilog-vhdl interop
<_whitenotifier-3> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-32/±35] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/81845035a27d...64e1d3caadc4
<_whitenotifier-3> [amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 64e1d3c - Deploying to main from @ amaranth-lang/amaranth@0f274291e7e3909a2e3f3783fdecd2c5fd565841 🚀
<jorolf> So a quick google search says that it might work with extended identifiers
buganini has joined #amaranth-lang
<jorolf> But our project is a Vivado Block Design which auto generates wrapper code around the verilog code
<Wanda[cis]> ... ah yeah, that's a problem
<jorolf> Which (apparently) is not smart enough to use extended identifiers in that case
buganini has quit [Ping timeout: 252 seconds]
<jorolf> Is there a way to change the generated names? e.g. by removing the prefix or manually setting the names?
balrog has quit [Ping timeout: 245 seconds]
balrog has joined #amaranth-lang
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 244 seconds]
jorolf has quit [Quit: Leaving]
buganini has joined #amaranth-lang
buganini has quit [Read error: Connection reset by peer]
mabl[m] has joined #amaranth-lang
<mabl[m]> You can rename the port, by attaching a specific porty to the signal
<mabl[m]> Though I,m not sure that renames the wrapper name. I am using autogenerated verilog wrappers
<mabl[m]> I'm currently traveling. Will post an example tomorrow.
<mabl[m]> That, at least, allows renaming the ugly port names on the block diagram
peepsalot has quit [Remote host closed the connection]
peepsalot has joined #amaranth-lang
FFY00_ has quit [Remote host closed the connection]
FFY00 has joined #amaranth-lang
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #amaranth-lang
Degi has quit [Ping timeout: 255 seconds]
Degi has joined #amaranth-lang
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 255 seconds]
d_olex has quit [Remote host closed the connection]
d_olex has joined #amaranth-lang
buganini has joined #amaranth-lang
Guest70 has joined #amaranth-lang
Guest70 has quit [Client Quit]
le-million[m] has joined #amaranth-lang
<le-million[m]> is there a way to convert designs written in amaranth to verilog?