Thursday, 2020-07-16

*** tpb has joined #yosys00:00
*** citypw has joined #yosys01:03
*** cr1901_modern has quit IRC01:08
*** Degi has quit IRC01:19
*** Degi has joined #yosys01:22
*** cr1901_modern has joined #yosys01:42
*** m4ssi has joined #yosys05:26
*** _whitelogger has quit IRC05:30
*** _whitelogger has joined #yosys05:32
*** m4ssi has quit IRC05:34
*** emeb_mac has quit IRC06:04
*** craigo has quit IRC06:04
*** m4ssi has joined #yosys06:07
*** m4ssi has quit IRC06:28
*** jakobwenzel1 has joined #yosys07:06
*** xtro has quit IRC07:40
*** Asu has joined #yosys08:04
*** proteusguy has quit IRC08:35
*** proteusguy has joined #yosys08:49
*** proteusguy has quit IRC09:06
*** kraiskil has joined #yosys09:26
*** kraiskil has quit IRC09:34
pepijndevosYosys doesn't synthesize floats, or does it? I know it's bad, but for a thing where I don't really care about speed or area, it beats fiddling with fixed point.09:38
whitequarkpepijndevos: doesn't09:38
pepijndevosok09:38
whitequarkalso i feel like if yosys dropped some combinatorial ieee754 ops into your design you'd suddenly start caring about speed and area09:39
pepijndevoshaha maybe09:39
whitequarkright now floats are secretly strings09:39
whitequarkwhich... is a pretty awful representation if you ask me09:40
pepijndevosw-what?09:40
whitequarkfloats in yosys are just strings in the decimal notation09:40
whitequarklike a float RTLIL::Const is a byte vector containing ASCII containing the float in decimal09:41
pepijndevosSo... what happens if you synth a design with floats?09:41
whitequarkno idea09:41
whitequarki'm sure it breaks but i don't know how exactly09:41
pepijndevoslol ok09:41
whitequark1364.1 is clear about floats not being synthesizable tho09:41
pepijndevos100% sure quartus does it though. Back when I assisted FPGA labs in uni, I've seen some unfortunate souls try.09:42
whitequarkhuh09:43
whitequarki wonder if it's quartus itself or just synplify09:43
pepijndevosCombinatorial float FFT did not fit on the FPGA though09:43
pepijndevosMaybe I'll mess around and see if the Gowin or Latice tools can do it. Gowin usus Synplify IIRC09:45
pepijndevosGowin using Symplify pro: Synthesis of real vin_val is not supported10:12
*** jakobwenzel1 has quit IRC10:15
*** jakobwenzel1 has joined #yosys10:16
pepijndevosSeems quartus support is also rather limited actually10:16
*** craigo has joined #yosys10:19
daveshahIt is probably mostly for the Stratixes with hard float DSPs these days10:20
LoftyActually the Cyclone 10GX supports some measure of floating point arithmetic10:52
LoftyBut the hardware *can* do it10:53
daveshahOh interesting I thought it was only the Stratix 1010:54
daveshahAnd their newer agilex or whatever it's called10:54
LoftyIt's probably further enhanced on those architectures, but it's still got support on C10GX10:56
daveshahMmm10:57
daveshahXilinx are doing it too with Versal10:57
LoftyThe S10 (and presumably Agilex) both changed the ALM a bit, so I'm gonna have to investigate that. If anybody decides to care/pay me10:58
*** u0m3 has quit IRC11:30
*** citypw has quit IRC11:30
*** az0re has quit IRC11:30
*** kraiskil has joined #yosys11:36
*** u0m3 has joined #yosys11:40
*** citypw has joined #yosys12:49
*** kraiskil has quit IRC12:58
*** jakobwenzel1 has quit IRC13:39
*** jakobwenzel1 has joined #yosys13:54
*** lambda has quit IRC13:59
*** lambda has joined #yosys14:04
*** emeb has joined #yosys14:04
*** craigo has quit IRC14:27
*** X-Scale has quit IRC14:55
*** qu1j0t3 has quit IRC14:55
*** tlwoerner has quit IRC14:55
*** ZipCPU has quit IRC14:55
*** somlo has quit IRC14:55
*** oldtopman has quit IRC14:55
*** tmiw has quit IRC14:55
*** tmbinc has quit IRC14:55
*** acertain has quit IRC14:55
*** X-Scale has joined #yosys14:57
*** qu1j0t3 has joined #yosys14:57
*** tlwoerner has joined #yosys14:57
*** somlo has joined #yosys14:57
*** ZipCPU has joined #yosys14:57
*** oldtopman has joined #yosys14:57
*** acertain has joined #yosys14:57
*** tmiw has joined #yosys14:57
*** tmbinc has joined #yosys14:57
*** maartenBE has quit IRC14:58
*** X-Scale has quit IRC14:59
*** X-Scale has joined #yosys15:05
*** maartenBE has joined #yosys15:05
*** sjkelly1 has joined #yosys16:02
*** evil_chuck has joined #yosys16:13
*** kraiskil has joined #yosys16:20
*** ross_s has quit IRC16:33
*** az0re has joined #yosys17:09
*** citypw has quit IRC17:36
*** xtro has joined #yosys17:53
*** ross_s has joined #yosys17:54
*** jakobwenzel1 has quit IRC18:09
*** m4ssi has joined #yosys18:10
*** kraiskil has quit IRC18:21
*** kraiskil has joined #yosys18:27
*** m4ssi has quit IRC18:39
*** Asu has quit IRC18:56
*** Asu has joined #yosys18:56
*** emeb_mac has joined #yosys19:00
*** evil_chuck has quit IRC19:06
*** evil_chuck has joined #yosys19:11
*** Asuu has joined #yosys19:28
*** kraiskil has quit IRC19:28
*** Asu has quit IRC19:31
*** evil_chuck has quit IRC19:38
*** thardin has joined #yosys20:11
thardinthere we go, thought I forgot a channel20:11
thardingot my little lock-in amplifier working. with filters tunable by potentiometer20:12
thardinrealizing I can do multiplication as bits arrive from the ADC was a life-saver20:18
emebOooo - lockin amps are fun. Yours is an all digital version?20:24
thardinexcept for the ADCs and DACs yes20:31
thardinit's very bare bones at the moment20:31
thardinan octopus of pmods coming off the icestick, with a hand-soldered board for the pots for good measure20:32
emebIs it dual-phase?20:35
thardinnot yet20:35
thardinmight need a larger device for that20:35
thardinin fact I haven't added adjustable phase to the mixer yet20:36
emebYeah - the HX1k on icestick is a bit small.20:36
thardinI was looking at HX8K board a few weeks ago20:36
emebThe DSP cores in UP5k might be useful for that.20:37
thardinI'm only doing addition and look-ups at the moment20:37
thardinbut if I were to bump up the speed into the tens of MHz then being able to multiply faster would be useful20:38
emebInteresting. How do you do the mixing operation w/o multiplication?20:38
thardinit does serial multiplication20:38
emebaha20:38
thardinas in, it remembers the last LO sample and for each non-zero ADC bit it adds it shifted to an accumulator20:38
emebyep. longhand20:38
emebso your sample rate is << clock rate20:39
thardinyeah it's 1/3220:39
thardinI only need 100 kHz bandwidth for now20:40
emebhow do you generate sinusoids? LUT?20:40
thardinyeah20:40
thardinplus symmetry20:40
emebwhat's the phase resolution?20:40
thardinso it stores 0-90°20:40
thardinuh.. the table is 4096 entries so20:40
thardinlet's see20:40
emeb2pi/16k20:40
thardin0.02°20:40
thardin0.4 mrad20:41
emebnot bad20:41
thardinshould be more than enough20:41
emebYeah.20:42
thardinplan is to squeeze the design into a eurorack module20:42
emebheh20:42
thardinthey're not just for musicians!20:42
* emeb does DSP for eurorack 20:43
thardincool20:43
emebhard to imagine doing "real science" with that stuff. Presumably you just use the rack, supplies and physical dimensions for some custom equipment?20:44
thardinyeah there's modules aimed at academia20:45
emebInteresting. Got a link so such stuff?20:46
emeblink to?20:46
thardinnope, but if you search around for laser stuff you'll probably find some20:46
thardinthey come with a hefty price tag20:46
emebI'm sure20:46
emebI know some of our customers use the synth modules for controlling galvos in laser shows, but that's about as close as I come to laser stuff.20:47
thardinpew pew20:47
thardina laser is just a radio running at much higher frequency20:47
emebtrue dat20:48
thardinyou have non-linear optics that behave much like RF mixers20:48
emebindeed - hence green laser pointers20:48
thardinso you can beam two lasers into it and get the difference in frequency out as RF20:49
emebhow does one get that difference freq into a circuit though? Stick an antenna on the crystal?20:50
thardinthey probably have some kind of antenna there yes20:50
thardina transition of some sort20:50
thardinyou can go the other way with pockels cells and similar devices20:50
thardinmodulate a laser with RF20:51
thardinyou also have piezo devices that do aucusto-optical modulation20:51
emebyep - that's what I've seen before.20:51
*** craigo has joined #yosys20:51
emeband of course simple AM of laser emitters by modulating supply voltages.20:52
thardinyes20:53
emebworked on a microwave RF delay based on that long ago. 2GHz -> IR laser diode -> long coil of fiber optic -> detector.20:53
thardinnice20:53
emebHard to get a good RF match on a commercial IR laser diode.20:54
*** kraiskil has joined #yosys22:25
*** kraiskil has quit IRC22:27
*** kraiskil has joined #yosys22:30
*** Asuu has quit IRC22:50
*** kraiskil has quit IRC22:59
*** emeb_mac has quit IRC23:16
*** ross_s has quit IRC23:16
*** qu1j0t3 has quit IRC23:16
*** tlwoerner has quit IRC23:16
*** ZipCPU has quit IRC23:16
*** somlo has quit IRC23:16
*** oldtopman has quit IRC23:16
*** tmiw has quit IRC23:16
*** tmbinc has quit IRC23:16
*** acertain has quit IRC23:16
*** emeb_mac has joined #yosys23:22
*** ross_s has joined #yosys23:22
*** qu1j0t3 has joined #yosys23:22
*** tlwoerner has joined #yosys23:22
*** somlo has joined #yosys23:22
*** ZipCPU has joined #yosys23:22
*** oldtopman has joined #yosys23:22
*** acertain has joined #yosys23:22
*** tmiw has joined #yosys23:22
*** tmbinc has joined #yosys23:22

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!