<ZipCPU>
The problem is ... without the clk2fflogic, yosys may or may not handle the asynchronous reset's properly.
<ZipCPU>
clk2fflogic separates the clock within the design from the SMT timestep. The clock becomes a separate input that may need to be assumed to be toggling.
<mithro>
Okay, this definitely has an async reset
<ZipCPU>
It helps with async resets.
<ZipCPU>
That said, Clifford recently fixed SymbiYosys up for me so it didn't need clk2fflogic in order to implement async resets.
<ZipCPU>
Not really sure what he did different. (That was this week or last.)
<tpb>
Title: Create an ice40 test for the packing of different types of flip flops together · Issue #144 · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)
* ZipCPU
takes a peek
<ZipCPU>
How many LUT's are in your comparison? 1? 8? Many more?
<mithro>
ZipCPU: Hrm? In this test we don't really care about the LUTs here... Just having enough flip flops to test packing is working...
<ZipCPU>
Ahh, sorry ... wrong term ... thanks for the correction.
<mithro>
ZipCPU: The packer uses connectivity to pack together -- so, interested in different groupings and making sure that the packing is doing the right thing
<mithro>
Some FF types can be packed together into a tile, some can't, etc
<mithro>
ZipCPU: But too lazy to write all the tests by hand :-P
<ZipCPU>
:D
altenius has quit [Ping timeout: 264 seconds]
<mithro>
So it seems that yosys can't import it's own simlib.v? ERROR: System task `$stop' outside initial block is unsupported at symbiflow-arch-defs/env/conda/share/yosys/simlib.v:1282.
<mithro>
Seems like I need something like -DSIMLIB_NOCHECKS ?
pie_ has quit [Ping timeout: 240 seconds]
pie_ has joined #yosys
<mithro>
ZipCPU: Have you used yosys's "sim" command?
<ZipCPU>
No, I haven't. I love what I can do with Verilator way too much.
<ZipCPU>
Let me take a peek in the morning, it's getting quite late here.
<mithro>
ZipCPU: No hurry, the iverilog version works okay
promach has quit [Quit: WeeChat 2.3-dev]
X-Scale has quit [Ping timeout: 240 seconds]
[X-Scale] has joined #yosys
[X-Scale] is now known as X-Scale
ar3itrary has quit [Read error: Connection reset by peer]
ar3itrary has joined #yosys
m_w has joined #yosys
leviathan has joined #yosys
pie__ has joined #yosys
pie_ has quit [Ping timeout: 240 seconds]
ralu has quit [Ping timeout: 276 seconds]
kraiskil has joined #yosys
dys has quit [Ping timeout: 240 seconds]
seldridge has joined #yosys
promach has joined #yosys
kraiskil has quit [Read error: Connection reset by peer]
GuzTech has joined #yosys
m_w has quit [Quit: Leaving]
xerpi has joined #yosys
promach has quit [Quit: WeeChat 2.3-dev]
cr1901_modern1 has quit [Quit: Leaving.]
kraiskil has joined #yosys
seldridge has quit [Ping timeout: 268 seconds]
promach has joined #yosys
mirage335 has quit [Ping timeout: 276 seconds]
promach has quit [Quit: WeeChat 2.3-dev]
cr1901_modern has joined #yosys
promach has joined #yosys
kraiskil has quit [Read error: Connection reset by peer]
mirage335 has joined #yosys
SpaceCoaster has quit [Read error: Connection reset by peer]
SpaceCoaster has joined #yosys
fsasm has joined #yosys
[X-Scale] has joined #yosys
X-Scale has quit [Ping timeout: 240 seconds]
[X-Scale] is now known as X-Scale
fsasm has quit [Quit: Leaving]
fsasm has joined #yosys
kraiskil has joined #yosys
pie__ has quit [Ping timeout: 260 seconds]
kraiskil has quit [Ping timeout: 240 seconds]
_whitelogger has joined #yosys
xerpi has quit [Quit: Leaving]
pie__ has joined #yosys
ralu has joined #yosys
kraiskil has joined #yosys
pie__ has quit [Ping timeout: 248 seconds]
<ZipCPU>
mithro: Looking at the iverilog Makefile commands you cited last night. I'm curious ... how long does iverilog take to do these simulations for you?
pie_ has joined #yosys
m_t has joined #yosys
leviathan has quit [Read error: Connection reset by peer]
leviathan has joined #yosys
dxld has quit [Quit: Bye]
dxld has joined #yosys
kraiskil has quit [Ping timeout: 265 seconds]
kraiskil has joined #yosys
lutsabound has joined #yosys
promach_ has joined #yosys
xerpi has joined #yosys
emeb has joined #yosys
maikmerten has joined #yosys
cr1901_modern has quit [Ping timeout: 265 seconds]
cr1901_modern has joined #yosys
m_w has joined #yosys
cr1901_modern has quit [Ping timeout: 276 seconds]
cr1901_modern has joined #yosys
GuzTech has quit [Quit: Leaving]
<maikmerten>
mattvenn, some more work on the HX8K breakout board SRAM/PMOD wing - now with buttons ;-)
<mithro>
ZipCPU: A couple of seconds at the moment
lutsabound has quit [Quit: Connection closed for inactivity]
fsasm has quit [Ping timeout: 256 seconds]
AlexDani` has joined #yosys
AlexDani` has quit [Changing host]
AlexDani` has joined #yosys
AlexDaniel has quit [Disconnected by services]
AlexDani` is now known as AlexDaniel
xerpi has quit [Quit: Leaving]
dys has joined #yosys
m_w has quit [Ping timeout: 265 seconds]
promach_ has quit [Ping timeout: 264 seconds]
m_w has joined #yosys
digshadow has quit [Quit: Leaving.]
seldridge has joined #yosys
seldridge has quit [Ping timeout: 248 seconds]
<ZipCPU>
mithro: Then it doesn't sound like you need a redesign at all, right?
<mithro>
ZipCPU: Nope - don't need a redesign -- just want to add support for verilator as an alternative to iverilog -- probably be useful for faster simulation when we have bigger designs....
lutsabound has joined #yosys
<mithro>
ZipCPU: IE Full SoCs
<ZipCPU>
Heheh ... Full "post-synthesis" SoC's? That'd be ... a fun challenge. I know I use Verilator on full SoC's often enough myself, just never post synthesis.
seldridge has joined #yosys
emeb has quit [Ping timeout: 248 seconds]
leviathan has quit [Read error: Connection reset by peer]
<mithro>
ZipCPU: sorry, post pnr - not post synthesis
<ZipCPU>
From a Verilator standpoint, there wouldn't be any difference.
<ZipCPU>
In both examples, you lose one of the great benefits of Verilator--being able to do word ops. The other great benefit of Verilator is being able to operate on 0 and 1, rather than 0, 1, z, and x.
pie_ has quit [Remote host closed the connection]
pie_ has joined #yosys
seldridge has quit [Ping timeout: 240 seconds]
lutsabound has quit [Quit: Connection closed for inactivity]