Thursday, 2018-04-05

*** tpb has joined #yosys00:00
*** emeb_mac has joined #yosys00:42
*** Max`P has joined #yosys00:53
*** Max-P has quit IRC00:54
*** Max`P is now known as Max-P00:54
philtorZipCPU, did you do a writeup on this HITL testing methodology? That would be an interesting read.01:03
*** pie_ has quit IRC01:05
*** pie_ has joined #yosys01:05
*** cemerick has joined #yosys01:21
*** cemerick_ has quit IRC01:24
*** jkiv has joined #yosys01:30
ZipCPUphiltor: Not specifically, but I think I might have mentioned it in the FFT article,01:35
ZipCPU... let me check ...01:45
philtorIt would make a great blog post :)01:48
ZipCPUhttp://zipcpu.com/digilent/2017/05/29/fft-debugging.html01:53
tpbTitle: FFT debugging (at zipcpu.com)01:53
ZipCPUYeah, so ... you can read the post if you like, or I can tell you the story ... :)01:53
ZipCPUThe story goes back to a dark man, with a dark purpose, waiting on a dark night ... Oops, sorry, that's Aladdin ... let me try again ...01:54
ZipCPUNo, seriously, I was programming my very first FPGA.  The hardware engineer had delivered me a circuit board.  The Linux engineer had placed a Linux distro on the ARM chip on that board.  The FPGA was connected via an auxiliary bus to the ARM chip.01:55
ZipCPUThe hardware engineer who had "proved" that the board worked, gave it to me empty with only one configuration on it--one that allowed the reading from or writing to bus addresses.01:56
ZipCPUHence, from the Linux program I could read from a memory-mapped address within the FPGA.01:56
ZipCPUMy first program mapped a 3-bit input from an offset A/D into a 4'bit value that would properly handle the task.  I tested it via writing the value to the bus, and reading the result back off.01:57
ZipCPUI managed to use that same basic interface to build a GPS front-end processing system, and again to build a custom radio system.01:58
ZipCPUThe custom radio was fascinating, since I would write to a "clock register" that would step the entire design.  I could then come back and read information back off at my convenience, one word per clock.01:58
ZipCPUI'd write the "input" from the antenna (i.e. simulation) into one register, and then watch as it cascaded through the processing chain.01:59
ZipCPUOn the whole, I found the technique quite useful at the time.01:59
ZipCPUIn hind sight, I might've moved through the project faster if I had used simuation--since it would take ISE (Spartan 3) about 15 minutes to build each test design, and I can often simulate something in less than a minute or two.02:00
ZipCPUWhen I had to stop stepping the design, it was as easy as setting that step register field to a 1'b1, and all the debugging code would be optimized out of the design.02:01
ZipCPUWhen I switched to full speed, I had two problems.  The first I solved with the predecessor of the wishbone scope, creating something like a chipscope capability.  The other was the fact that ... my simulated radio matched the receiver clock perfectly.  Oops.  Reality was a touch more difficult.02:02
ZipCPUThe funny part was the response of the veteran FPGA designers watching me with my first design.  In general, they just shook their heads in dismay.  When I delivered, they then scratched their heads somewhat.  Either way, the approach was an anomaly.02:03
ZipCPUphiltor: That's the basic story.02:04
*** jkiv has quit IRC02:04
*** pie_ has quit IRC02:05
*** Marex has quit IRC02:15
*** Marex has joined #yosys02:15
*** cemerick_ has joined #yosys02:32
*** cemerick has quit IRC02:36
*** milkii has left #yosys03:21
*** kuldeep has quit IRC03:22
*** sandeepkr has quit IRC03:22
*** kuldeep has joined #yosys03:23
*** digshadow has quit IRC03:23
*** xrexeon has quit IRC03:50
*** cemerick_ has quit IRC03:53
*** AlexDaniel has quit IRC04:33
*** digshadow has joined #yosys04:53
*** sklv has quit IRC05:04
*** sklv has joined #yosys05:04
keesjZipCPU: I now better uderstand why you asked about my serial to register mapping project.05:25
keesjI never user chipscope so far (i remember scanning some jtag scan chain but somewhere I must have run into problems) This was on a Digilen Basys2 Xilinx Spartan-3E FPGA.05:28
*** proteusguy has quit IRC06:41
*** sklv has quit IRC06:52
*** GuzTech has joined #yosys06:56
*** proteusguy has joined #yosys06:58
*** emeb_mac has quit IRC07:02
*** emeb has quit IRC07:04
*** oldtopman has quit IRC07:40
*** oldtopman has joined #yosys07:51
*** tpb has joined #yosys08:13
*** shapr has quit IRC08:14
*** janrinze has quit IRC08:15
*** xa0 has quit IRC08:16
*** Chobbes has quit IRC08:16
*** xa0 has joined #yosys08:18
*** janrinze has joined #yosys08:18
*** shapr has joined #yosys08:20
*** shapr is now known as Guest1292008:20
*** xa0 has quit IRC08:30
*** lok[m] has quit IRC08:30
*** swick has quit IRC08:31
*** lok[m] has joined #yosys08:35
*** xa0 has joined #yosys08:38
*** swick has joined #yosys08:38
*** Chobbes has joined #yosys08:44
*** FabM has quit IRC09:19
*** FabM has joined #yosys09:24
*** quigonjinn has quit IRC09:35
*** AlexDaniel has joined #yosys09:36
*** proteusguy has quit IRC10:25
*** proteusguy has joined #yosys10:45
*** proteusguy has quit IRC11:00
*** eduardo__ has joined #yosys11:08
*** eduardo_ has quit IRC11:12
*** xrexeon has joined #yosys11:39
*** cemerick_ has joined #yosys12:08
*** cemerick has joined #yosys12:12
*** cemerick_ has quit IRC12:15
*** pie_ has joined #yosys12:59
*** promach_ has joined #yosys13:23
*** proteusguy has joined #yosys13:29
*** X-Scale has joined #yosys13:55
*** seldridge has joined #yosys14:23
*** promach__ has joined #yosys14:55
*** seldridge has quit IRC15:06
*** seldridge has joined #yosys15:29
*** [X-Scale] has joined #yosys15:41
*** X-Scale has quit IRC15:42
*** [X-Scale] is now known as X-Scale15:42
*** rqou has quit IRC15:57
*** rqou has joined #yosys15:58
*** GuzTech has quit IRC16:04
*** seldridge has quit IRC16:18
*** seldridge has joined #yosys16:21
*** AlexDaniel has quit IRC16:23
promach__for the smt_step, how do I reference it in assert() ?16:25
ZipCPUpromach__: Give me a little more back ground ... what are you talking about?16:28
promach__ZipCPU: I am trying to assert a relationship between 'cnt' and 'state' as in https://i.imgur.com/nc4T8jC.png16:30
*** TFKyle has joined #yosys16:31
ZipCPUAh ... to my knowledge, you don't reference the smt_step number in an assertion.  You can create your own counter to reference if you would like, but you can't reference that one.16:32
promach__ok, I see. Thanks16:32
*** X-Scale has quit IRC16:42
*** digshadow has left #yosys16:49
*** seldridge has quit IRC16:59
*** promach__ has quit IRC17:03
*** X-Scale has joined #yosys17:05
*** pie__ has joined #yosys17:12
*** ralu has quit IRC17:12
*** pie_ has quit IRC17:15
*** ralu has joined #yosys17:17
*** seldridge has joined #yosys17:20
*** GuzTech__ has joined #yosys17:30
*** dys has joined #yosys17:47
*** sklv has joined #yosys17:59
*** digshadow has joined #yosys18:43
*** jkiv has joined #yosys19:41
*** zkrx has quit IRC19:56
*** zkrx has joined #yosys19:58
*** xerpi has joined #yosys20:26
*** cemerick has quit IRC20:57
*** jkiv has quit IRC21:06
*** GuzTech__ has quit IRC22:18
*** xerpi has quit IRC22:42
*** pie__ has quit IRC22:56
*** dys has quit IRC23:23
*** Guest12920 is now known as shapr23:35
*** shapr has joined #yosys23:35

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