peeps[zen] has quit [Quit: Connection reset by peep]
peepsalot has joined #amaranth-lang
pie_ has quit [Remote host closed the connection]
leptonix has quit [Remote host closed the connection]
leptonix has joined #amaranth-lang
bl0x has joined #amaranth-lang
bl0x_ has quit [Ping timeout: 248 seconds]
pie_ has joined #amaranth-lang
cr1901_ has joined #amaranth-lang
lf has quit [*.net *.split]
balrog has quit [*.net *.split]
Degi has quit [*.net *.split]
cr1901 has quit [*.net *.split]
lf has joined #amaranth-lang
Degi has joined #amaranth-lang
balrog has joined #amaranth-lang
balrog has quit [Max SendQ exceeded]
balrog has joined #amaranth-lang
XgF has quit [Remote host closed the connection]
XgF has joined #amaranth-lang
Degi has quit [Ping timeout: 248 seconds]
Degi has joined #amaranth-lang
jeremyh_ has joined #amaranth-lang
pip[m] has quit [Quit: Client limit exceeded: 20000]
jeremyh_ has quit [Quit: Client closed]
mikolajw has quit [Quit: Bridge terminating on SIGTERM]
robtaylor has quit [Quit: Bridge terminating on SIGTERM]
whitequark has quit [Quit: Bridge terminating on SIGTERM]
pepijndevos[m] has quit [Quit: Bridge terminating on SIGTERM]
cesar has quit [Quit: Bridge terminating on SIGTERM]
jfng[m] has quit [Quit: Bridge terminating on SIGTERM]
adamgreig[m] has quit [Quit: Bridge terminating on SIGTERM]
antoinevg[m] has quit [Quit: Bridge terminating on SIGTERM]
xiretza[m] has quit [Quit: Bridge terminating on SIGTERM]
playback2396[m] has quit [Quit: Bridge terminating on SIGTERM]
NullYang[m] has quit [Quit: Bridge terminating on SIGTERM]
Chips4MakersakaS has quit [Quit: Bridge terminating on SIGTERM]
DaKnig has quit [Quit: Bridge terminating on SIGTERM]
koschei[m] has quit [Quit: Bridge terminating on SIGTERM]
pip[m] has joined #amaranth-lang
cesar has joined #amaranth-lang
xiretza[m] has joined #amaranth-lang
whitequark has joined #amaranth-lang
NullYang[m] has joined #amaranth-lang
playback2396[m] has joined #amaranth-lang
robtaylor has joined #amaranth-lang
pepijndevos[m] has joined #amaranth-lang
mikolajw has joined #amaranth-lang
koschei[m] has joined #amaranth-lang
jfng[m] has joined #amaranth-lang
adamgreig[m] has joined #amaranth-lang
antoinevg[m] has joined #amaranth-lang
Chips4MakersakaS has joined #amaranth-lang
DaKnig has joined #amaranth-lang
pip[m] has quit [Ping timeout: 248 seconds]
DaKnig has quit [Ping timeout: 260 seconds]
koschei[m] has quit [Ping timeout: 246 seconds]
robtaylor has quit [Ping timeout: 246 seconds]
Chips4MakersakaS has quit [Ping timeout: 248 seconds]
adamgreig[m] has quit [Ping timeout: 252 seconds]
antoinevg[m] has quit [Ping timeout: 252 seconds]
whitequark has quit [Ping timeout: 246 seconds]
jfng[m] has quit [Ping timeout: 252 seconds]
NullYang[m] has quit [Ping timeout: 252 seconds]
playback2396[m] has quit [Ping timeout: 252 seconds]
xiretza[m] has quit [Ping timeout: 252 seconds]
pepijndevos[m] has quit [Ping timeout: 252 seconds]
cesar has quit [Ping timeout: 252 seconds]
mikolajw has quit [Ping timeout: 256 seconds]
ydnatag has joined #amaranth-lang
DaKnig has joined #amaranth-lang
adamgreig[m] has joined #amaranth-lang
antoinevg[m] has joined #amaranth-lang
Chips4MakersakaS has joined #amaranth-lang
koschei[m] has joined #amaranth-lang
robtaylor has joined #amaranth-lang
whitequark has joined #amaranth-lang
NullYang[m] has joined #amaranth-lang
jfng[m] has joined #amaranth-lang
cesar has joined #amaranth-lang
mikolajw has joined #amaranth-lang
xiretza[m] has joined #amaranth-lang
pepijndevos[m] has joined #amaranth-lang
playback2396[m] has joined #amaranth-lang
pip[m] has joined #amaranth-lang
<ydnatag>
Hi! Many of my designs stop working two days ago, it looks like a problem with the verilog code related to FSMs. The verilog is synthetized and pnr without timming issues but the binary doesn't work in hardware. Rolling back to the previous amaranth-yosys it works. Should i open an issue to track this? I can't share the source code to replicate the
<ydnatag>
Ok, I will open an issue with all the information. I will try first to recreate the issue with a code I can share
<whitequark>
thanks!
ydnatag50 has quit [Quit: Client closed]
cr1901_ is now known as cr1901
<ydnatag>
I was playing with the issue. I found that yosys changes the verilog syntax if a fsm has power of 2 states and more than 8.
<ydnatag>
It looks like that synplify pro doesn't like do_switch syntax
<ydnatag>
It is not an amaranth/yosys issue, verilog is correct.
<ydnatag>
Do you know a way I can workaround this?
<ydnatag>
I found the issue. synplify does not support initial blocks.
<ydnatag>
Within an initial block, only Verilog force statements and memory $readmemh/$readmemb initialization statements are recognized, and all other content is ignored. Simulation mismatch may occur
<ydnatag>
I resolved that for blockrams with a regular expression and exporting memdumps to files, but i don't like that. Can be possible for yosys to don't emit initial blocks?
<gatecat>
I am slightly surprised that Yosys generates an initial block for anything other than a memory or initialised DFF
<gatecat>
is the problem relating to the latter, or is it that it's generating an initial block for some other reason?
<ydnatag>
You would see that the output syntax depends on the number of states of the FSM
peepsalot has quit [Ping timeout: 248 seconds]
<koschei[m]>
What would y’all say is the most efficient way to clear all of the items out of a synchronous FIFO? I’m imagining I might hook it up to a ClockDomain that resets on the parent module’s reset or the fifo clear signal, but I can’t quite picture how that code would look for some reason
pbsds has quit [Quit: Ping timeout (120 seconds)]
pbsds has joined #amaranth-lang
<vup>
koschei[m]: are you looking for ResetInserter?
<koschei[m]>
vup: Nice, I think that’s what I’m looking for!