Thursday, 2018-04-19

*** tpb has joined #yosys00:00
*** m_w_ has joined #yosys00:08
*** promach3 has joined #yosys00:23
*** AlexDaniel has quit IRC00:35
*** m_w has quit IRC00:38
*** pie_ has quit IRC00:46
*** captain_morgan has quit IRC01:07
*** captain_morgan has joined #yosys01:07
*** quigonjinn has quit IRC01:27
*** promach3 has quit IRC01:43
*** emeb has quit IRC02:04
*** emeb_mac has joined #yosys02:08
*** sklv has quit IRC02:12
*** sklv has joined #yosys02:18
*** sklv has quit IRC02:19
*** sklv1 has joined #yosys02:19
*** digshadow has quit IRC02:59
*** digshadow has joined #yosys03:42
*** emeb_mac has quit IRC05:36
*** eduardo_ has joined #yosys05:51
*** eduardo has quit IRC05:55
*** FabM_cave has joined #yosys06:38
*** GuzTech has joined #yosys06:49
*** forrestv has quit IRC06:57
*** digshadow has quit IRC07:11
*** digshadow has joined #yosys07:11
*** jwhitmore has quit IRC07:25
*** AlexDaniel has joined #yosys07:49
*** quigonjinn has joined #yosys08:18
*** xrexeon has joined #yosys09:11
*** m_w has joined #yosys09:32
*** m_w has quit IRC09:38
*** xrexeon has quit IRC09:40
*** xrexeon has joined #yosys09:45
*** xrexeon has quit IRC10:50
*** X-Scale has quit IRC10:52
*** xrexeon has joined #yosys10:56
*** X-Scale has joined #yosys10:59
*** pie_ has joined #yosys11:28
*** xrexeon has quit IRC11:44
*** xrexeon has joined #yosys12:00
*** pie_ has quit IRC12:03
*** xrexeon has quit IRC12:23
*** xrexeon has joined #yosys12:24
*** xrexeon has quit IRC12:26
*** xrexeon has joined #yosys12:28
*** promach3 has joined #yosys13:17
*** oter has joined #yosys13:28
*** oter has quit IRC13:28
*** xerpi has joined #yosys13:52
*** oter has joined #yosys13:59
*** oter has quit IRC14:04
*** xrexeon has quit IRC14:17
*** pie_ has joined #yosys14:18
*** oter has joined #yosys14:21
*** oter has quit IRC14:23
*** seldridge has joined #yosys14:24
*** oter has joined #yosys14:56
*** emeb has joined #yosys15:11
*** xerpi has quit IRC15:15
*** GuzTech has quit IRC15:32
*** oter has quit IRC15:47
*** Dakoo has joined #yosys15:50
*** GuzTech has joined #yosys16:25
*** FabM_cave has quit IRC16:33
*** promach3 has quit IRC16:55
*** xrexeon has joined #yosys16:56
*** digshadow has quit IRC17:17
*** cemerick has joined #yosys17:29
*** dys has joined #yosys17:32
*** digshadow has joined #yosys17:49
daddesioDoes anyone know the proper timing to send an infinite stream of "AAAAA..." over uart to a pc? I'm sending "010000010101000001010100000101..." with a 9600Hz clock (9600 bits per second) -- I confirmed this in both gtkwave and the oscilloscope at my workplace -- but "sudo screen /dev/ttyUSB0 9600" is completely blank.18:25
daddesioAnd yes, I connected my fpga's output pin to the *receiver* pin on my usb uart (the white pin: https://www.amazon.com/JBtek-WINDOWS-Supported-Raspberry-Programming/dp/B00QT7LQ88/ref=pd_sim_23_1?_encoding=UTF8&pd_rd_i=B00QT7LQ88&pd_rd_r=QJP4C1ZQPZ0EFDHNJ3H7&pd_rd_w=RN35t&pd_rd_wg=ZIzwk&psc=1&refRID=QJP4C1ZQPZ0EFDHNJ3H7 )18:26
mazzoostart and stop bits?18:27
daddesioI can insert more 1s in between characters, like "0100000101 1111111111 0100000101 1111111111", but it doesn't make a difference18:27
daddesioI'll see if I can output the same signal from my usb uart and compare with my fpga output.18:29
mazzooperl -e "print 'A' x 9001" > /dev/ttyUSB018:30
mazzooafter setting the baud with stty18:30
*** ravenexp has quit IRC18:36
*** ravenexp has joined #yosys18:38
*** dys has quit IRC19:21
*** dys has joined #yosys19:22
*** cemerick_ has joined #yosys19:25
*** cemerick has quit IRC19:29
daddesioFigured it out! I was passing the 12MHz clock to my module by mistake instead of the 9600Hz clock that I calculated.19:32
daddesioso "I confirmed this on my oscilloscope" was wrong.19:32
daddesioI only confirmed the 9600Hz clock and 9600Hz square wave were right, not my new 9600 baud "A" generator.19:33
daddesioAha, the issue is in my pcf file: set_io clk 2119:34
mazzoojfyi: FTDI USB UARTs work up to 3MHz19:34
mazzooreal world cable limits make 2MHz possible19:35
daddesioI renamed the variable recently, so it should say set_io clk_12mhz 21 now19:35
awygleor you can run Fast Serial at 50 MHz :p19:35
mazzooawygle: what is Fast Serial?19:41
awyglemazzoo: http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT2232H.pdf page 5119:41
awygleit's basically a UART+Clock19:42
awygleperhaps a USRT19:42
awygleor if you prefer, like SPI without the slave output19:42
awyglealthough that analogy's not as good19:42
mazzoonice! never noticed that part of the datasheet...19:46
awyglecredit goes to ZipCPU for pointing it out19:47
*** cemerick has joined #yosys19:59
*** cemerick_ has quit IRC20:02
ZipCPUawygle: Ever thought of trying it out?20:26
awygleZipCPU: i think of lots of things :)20:39
awyglei haven't yet had occasion to though, no20:39
ZipCPUYeah, me neither.20:40
ZipCPUI've wanted to though.20:40
ZipCPUIt was a Pennsylvania engr who pointed the capability out to me.20:42
*** GuzTech has quit IRC21:40
*** cemerick has quit IRC22:50
*** [X-Scale] has joined #yosys23:11
*** X-Scale has quit IRC23:14
*** [X-Scale] has quit IRC23:16
*** X-Scale has joined #yosys23:17
*** sklv1 has quit IRC23:48

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!