*** tpb has joined #yosys | 00:00 | |
*** emeb_mac has joined #yosys | 00:42 | |
*** Max`P has joined #yosys | 00:53 | |
*** Max-P has quit IRC | 00:54 | |
*** Max`P is now known as Max-P | 00:54 | |
philtor | ZipCPU, did you do a writeup on this HITL testing methodology? That would be an interesting read. | 01:03 |
---|---|---|
*** pie_ has quit IRC | 01:05 | |
*** pie_ has joined #yosys | 01:05 | |
*** cemerick has joined #yosys | 01:21 | |
*** cemerick_ has quit IRC | 01:24 | |
*** jkiv has joined #yosys | 01:30 | |
ZipCPU | philtor: Not specifically, but I think I might have mentioned it in the FFT article, | 01:35 |
ZipCPU | ... let me check ... | 01:45 |
philtor | It would make a great blog post :) | 01:48 |
ZipCPU | http://zipcpu.com/digilent/2017/05/29/fft-debugging.html | 01:53 |
tpb | Title: FFT debugging (at zipcpu.com) | 01:53 |
ZipCPU | Yeah, so ... you can read the post if you like, or I can tell you the story ... :) | 01:53 |
ZipCPU | The 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 |
ZipCPU | No, 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 |
ZipCPU | The 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 |
ZipCPU | Hence, from the Linux program I could read from a memory-mapped address within the FPGA. | 01:56 |
ZipCPU | My 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 |
ZipCPU | I 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 |
ZipCPU | The 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 |
ZipCPU | I'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 |
ZipCPU | On the whole, I found the technique quite useful at the time. | 01:59 |
ZipCPU | In 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 |
ZipCPU | When 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 |
ZipCPU | When 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 |
ZipCPU | The 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 |
ZipCPU | philtor: That's the basic story. | 02:04 |
*** jkiv has quit IRC | 02:04 | |
*** pie_ has quit IRC | 02:05 | |
*** Marex has quit IRC | 02:15 | |
*** Marex has joined #yosys | 02:15 | |
*** cemerick_ has joined #yosys | 02:32 | |
*** cemerick has quit IRC | 02:36 | |
*** milkii has left #yosys | 03:21 | |
*** kuldeep has quit IRC | 03:22 | |
*** sandeepkr has quit IRC | 03:22 | |
*** kuldeep has joined #yosys | 03:23 | |
*** digshadow has quit IRC | 03:23 | |
*** xrexeon has quit IRC | 03:50 | |
*** cemerick_ has quit IRC | 03:53 | |
*** AlexDaniel has quit IRC | 04:33 | |
*** digshadow has joined #yosys | 04:53 | |
*** sklv has quit IRC | 05:04 | |
*** sklv has joined #yosys | 05:04 | |
keesj | ZipCPU: I now better uderstand why you asked about my serial to register mapping project. | 05:25 |
keesj | I 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 IRC | 06:41 | |
*** sklv has quit IRC | 06:52 | |
*** GuzTech has joined #yosys | 06:56 | |
*** proteusguy has joined #yosys | 06:58 | |
*** emeb_mac has quit IRC | 07:02 | |
*** emeb has quit IRC | 07:04 | |
*** oldtopman has quit IRC | 07:40 | |
*** oldtopman has joined #yosys | 07:51 | |
*** tpb has joined #yosys | 08:13 | |
*** shapr has quit IRC | 08:14 | |
*** janrinze has quit IRC | 08:15 | |
*** xa0 has quit IRC | 08:16 | |
*** Chobbes has quit IRC | 08:16 | |
*** xa0 has joined #yosys | 08:18 | |
*** janrinze has joined #yosys | 08:18 | |
*** shapr has joined #yosys | 08:20 | |
*** shapr is now known as Guest12920 | 08:20 | |
*** xa0 has quit IRC | 08:30 | |
*** lok[m] has quit IRC | 08:30 | |
*** swick has quit IRC | 08:31 | |
*** lok[m] has joined #yosys | 08:35 | |
*** xa0 has joined #yosys | 08:38 | |
*** swick has joined #yosys | 08:38 | |
*** Chobbes has joined #yosys | 08:44 | |
*** FabM has quit IRC | 09:19 | |
*** FabM has joined #yosys | 09:24 | |
*** quigonjinn has quit IRC | 09:35 | |
*** AlexDaniel has joined #yosys | 09:36 | |
*** proteusguy has quit IRC | 10:25 | |
*** proteusguy has joined #yosys | 10:45 | |
*** proteusguy has quit IRC | 11:00 | |
*** eduardo__ has joined #yosys | 11:08 | |
*** eduardo_ has quit IRC | 11:12 | |
*** xrexeon has joined #yosys | 11:39 | |
*** cemerick_ has joined #yosys | 12:08 | |
*** cemerick has joined #yosys | 12:12 | |
*** cemerick_ has quit IRC | 12:15 | |
*** pie_ has joined #yosys | 12:59 | |
*** promach_ has joined #yosys | 13:23 | |
*** proteusguy has joined #yosys | 13:29 | |
*** X-Scale has joined #yosys | 13:55 | |
*** seldridge has joined #yosys | 14:23 | |
*** promach__ has joined #yosys | 14:55 | |
*** seldridge has quit IRC | 15:06 | |
*** seldridge has joined #yosys | 15:29 | |
*** [X-Scale] has joined #yosys | 15:41 | |
*** X-Scale has quit IRC | 15:42 | |
*** [X-Scale] is now known as X-Scale | 15:42 | |
*** rqou has quit IRC | 15:57 | |
*** rqou has joined #yosys | 15:58 | |
*** GuzTech has quit IRC | 16:04 | |
*** seldridge has quit IRC | 16:18 | |
*** seldridge has joined #yosys | 16:21 | |
*** AlexDaniel has quit IRC | 16:23 | |
promach__ | for the smt_step, how do I reference it in assert() ? | 16:25 |
ZipCPU | promach__: 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.png | 16:30 |
*** TFKyle has joined #yosys | 16:31 | |
ZipCPU | Ah ... 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. Thanks | 16:32 |
*** X-Scale has quit IRC | 16:42 | |
*** digshadow has left #yosys | 16:49 | |
*** seldridge has quit IRC | 16:59 | |
*** promach__ has quit IRC | 17:03 | |
*** X-Scale has joined #yosys | 17:05 | |
*** pie__ has joined #yosys | 17:12 | |
*** ralu has quit IRC | 17:12 | |
*** pie_ has quit IRC | 17:15 | |
*** ralu has joined #yosys | 17:17 | |
*** seldridge has joined #yosys | 17:20 | |
*** GuzTech__ has joined #yosys | 17:30 | |
*** dys has joined #yosys | 17:47 | |
*** sklv has joined #yosys | 17:59 | |
*** digshadow has joined #yosys | 18:43 | |
*** jkiv has joined #yosys | 19:41 | |
*** zkrx has quit IRC | 19:56 | |
*** zkrx has joined #yosys | 19:58 | |
*** xerpi has joined #yosys | 20:26 | |
*** cemerick has quit IRC | 20:57 | |
*** jkiv has quit IRC | 21:06 | |
*** GuzTech__ has quit IRC | 22:18 | |
*** xerpi has quit IRC | 22:42 | |
*** pie__ has quit IRC | 22:56 | |
*** dys has quit IRC | 23:23 | |
*** Guest12920 is now known as shapr | 23:35 | |
*** shapr has joined #yosys | 23:35 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!