<mangelis>
is there some way to debug (other than running the actual bitstream on device) what yosys/nextpnr generates?
<mangelis>
i have a case where things work weirdly on device, but seem to be okay when simulated on verilator
<sf-slack1>
<mkurc> What FPGA are you targeting ?
<mangelis>
ECP5
<sf-slack1>
<mkurc> For ECP5 I can't tell. But for XC7 we have a tool called fasm2bels that can basically decode a bitstream to verilog.
<daveshah>
No, there isn't anything like this for ECP5
<mangelis>
i wonder write_verilog command would work on yosys
<daveshah>
Yes, that tests the Yosys side at least
<sf-slack1>
<mkurc> Provided that you have proper simulation models for cells that are used by the synthesized design.
<sf-slack1>
<mkurc> Most of them should be part of Yosys cells_sim.v library file for ECP5.
rvalles_ has quit [Ping timeout: 248 seconds]
rvalles_ has joined #symbiflow
_whitelogger has joined #symbiflow
Vonter has quit [Ping timeout: 265 seconds]
Vonter has joined #symbiflow
tiwEllien has joined #symbiflow
_whitelogger has joined #symbiflow
<mangelis>
ah does write_verilog also output code that implements the luts too?
<ZirconiumX>
If you run it after synth_ecp5, yes
<mangelis>
are there any good netlist viewers for linux?
<ZirconiumX>
Depends what you mean by netlist viewing. You can use `show` to dump a massive GraphViz plot
<abeljj[m]>
Check out opencircuitdesign by TimEdwards
<abeljj[m]>
mangelis:
<abeljj[m]>
*
<mangelis>
just wondering about those write_ commands that write netlists that what should be used to view those files
Bertl_zZ is now known as Bertl
clacktronics has joined #symbiflow
Bertl is now known as Bertl_oO
celadon has quit [Ping timeout: 272 seconds]
celadon has joined #symbiflow
citypw has quit [Ping timeout: 260 seconds]
tmahlburg has joined #symbiflow
tmahlburg has left #symbiflow [#symbiflow]
tiwEllien has quit [Ping timeout: 268 seconds]
tiwEllien has joined #symbiflow
clacktronics has quit [Read error: Connection reset by peer]
clacktronics has joined #symbiflow
tiwEllien has quit [Remote host closed the connection]
OmniMancer has quit [Quit: Leaving.]
OmniMancer has joined #symbiflow
OmniMancer has quit [Client Quit]
Bertl_oO is now known as Bertl
tiwEllien has joined #symbiflow
tiwEllien has quit [Ping timeout: 268 seconds]
_whitelogger has joined #symbiflow
tiwEllien has joined #symbiflow
Bertl is now known as Bertl_oO
<mangelis>
okay, since write_verilog didn't show anything suspicious, i found the issue was actually in the other connected device. thanks for the tips!
kgugala has quit [Remote host closed the connection]
freemint has joined #symbiflow
freemint has quit [Ping timeout: 260 seconds]
freemint has joined #symbiflow
freemint has quit [Remote host closed the connection]