catplant has joined ##openfpga
catplant has quit [Ping timeout: 252 seconds]
pie__ has joined ##openfpga
<tnt> Mmm ... nextpnr inserted a pass-thru lut for a carry ... for no reason I can see. I mean that CO is connected to the I3 of a LUT (and only that).
pie___ has quit [Remote host closed the connection]
<sorear> ice40?
<tnt> yeah.
<tnt> Like it placed the whole adder correctly ... except the top bit, which for some reason got placed at the completely different place
<tnt> Actually it does that more than once.
<sorear> sounds like something is going weird in the packing step
<tnt> yeah ... almost like a "off by one" somewhere and it doesn't constrain the top bit and ends up having to put a pass-through lut.
<tnt> But that 'glitch' ends up being nearly 15% of my critical path.
<sorear> i don't fully understand this, but I believe the packing step reconstructs adders from the netlist, which are then placed as a unit
catplant has joined ##openfpga
<tnt> Yeah, I see something like https://pastebin.com/LxBR8yyn
<tnt> Except that chains goes up to xxx[10] ...
<tnt> Interestingly in process_carries there is a small snippet of code that's commented ... and when I uncomment it, that seems to fix that issue and it now processed the entire chain at once and that bumps my f_max by 10% ...
<tnt> Arf, but for another design it decreased it by 10% so that might just be random.
catplant has quit [Quit: WeeChat 2.2]
catplant has joined ##openfpga
jevinski_ has joined ##openfpga
jevinskie has quit [Ping timeout: 250 seconds]
emeb has quit [Quit: Leaving.]
Bob_Dole has quit [Ping timeout: 268 seconds]
Bob_Dole has joined ##openfpga
unixb0y has quit [Ping timeout: 250 seconds]
unixb0y has joined ##openfpga
GenTooMan has quit [Quit: Leaving]
Flea86 has joined ##openfpga
Miyu has quit [Ping timeout: 250 seconds]
f003brv has joined ##openfpga
rohitksingh_work has joined ##openfpga
futarisIRCcloud has joined ##openfpga
Bike has quit [Quit: Lost terminal]
f003brv has quit [Quit: Page closed]
ZipCPU|Laptop has joined ##openfpga
<sorear> gain cells are neat
s_frit_ has joined ##openfpga
s_frit has quit [Ping timeout: 272 seconds]
<tnt> gain cells ?
sgstair has quit [Disconnected by services]
sgstair has joined ##openfpga
tms_ has left ##openfpga [##openfpga]
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<tnt> daveshah: Looking forward to the opt pass stuff :) Seems to work for me at least.
<daveshah> thanks!
<daveshah> I will look at the carry pass through stuff. It could be that there is a bug in there
<daveshah> Yosys can generate some strange constructs too
<tnt> daveshah: Well, I just uncommented some stuff that's already there and it seemsed to fix it : https://pastebin.com/uZihH8tR
<tnt> AFAICT it doesn't consider the last LC to be "in the chain" because it has no "carry out".
<daveshah> I think there will be a few more changes to the other chain stuff to make that work for all cases
<daveshah> I know I commented that out for a reason
<daveshah> Separately, the way we do carry pass through should also be improveable
<tnt> yeah, I figured, but I couldn't firgure out why :p I had hoped you'd remember :p
GuzTech has joined ##openfpga
<tnt> It's amazing how easy it is to notice (as a human) that a placement is "weird" ... but how to translate that into code that doesn't produce those placement is ... tricky.
<tnt> like ... 16 bit register, all bits have the same control set, all inputs come from another 16b reg, no logic. And it's spread across like 8 tiles.
<daveshah> It's quite possibly not suprising in that case
<daveshah> If the outputs fan out to more than one signal in different places than the output then it will probably pull the placement stronger than the input
<daveshah> A single reg to reg path will have a lot of budget too
<tnt> output go to an adder so not sure about that. But it's no where in the critical path, so the placer just probably didn't care and has no reason to "make it look pretty :p". I was just browsing the placement with the floorplan tool.
<q3k> tnt: isn't all of p&r basically an AI problem, trying to approximate what a human would do with enough time? :P
<_whitenotifier> [whitequark/Glasgow] whitequark pushed 1 commit to master [+3/-0/±0] https://git.io/fp6vk
<_whitenotifier> [whitequark/Glasgow] whitequark 31fd5ce - arch.boneless: new architecture (Boneless v2).
azonenberg_work has quit [Ping timeout: 246 seconds]
jcarpenter2 has quit [Read error: Connection reset by peer]
jcarpenter2 has joined ##openfpga
azonenberg_work has joined ##openfpga
sgstair has quit [Disconnected by services]
sgstair has joined ##openfpga
_whitelogger has joined ##openfpga
<_whitenotifier> [whitequark/Glasgow] whitequark pushed 2 commits to master [+0/-0/±4] https://git.io/fp6qX
<_whitenotifier> [whitequark/Glasgow] whitequark c439bff - arch.boneless: make sure NOP is 0x0000.
<_whitenotifier> [whitequark/Glasgow] whitequark 53725ae - arch.boneless: add assembler with labels.
rofl_ has joined ##openfpga
Richard_Simmons has joined ##openfpga
pie___ has joined ##openfpga
GuzTech_ has joined ##openfpga
GuzTech has quit [Read error: Connection reset by peer]
jcarpenter2 has quit [Read error: Connection reset by peer]
grantsmith has quit [Ping timeout: 268 seconds]
grantsmith has joined ##openfpga
grantsmith has joined ##openfpga
pie__ has quit [Read error: Connection reset by peer]
Bob_Dole has quit [Ping timeout: 268 seconds]
uovo has joined ##openfpga
oeuf has quit [Ping timeout: 250 seconds]
GuzTech_ has left ##openfpga ["Leaving"]
rohitksingh_work has quit [Read error: Connection reset by peer]
cr1901_modern has quit [Quit: Leaving.]
pie__ has joined ##openfpga
rohitksingh has joined ##openfpga
Miyu has joined ##openfpga
pie__ has quit [Quit: Page closed]
Flea86 has quit [Quit: Goodbye and thanks for all the dirty sand ;-)]
pie__ has joined ##openfpga
pie___ has quit [Remote host closed the connection]
rofl_ has quit [Read error: Connection reset by peer]
rofl_ has joined ##openfpga
rohitksingh has quit [Ping timeout: 246 seconds]
<_whitenotifier> [whitequark/Glasgow] marcan pushed 1 commit to master [+1/-0/±1] https://git.io/fp6gy
<_whitenotifier> [whitequark/Glasgow] marcan 636121d - revC: silkscreen wrapup, add Hana
azonenberg_work has quit [Ping timeout: 250 seconds]
emeb has joined ##openfpga
<_whitenotifier> [whitequark/Glasgow] whitequark pushed 1 commit to master [+1/-0/±3] https://git.io/fp6oD
<_whitenotifier> [whitequark/Glasgow] whitequark 2077725 - gateware.boneless: implement A-class, S-class and C-class insns.
rohitksingh has joined ##openfpga
ZipCPU|Laptop has quit [Ping timeout: 268 seconds]
<pie_> if im looking at a list of LEDs, is there any way to tell which are the high efficiency ones
<whitequark> yes
<whitequark> look at luminance curves
<_whitenotifier> [whitequark/Glasgow] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/fp6MY
<_whitenotifier> [whitequark/Glasgow] whitequark c8e2f39 - gateware.boneless: implement M-class instructions.
<pie_> i mean that means i have to go through and open the datasheet of each one
<pie_> but ok if thats what it takes
<_whitenotifier> [whitequark/Glasgow] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/fp6M7
<_whitenotifier> [whitequark/Glasgow] whitequark b86c296 - gateware.boneless: implement M-class instructions.
<pie_> whitequark: since you have some experienve with this, what is a "comfortable to look at without anything covering the LED" brightness value?
<whitequark> pie_: lolsob
<pie_> x(
<pie_> * x)
<whitequark> pie_: not more than 30 mcd
<whitequark> rqou: so
<pie_> ok
<whitequark> the power LED on Glasgow consumes 0.3 mA
<whitequark> I think I'll pass USB suspend tests just fine
<pie_> (does high efficiency even exist in every color? i need red/green, and yellow)
<whitequark> yes
<whitequark> in most colors
<pie_> ok
<pie_> thanks
<pie_> man who the fk gives values in relative luminous intensity...
<pie_> thanks everlight i hate it
<_whitenotifier> [whitequark/Glasgow] marcan pushed 2 commits to master [+0/-1/±5] https://git.io/fp6DU
<_whitenotifier> [whitequark/Glasgow] marcan e362065 - revC: restore Glasgow label text
<_whitenotifier> [whitequark/Glasgow] marcan c0b2669 - revC: use proper footprint for I/O connectors, tweak silkscreen
<whitequark> hm
<_whitenotifier> [whitequark/Glasgow] marcan created branch master https://git.io/fp6DY
<_whitenotifier> [Glasgow] Error. The Travis CI build could not complete due to an error - https://travis-ci.org/whitequark/Glasgow/builds/462905678?utm_source=github_status&utm_medium=notification
<pie_> ....apparently *everyone* gives relative luminous intensity
<pie_> why dont they give something people can actually use instead of needing to calculate it myself
<pie_> im probably missing something
jevinski_ has quit [Ping timeout: 250 seconds]
pie___ has joined ##openfpga
<_whitenotifier> [whitequark/Glasgow] whitequark pushed 1 commit to master [+0/-0/±2] https://git.io/fp6Dj
<_whitenotifier> [whitequark/Glasgow] whitequark 2225fb1 - arch.boneless: renumber I-class opcodes to group better.
pie__ has quit [Ping timeout: 260 seconds]
jevinskie has joined ##openfpga
<pie_> whitequark: does "forward current" mean it wont work under that current? lowest forward current i see for my current (pun not intended) search is 2mA
<whitequark> i think it's the typical value for some given intensity
<whitequark> look at the curves
<whitequark> lower If is better for you i think
<pie_> ok
jevinskie has quit [Quit: Textual IRC Client: www.textualapp.com]
<_whitenotifier> [whitequark/Glasgow] marcan pushed 1 commit to master [+0/-1/±4] https://git.io/fp6yh
<_whitenotifier> [whitequark/Glasgow] marcan 0700da1 - revC: use proper footprint for I/O connectors, tweak silkscreen
jevinskie has joined ##openfpga
<mithro> whitequark: might be interested in https://github.com/miya4649/mini16_cpu
<whitequark> ah, fascinating
<whitequark> relies on distributed RAM right?
<pie_> hm maybe this will do what i want
<pie_> the relative brightness curves seem to be in tune afaict so thats nice
<pie_> are these bidirectional leds tuned to being ok with just a single resistor current limiting both of them
azonenberg_work has joined ##openfpga
<pie_> the current vs voltage curves are way different for the two directions
rohitksingh has quit [Ping timeout: 272 seconds]
<_whitenotifier> [whitequark/Glasgow] marcan pushed 1 commit to master [+0/-0/±1] https://git.io/fp67E
<_whitenotifier> [whitequark/Glasgow] marcan d1cc2bf - revC: Fix a glitch
rohitksingh has joined ##openfpga
<pie_> there's a very large disparity between the brightnesses of the two colors though, red has like 5 times the lumens of green
<pie_> is it a human brightness perception thing? (could it be that big?)
<whitequark> candela
<whitequark> and yes
<whitequark> you want cd not lm
rohitksingh has quit [Ping timeout: 268 seconds]
<pie_> cd is human compensated?
<pie_> ah wait sorry
<pie_> this says "lv" not "lm".
<whitequark> yes
<pie_> "Iv (mcd) @ 20mA"
<whitequark> lv or iv?
<whitequark> oh
<whitequark> intensity (visual)
<pie_> ok thats not an L thats an I >:I
<_whitenotifier> [whitequark/Glasgow] marcan pushed 1 commit to master [+0/-0/±1] https://git.io/fp6dw
<whitequark> so that's mcd
<_whitenotifier> [whitequark/Glasgow] marcan 911d659 - Move three refspecs 0.1mm for symmetry against other side.
<pie_> what i find strange is the green needs the bigger voltage but its the darker one, so i probably need to have different voltages in different directions and that ruins my neato design :c
<whitequark> yes
<pie_> or am i getting this backwards and should be looking at the needed voltage drop on the current limiting resistor instead
genii has joined ##openfpga
* pie_ goes to think
<pie_> tyvm for pointers
<pie_> yeah ok bigger current would need smaller voltage drop on led, :c very sad, time for redesign i guess...
uovo is now known as egg|egg
<_whitenotifier> [whitequark/Glasgow] whitequark pushed 2 commits to master [+0/-0/±4] https://git.io/fp6FN
<_whitenotifier> [whitequark/Glasgow] whitequark 2861922 - gateware.boneless: implement MOVH, MOVL and MOVA.
<_whitenotifier> [whitequark/Glasgow] whitequark 2e9675c - gateware.boneless: implement ADDI.
<pie_> whitequark: does this seem reasonable? https://a.uguu.se/aTpBanbG5DkS.png
<whitequark> sure
<pie_> thanks ^.^
mumptai has joined ##openfpga
<pie_> "1200 mcd, 60 mcd " red/green
<pie_> but....whz?
<pie_> why
<pie_> i guess "oh no look this red thing is bad" maybe
<whitequark> what
<whitequark> weird
<marshallh> anyone know how to go about hiring a korean manuha translator
<marshallh> damit thought this was ##whitequark
<pie_> :P almost
<pie_> this is ##azonenberg
<_whitenotifier> [whitequark/Glasgow] whitequark pushed 2 commits to master [+0/-0/±3] https://git.io/fpify
<_whitenotifier> [whitequark/Glasgow] whitequark 954b237 - gateware.boneless: implement LDI and STI.
<_whitenotifier> [whitequark/Glasgow] whitequark c7aee00 - gateware.boneless: implement JAL and JR.
clang has joined ##openfpga
clang has left ##openfpga [##openfpga]
cr1901_modern has joined ##openfpga
nickjohnson_ is now known as nickjohnson
s_frit_ has quit [Ping timeout: 250 seconds]
Richard_Simmons has quit [Remote host closed the connection]
Bob_Dole has joined ##openfpga
mumptai has quit [Quit: Verlassend]