<awygle>
(from the tests, i got a different symbol from trying to run a real thing)
GuzTech has joined #yosys
<awygle>
hm maybe i should downgrade
<daveshah>
Can you post python --version?
<awygle>
2.7.14 and 3.6.3
<awygle>
so that's probably not idea
<awygle>
l
<daveshah>
2.7.14 won't work
<daveshah>
3.6.3 should
<daveshah>
But linking with 3.5 seems wrong then
<awygle>
yeah idk what i was doing here
<daveshah>
Can you put 3.6 after Python Libs?
<daveshah>
*PythonLibs?
<daveshah>
And possibly PythonInterp
<daveshah>
My best guess is that the default Python on Ubuntu is 2.7, and that breaks stuff
<daveshah>
Didn't realise that was still the case, living inside an Arch bubble...
<awygle>
hm so it's not finding the 3.6 lib or interp for some reason
<awygle>
they're there, but libpython3.6 is libpython3.6m for some reason, idk if that matters
<daveshah>
Maybe you need libpython3.6-dev?
<daveshah>
Hmm, not sure how that ended up bold
<awygle>
i have that
<awygle>
derp. i had to nuke my cmake stuff apparently.
<daveshah>
And python3-dev?
AlexDaniel has quit [Ping timeout: 240 seconds]
<daveshah>
Ah, that makes sense
<awygle>
well only kind of lol. it was picking up needing 3.6 but somehow not realizing that meant it had to go look again.
<daveshah>
Yep, it caches dependency checks
<daveshah>
Now I see why mithro is using conda in symbiflow-arch-defs
<awygle>
btw are you building from a build/ directory with cmake ../ or in libtrellis?
<daveshah>
TBH I'm just building in libtrellis
<daveshah>
But could be worth adding a command to copy the library at the end so out of tree builds can be done too
<awygle>
oh this looks like fun. "dynamic module does not define init function".
<daveshah>
What PyInit is it looking for?
<mithro>
daveshah: lol :-P
<awygle>
"initpytrellis"
<daveshah>
Ah, stupid me
<daveshah>
Change python in run_all.sh to python3
<awygle>
ahh yes
<awygle>
okay passed! sweeeeet
<daveshah>
Sweeeet
<daveshah>
I think 90% of the issues were Python 2/3 related, and should be fairly fixable
<daveshah>
But the CMake will now need a bit of work to not require one exact version
<awygle>
yup
<awygle>
also, devices.json should be in database/ according to the fuzzer script
<daveshah>
Database should be a clone of prjtrellis-db, as in prjxray
<awygle>
ah
<daveshah>
There will be scripts to do that, and also create it from scratch
<daveshah>
You will also need to create skeleton database files using create_empty_bitdbs
GuzTech has quit [Ping timeout: 260 seconds]
anindita has joined #yosys
<anindita>
Hi, we are facing an issue with Yosys synthesis. We have a 4-bits state register. After synthesis, somehow we get 12-bits state register. On simulating gate-level synthesized file, we also see that this register does get reset to binary 12'b0 but to 12'b1. Any clues to what may be happening? Thanks.
<daveshah>
anindita: if you have a fsm pass in your script, then yosys may recode the FSM to one-hot
<daveshah>
Which is what is happening here
<daveshah>
Either pass -norecode to fsm, or set fsm_encoding to binary
proteusguy has quit [Remote host closed the connection]
dys has quit [Ping timeout: 240 seconds]
GuzTech has joined #yosys
emeb_mac has quit [Ping timeout: 265 seconds]
proteusguy has joined #yosys
kraiskil has joined #yosys
dmin7 has joined #yosys
jwhitmore has joined #yosys
proteusguy has quit [Remote host closed the connection]
proteusguy has joined #yosys
proteusguy has quit [Remote host closed the connection]
proteusguy has joined #yosys
proteusguy has quit [Remote host closed the connection]
proteusguy has joined #yosys
m_w has joined #yosys
jwhitmore has quit [Ping timeout: 260 seconds]
m_w has quit [Ping timeout: 255 seconds]
promach_ has quit [Quit: WeeChat 2.1-dev]
fsasm has joined #yosys
sklv has quit [Remote host closed the connection]
sklv has joined #yosys
X-Scale has joined #yosys
leviathan has joined #yosys
leviathan has quit [Write error: Connection reset by peer]