azonenberg changed the topic of ##openfpga to: Open source tools for FPGAs, CPLDs, etc. Silicon RE, bitfile RE, synthesis, place-and-route, and JTAG are all on topic. Channel logs: https://libera.irclog.whitequark.org/~h~openfpga
GenTooMan has quit [Ping timeout: 255 seconds]
GenTooMan has joined ##openfpga
GenTooMan has quit [Ping timeout: 255 seconds]
GenTooMan has joined ##openfpga
egg|cell|egg has joined ##openfpga
Degi_ has joined ##openfpga
Degi has quit [Ping timeout: 255 seconds]
Degi_ is now known as Degi
specing has quit [Killed (NickServ (GHOST command used by specing_))]
specing_ has joined ##openfpga
specing_ is now known as specing
tokomak has quit [Ping timeout: 255 seconds]
ecs has joined ##openfpga
<tnt>
Anybody see anything wrong with that verilog snippet https://pastebin.com/nWiXDS1d that would cause undefined behavior / mis-synthesis ? Works fine in yosys and synplify and iverilog but LSE output is wrong.
mewt has quit [Read error: Connection reset by peer]
tokomak has joined ##openfpga
Lord_Nightmare2 has joined ##openfpga
iximeow_ has joined ##openfpga
Lord_Nightmare has quit [*.net *.split]
iximeow has quit [*.net *.split]
kbeckmann has quit [*.net *.split]
Lord_Nightmare2 is now known as Lord_Nightmare
kbeckmann has joined ##openfpga
mewt has joined ##openfpga
kristianpaul has quit [Quit: WeeChat 2.3]
specing has quit [Killed (NickServ (GHOST command used by specing_))]
specing_ has joined ##openfpga
specing_ is now known as specing
<jevinskie[m]>
No looks fine to me. Granted I’m a VHDL guy but even that is so simple it should work. Have you tried synthesizing just that as a module and looking at the fitter RTL?
<tnt>
jevinskie[m]: yeah, I made a test case. LSE just screws it up. The post synth verilog doesn't behave in simulation like the rtl does.
<tnt>
So pretty sure it's a LSE bug.
Maylay has quit [Quit: Pipe Terminated]
Maylay has joined ##openfpga
kristianpaul has joined ##openfpga
kristianpaul has joined ##openfpga
tokomak has quit [Ping timeout: 255 seconds]
<ZipCPU>
tnt: Yeah, I see a problem: How is samp_sync set? You haven't given an initial value to samp_cnt, so if it doesn't get an initial value somehow, it'll never transition from 'xxx