Topic for #qi-hardware is now Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs
sivoais has quit [Ping timeout: 240 seconds]
sivoais has joined #qi-hardware
freemor has quit [Ping timeout: 250 seconds]
freemor has joined #qi-hardware
freemor has quit [Ping timeout: 265 seconds]
kyak_ has joined #qi-hardware
uwe__ has joined #qi-hardware
uwe_ has quit [Ping timeout: 264 seconds]
kyak has quit [Ping timeout: 264 seconds]
Jurting has quit [Read error: Connection reset by peer]
wej has quit [Ping timeout: 260 seconds]
wej has joined #qi-hardware
Jurting has joined #qi-hardware
<wolfspraul> a small fpgatools update - I think my next target after blinking_led will be the j1 mini-core
<wolfspraul> hopefully I can finish the blinking_led in about 1 more week
<wolfspraul> that's all :-)
<wpwrak> whee ! the blinking LED is the creation of life in a new universe. a core is merely evolution :)
Jurting has quit [Read error: Connection reset by peer]
freemor has joined #qi-hardware
xiangfu has joined #qi-hardware
freemor2 has joined #qi-hardware
freemor has quit [Ping timeout: 244 seconds]
MistahDarcy has quit [Read error: Connection reset by peer]
MistahDarcy has joined #qi-hardware
<wolfspraul> btw this is what the .c looks like now after your model->rc cleanup... https://github.com/Wolfgang-Spraul/fpgatools/blob/master/blinking_led.c
<wolfspraul> that is the final version of blinking_led, only that the engine underneath does not yet generate a working bitstream...
<wolfspraul> (and at the top I added a little verilog equivalent for comparison and documentation)
freemor2 has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
<wolfspraul> oh actually, I just notice it's not the final .c yet. the clock network is there, but some other networks are missing...
<wolfspraul> more work in fnet_autoroute() :-)
<wpwrak> hmm, quite a bit of redundancy
<wpwrak> may look better if you use static initialization for logic_cfg
<wpwrak> oh, and why y before x ? if they're coordinates, that seems rather confusing
xiangfu has quit [Ping timeout: 260 seconds]
<wolfspraul> yes I know, but there's a lot of fpga literature and sources that do that, although in general coordinates are confusing in the fpga world
<wolfspraul> at the beginning I was thinking about this. x/y in the bottom left, x extending to the right and y upwards
<wpwrak> ah, i see. historical convention then.
<wolfspraul> but then I followed what looks like at least the largest 'convention'
<wolfspraul> which is y going downwards (0 at the top), and y before x
<wolfspraul> but then, you find everything, because i guess everybody stumbles upon this and then partially goes this or that way
<wpwrak> heh :)
<wolfspraul> oftentimes in the same sources you find some coordinates where y extends downwards, and others where it extends upwards
<wolfspraul> yes, let's just say 'convention', although I am just trying to find a convention where maybe there is no convention
<wpwrak> maybe you should just switch to polar coordinates :)
<wpwrak> there you are ;-)
<wolfspraul> y before x, y increasing downwards, x increasing rightwards
<wolfspraul> at least fpgatools has only 1 coordinate system, some other popular fpga tools have >10 :-)
<wolfspraul> static init for logic_cfg, sure
<wolfspraul> I am not focusing on that 'higher' layer right now that much
<wpwrak> (10 dimensions) sounds like string theory :)
<wolfspraul> well the different types/categories of things each have their own coordinates
<wolfspraul> so X2 'logic col' is one right of X1 'logic col'
<wolfspraul> but there may be a X0 bram col in between :-)
<wpwrak> (static init) actually, i see that it's more complicated since you carry over a lot of information from step to step. you'd probably need some sort of preprocessor.
<wolfspraul> yes
<wolfspraul> no need right now, I focus on the engine underneath
<wolfspraul> that .c is just the tip of the iceberg
<wolfspraul> later on maybe I find a way to write a bison parser or so, or we plug fpgatools in as an iverilog backend...
<wolfspraul> it does look a lot cleaner now though
<wolfspraul> without the if(rc) checks
<wpwrak> yeah, it's pretty smooth reading
<wolfspraul> some more networks missing, the connections between the luts, and the outgoing led wire...
<wolfspraul> maybe 1 week is too optimistic, he
<wolfspraul> first get the led to blink...
<wolfspraul> thanks for looking over it...
xiangfu has joined #qi-hardware
<wpwrak> i see that you often have (y, x, idx) groups. maybe they could go into a struct, to reduce the number of arguments ?
<wolfspraul> yes
<wolfspraul> the temptation of C++ looms over it, but we shall resist...
<wpwrak> all the good things C++ tempts you with you can also do in C :)
<wolfspraul> when it's time to bury the project and declare it a failure, I will introduce C++ templates and operator overloading one month in advance...
<wolfspraul> then we can blame C++
<wolfspraul> that's the secret plan B here...
<wpwrak> maybe that's why C++ is so popular
<wpwrak> well, its star seems to be sinking a bit. maybe developers have gotten better and don't have quite so many failed projects to explain
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
emeb has quit [Quit: Leaving.]
kyak_ is now known as kyak
kyak has quit [Changing host]
kyak has joined #qi-hardware
Fallenou has quit [Remote host closed the connection]
xiangfu has quit [Quit: Leaving]
xiangfu has joined #qi-hardware
panda|x201 has quit [Ping timeout: 248 seconds]
jekhor has joined #qi-hardware
dandon has quit [Quit: .]
Mistah_Darcy has joined #qi-hardware
MistahDarcy has quit [Ping timeout: 264 seconds]
jluis|work has joined #qi-hardware
rz2k has joined #qi-hardware
panda|x201 has joined #qi-hardware
panda|x201 has quit [Ping timeout: 245 seconds]
GNUtoo has joined #qi-hardware
sucotronic has quit [Quit: leaving]
urandom__ has joined #qi-hardware
jekhor has quit [Ping timeout: 245 seconds]
rz2k has quit []
panda|x201 has joined #qi-hardware
panda|x201 has quit [Remote host closed the connection]
dandon has joined #qi-hardware
mat146 has joined #qi-hardware
<mat146> hey
<mat146> asus or acer?
mat146 has quit [Client Quit]
freemor has joined #qi-hardware
Jurting has joined #qi-hardware
freemor has quit [Ping timeout: 245 seconds]
freemor has joined #qi-hardware
freemor has quit [Read error: Connection reset by peer]
freemor has joined #qi-hardware
freemor has quit [Read error: Connection reset by peer]
Jay7 has quit [Read error: Connection reset by peer]
Jay7x has joined #qi-hardware
LunaVorax has joined #qi-hardware
<LunaVorax> Hi
wej has quit [Ping timeout: 264 seconds]
wej has joined #qi-hardware
<kristianpaul> hello
freemor has joined #qi-hardware
freemor has quit [Read error: Connection reset by peer]
lekernel_ is now known as lekernel
Hoolxi has joined #qi-hardware
freemor has joined #qi-hardware
freemor has quit [Read error: Connection reset by peer]
rz2k has joined #qi-hardware
freemor has joined #qi-hardware
freemor has quit [Read error: Connection reset by peer]
freemor has joined #qi-hardware
freemor has quit [Read error: Connection reset by peer]
freemor has joined #qi-hardware
xiangfu has quit [Quit: Leaving]
freemor has quit [Read error: Connection reset by peer]
freemor has joined #qi-hardware
emeb has joined #qi-hardware
Hoolxi has quit [Remote host closed the connection]
freemor has quit [Ping timeout: 276 seconds]
jekhor has joined #qi-hardware
guanucoluis has joined #qi-hardware
jluis|work has quit [Ping timeout: 246 seconds]
guanucoluis has quit [Quit: Leaving.]
LunaVorax has quit [Quit: Quitte]
wej has quit [Ping timeout: 260 seconds]
wej has joined #qi-hardware
jekhor has quit [Ping timeout: 245 seconds]
Jurting has quit [Remote host closed the connection]
lekernel_ has joined #qi-hardware
lekernel has quit [Ping timeout: 260 seconds]
LunaVorax has joined #qi-hardware
jekhor has joined #qi-hardware
lekernel__ has joined #qi-hardware
mirko_ has joined #qi-hardware
rodgort` has joined #qi-hardware
LunaVorax has quit [*.net *.split]
lekernel_ has quit [*.net *.split]
mirko has quit [*.net *.split]
rodgort has quit [*.net *.split]
mth_ has joined #qi-hardware
LunaVorax has joined #qi-hardware
roh_ has joined #qi-hardware
uwe_ has joined #qi-hardware
uwe__ has quit [*.net *.split]
mth has quit [*.net *.split]
roh has quit [*.net *.split]
GNUtoo has quit [Remote host closed the connection]
roh_ is now known as roh
mirko_ is now known as mirko
freemor has joined #qi-hardware
mth_ is now known as mth
sivoais has quit [Read error: Operation timed out]
wolfspra1l has joined #qi-hardware
wolfspraul has quit [Ping timeout: 252 seconds]
rz2k has quit []
LunaVorax has quit [Ping timeout: 260 seconds]
freemor has quit [Ping timeout: 260 seconds]
unclouded has joined #qi-hardware
kuribas has joined #qi-hardware
LunaVorax has joined #qi-hardware
wolfspra1l has quit [Ping timeout: 255 seconds]
urandom__ has quit [Quit: Konversation terminated!]
kuribas has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
wej has quit [Ping timeout: 264 seconds]
wej has joined #qi-hardware
sivoais has joined #qi-hardware
freemor has joined #qi-hardware