clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
pie___ has quit [Ping timeout: 264 seconds]
emeb has quit [Ping timeout: 245 seconds]
pie_ has joined #yosys
pie__ has joined #yosys
pie__ has quit [Client Quit]
emeb has joined #yosys
X-Scale has quit [Ping timeout: 256 seconds]
X-Scale has joined #yosys
lutsabound has quit [Quit: Connection closed for inactivity]
emeb has quit [Quit: Leaving.]
emeb_mac has joined #yosys
m_t has quit [Quit: Leaving]
luismarques has quit [Quit: luismarques]
promach_ has quit [Quit: WeeChat 2.1]
luismarques has joined #yosys
luismarques has quit [Client Quit]
kristian1aul has joined #yosys
mobius_ has joined #yosys
promach has quit [Quit: WeeChat 2.1-dev]
X-Scale has quit [Ping timeout: 240 seconds]
pie__ has joined #yosys
lansiir has joined #yosys
ravenexp has joined #yosys
daddesio has quit [Ping timeout: 240 seconds]
Kooda1 has quit [Ping timeout: 240 seconds]
proteus-guy has quit [Ping timeout: 240 seconds]
ravenexp has quit [Ping timeout: 240 seconds]
kristianpaul has quit [Ping timeout: 260 seconds]
mobius has quit [Ping timeout: 260 seconds]
grummel has quit [Ping timeout: 260 seconds]
digshadow has quit [Ping timeout: 260 seconds]
Max-P has quit [Ping timeout: 260 seconds]
pie_ has quit [Ping timeout: 260 seconds]
oldtopman has quit [Ping timeout: 260 seconds]
nurelin has quit [Ping timeout: 260 seconds]
digshadow has joined #yosys
lansiir has quit [Changing host]
lansiir has joined #yosys
nurelin has joined #yosys
Kooda1 has joined #yosys
Kooda1 has quit [*.net *.split]
ravenexp has quit [*.net *.split]
lansiir has quit [*.net *.split]
grummel has joined #yosys
Kooda1 has joined #yosys
ravenexp has joined #yosys
proteus-guy has joined #yosys
lansiir has joined #yosys
lansiir has quit [Max SendQ exceeded]
lansiir has joined #yosys
lansiir has quit [Changing host]
lansiir has joined #yosys
Max-P has joined #yosys
digshadow has quit [Ping timeout: 240 seconds]
pie__ has quit [Ping timeout: 244 seconds]
promach has joined #yosys
Max-P has quit [Quit: SIGSEGV]
Max-P has joined #yosys
digshadow has joined #yosys
dys has joined #yosys
emeb_mac has quit [Quit: Leaving.]
dys has quit [Ping timeout: 240 seconds]
X-Scale has joined #yosys
ferrim has joined #yosys
jwhitmore has joined #yosys
luismarques has joined #yosys
q3k has joined #yosys
fsasm has joined #yosys
jcll has joined #yosys
<jcll> hi ! Newbie here. Can I find a free ASIC oriented techfile ?
jwhitmore has quit [Ping timeout: 260 seconds]
<jcll> sorry. Just found the info in the doc. Thx
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
m_t has joined #yosys
indy has joined #yosys
jwhitmore has joined #yosys
thehurley3[m] has joined #yosys
AlexDaniel has quit [Ping timeout: 240 seconds]
mattvenn has quit [Quit: Lost terminal]
<promach> Why am I having error "SBY 20:33:19 [async_fifo] base: ERROR: No such command: read (type 'help' for a command overview)" for this line "read -formal async_fifo.sv" ?
<promach> I am already using latest symbiyosys git
jwhitmore has quit [Remote host closed the connection]
<daveshah> promach: you need the latest Yosys git for that too
<daveshah> it was only added to Yosys a couple of weeks ago
<promach> oh okay
pippo has joined #yosys
<promach> daveshah: it seems like https://github.com/YosysHQ/yosys#setup does not work with Ubuntu 18.04
<tpb> Title: GitHub - YosysHQ/yosys: Yosys Open SYnthesis Suite (at github.com)
<promach> I am using kernel 4.17.4
<promach> ./kernel/yosys.h:76:12: fatal error: tcl.h: No such file or directory
<daveshah> promach: are you sure `tcl-dev` is properly installed?
<promach> yes
<daveshah> looking at the package contents it seemed /usr/include/tcl.h got moved to just /usr/include/tcl in newer ubuntus
<daveshah> I don't use Ubuntu personally. Maybe ZipCPU is around, otherwise please open a GitHub issue (but removing the .h in the include directive should be a workaround for now)
<promach> so, I will need to modify yosys.h then
* ZipCPU starts reading backlog
<ZipCPU> promach: Do you have verific installed?
<daveshah> ZipCPU: tldr, Yosys seems not to build in Ubuntu 18.04 because of tcl.h
<promach> no
<ZipCPU> Then yosys can't process system verilog files.
<promach> problem solved
<promach> # include <tcl/tcl.h>
<ZipCPU> That particular capabililty is part of the commercial version.
<promach> daveshah: use # include <tcl/tcl.h>
<ZipCPU> That would be why "read -formal async_fifo.sv" fails.
<promach> ZipCPU: yup
<daveshah> ZipCPU: read works with or without Verific
<daveshah> it will autodetect and select the appropriate backend
<ZipCPU> But SystemVerilog only works with Verific
<promach> I got to go now. anyway, make is building now
<ZipCPU> Sure, there are some supported non-verific pieces, but as a whole SystemVerilog requires Verific
<ZipCPU> Oh, and one more ... I'm running yosys on Ubuntu 18 with no problems.
<promach> [ 99%] Building abc/abc-6df1396
<promach> ERROR: ABC directory is a hg working copy! Remove abc/ and re-run "make".
<promach> sigh
<promach> make failed at the last step
<ZipCPU> That's an easy one
<ZipCPU> Find the abc/ directory (I think it's at yosys/abc) and rm -rf it.
<promach> I need abc
<ZipCPU> Yosys will then re-download abc from the github location, rather then the older mercurial based location
<ZipCPU> The problem is that the location of the abc repository moved.
<promach> ok
<promach> yosys make failed again, sigh. I will start rebuilding it again tomorroew
* promach has to go now
seldridge has joined #yosys
m_t has quit [Quit: Leaving]
fsasm has quit [Remote host closed the connection]
kristian1aul has quit [Quit: Reconnecting]
kristianpaul has joined #yosys
promach_ has joined #yosys
maartenBE has quit [Ping timeout: 264 seconds]
maartenBE has joined #yosys
pippo has quit [Quit: Page closed]
jcll has quit [Quit: Page closed]
seldridge has quit [Ping timeout: 240 seconds]
<promach_> daveshah: both Ubuntu 18.04 and Arch Linux have problem installing yosys from git
<promach_> make[1]: Entering directory '/home/phung/tmp/yaourt-tmp-phung/aur-yosys/src/yosys-yosys-0.7/abc'
<promach_> make[1]: *** No rule to make target 'clean'. Stop.
<promach_> seems like abc has some changes upstream
<daveshah> promach_: I am building Yosys from source (not using AUR) on Arch fine
<promach_> daveshah: you mean you "make && sudo make install" ?
<daveshah> promach_: yeah, just trying with clean ABC now in case of ABC issues
<daveshah> seems OK so far at least
<promach_> ok, but to make things easier for future upgrade, I would email the AUR or ABC author about this. Do you think this would be a better idea ?
<promach_> what do you mean by clean ABC ?
<promach_> daveshah
<daveshah> promach_: I deleted my ABC folder so Yosys cloned it again
<daveshah> but it still built fine
<daveshah> I'd flag this as an AUR issue tbh
<promach_> ok
emeb has joined #yosys
emeb has quit [Ping timeout: 244 seconds]
seldridge has joined #yosys
luismarques has quit [Quit: luismarques]
emeb has joined #yosys
<promach_> daveshah: solved the AUR issue. I used the wrong AUR
<promach_> I used yosys instead of yosys-git
<promach_> For https://github.com/jbush001/NyuziProcessor/blob/master/hardware/core/synchronizer.sv#L38 , why am I having "SBY 0:07:34 [async_fifo] base: ERROR: Parser error in line synchronizer.sv:38: syntax error, unexpected $undefined" ?
<tpb> Title: NyuziProcessor/synchronizer.sv at master · jbush001/NyuziProcessor · GitHub (at github.com)
<promach_> seems like yosys still does not fully support systemverilog
<promach_> I have revert the coding style to verilog
luismarques has joined #yosys
mobius_ is now known as mobius
mobius has quit [Changing host]
mobius has joined #yosys
tmatth has joined #yosys
tmatth has left #yosys [#yosys]
luismarques has quit [Quit: luismarques]
pie_ has joined #yosys
jaafar has joined #yosys
<jaafar> tinyfpga: are you around?
<tinyfpga> jaafar: what’s up?
<jaafar> tinyfpga: it's Jeff from the meetup :)
<jaafar> tinyfpga: didn't know if you saw my email
<tinyfpga> jaafar: i saw it, just hadn’t had a chance to reply yet :)
<jaafar> I know you're busy shipping!
<jaafar> OK good
<jaafar> I was afraid you didn't read that address :)
<tinyfpga> Should finish shipping today, then I’ll be catching up on everything else
<jaafar> Take your time and good luck
<keesj> good luck indeed!
<keesj> I am going to give a presentation at work in a few days on the fpga work I have been doing. Being able to show them something like the floorplan https://knielsen.github.io/ice40_viewer/ice40_viewer.html really helps understanding. Thank you so much for the great work
<tpb> Title: ICE40 layout viewer (at knielsen.github.io)
<keesj> I see this project having a huge impact
<keesj> the Yosys Open SYnthesis Suite
<ZipCPU> O/
digshadow has quit [Quit: Leaving.]
<TD-Linux> oh wow I didn't actually know about that tool. this is way better to explain fpgas than using the xilinx p&r tool. I like how it can show all the spans
<keesj> TD-Linux: to get details you have to zoom in a little https://pbs.twimg.com/media/C28FzIzWgAAzKDY.jpg for example
* knielsen wrote it exactly to understand how his designs actually worked in the fpga, especially wrt. timing
<keesj> wow .. thanks knielsen \o/
<TD-Linux> keesj, yeah I figured that out. also you can make it draw them even zoomed out with the detail slider
<TD-Linux> for c+d, a, ~a does it just recognize that lut pattern?
<knielsen> yeah, there is a bit of logic to recognise common logic functions. I should really add more
<keesj> I am currently looking into blinky
promach_ has quit [Quit: WeeChat 2.1]
<TD-Linux> looks like vga has a lot of ands and nands.
<TD-Linux> I do like just seeing the lut bits though :)
dys has joined #yosys
<keesj> I think I might be trying to get to much in one hour ... Tristan Gingold presentatin at fosdem was also a pretty good 101 https://fosdem.org/2018/schedule/event/cad_fpga_intro/attachments/slides/2136/export/events/attachments/cad_fpga_intro/slides/2136/fpga_design.pdf on the basics (and I was using VHDL in my work hence.. kinda merging different things together)
<keesj> on the blinky example (that is really quite simple) why don't I see a clock or similar going to the buffers? https://i.imgur.com/Lf7OdmY.png is this something implicit?
<knielsen> keesj: the clock is using one of the global nets (I think), and those are not implemented yet
<knielsen> you can see the clock entering in tile (0 8), from there it's routed to a global net and the rest is implicit in current code. The Icestorm docs has the details on how the global nets work
<knielsen> would be nice to see those global nets, though - might be tricky to find a way to draw them without drowning everything else though
digshadow has joined #yosys
<keesj> I don't see anything at (0 8) but I do see something at (0 16) called hwclk.
<knielsen> right, that's the one
<keesj> I think this is great enough to give a good start / idea on how things work. for myself I would like to understand a bit better but the presentation thursday so I don't have much time :P
<keesj> trying to reverse a bit https://i.imgur.com/JNDWTPo.png (but also need to watch football)
AlexDaniel has joined #yosys
<TD-Linux> on the ice40 explorer I noticed there are massive true/false nets. what's up with that?
<knielsen> TD-Linux: I think I remember seeing that - I suppose it's just using a single LUT to provide a constant "1" and then routing that everywhere (and similar for "0")
<ZipCPU> There was an upgrade that was supposed to fix that. Did it ever make it downstream?
<knielsen> though I can't now recall where it would need a constant 0/1 (it's been a while...)
<TD-Linux> that looks like what it's doing. but... why?
<TD-Linux> could just be that these are old bitstreams and a new yosys makes something better
<ZipCPU> The issue was that "1" and "0" had to be created, so they were created once and then routed everywhere.
<knielsen> the examples on ice40 viewer are definitely old bitstreams from a yosys probably several years old
<ZipCPU> The upgrade as I recall was supposed to remove the dependency of these constants on the various LUTs.
<knielsen> aha, so for example in a random place in the vga example I see a counter doing "trans_x + 1", and using a constant "1" net for an X+Y LUT function. That could just be done with a single-input X+1 LUT function, without needing the constant "1" input
<knielsen> makes sense
digshadow has quit [Quit: Leaving.]
<keesj> knielsen: what does
<keesj> O meann in a LUT? is that OR?
<knielsen> doesn't it just mean constant 0 output?
<keesj> I don't know . sounds plausible
<keesj> no I don't think so
<knielsen> sometimes only the carry output from a cell is used, and the normal output is just make constant zero
<knielsen> eg. see tile (23 19) in the vga example
<keesj> (in the blinky example : counter[0] enters a block and (indeed possibly the carry goes to the next block)
<knielsen> yes, the small wire vertically between the luts is the carry propagation
<knielsen> for some reason, apparently counter[0] and counter[1] flip-flops were synthesised/placed separately from the others. I guess one might need to check the icebox_explain output in detail to get all details
<knielsen> the exact logic for how LUT functions are rendered are found here: https://github.com/knielsen/ice40_viewer/blob/master/lutfunction.js
<tpb> Title: ice40_viewer/lutfunction.js at master · knielsen/ice40_viewer · GitHub (at github.com)
<knielsen> hm, nifty bot...
ferrim has quit [Quit: Leaving]
pie_ has quit [Ping timeout: 240 seconds]
<keesj> I think I was looking at it the wrong way https://i.imgur.com/JNDWTPo.png (the a +b ) of counter 0 also acts as a flip flop). I will look at the js later
seldridge has quit [Ping timeout: 240 seconds]
seldridge has joined #yosys
seldridge has quit [Ping timeout: 265 seconds]
mjoldfield has quit []
seldridge has joined #yosys
seldridge has quit [Ping timeout: 264 seconds]
luismarques has joined #yosys
mjoldfield has joined #yosys
dxld has quit [Quit: Bye]
dxld has joined #yosys
digshadow has joined #yosys
dys has quit [Ping timeout: 240 seconds]
luismarques has quit [Quit: luismarques]
proteus-guy has quit [Remote host closed the connection]
tpb has quit [Remote host closed the connection]
tpb has joined #yosys