Pinned Tweet
Wow, lots of new twitter followers just joined. Welcome! Just to give you an opportunity to get to know me and the ZipCPU blog, here's a bit about me and what you can expect here: zipcpu.com/blog/2018/10/04/w… Again, welcome!
I've asked another engineer working with me to run some memory testing. I suggested he use my memory testing function, but I had apparently forgotten how optimized the function was. This led to a long discussion about software optimizations.
github.com/ZipCPU/kimos/blob…
27
894
In my case, I chose to use piecewise polynomial upsampling, as described by Harris (I personally *love* the technique), but with a completely different basis from the 6th order ad hoc polynomials he chooses to generate. Hence, unlike Harris, I chose a Cubic polynomial designed to guarantee constants, lines, quadratics and cubics would pass without distortion. Incidentally, this also guarantees a very flat passband near zero frequency.
To measure accuracy, you can then examine the Fourier transform of the resulting piecewise polynomial. (It acts like a continuous FIR filter, applied to discrete sample points.)
9
308
Zip CPU retweeted
5 years ago, everyone and his grandmother did a RISC-V core for a FPGA.
Today I have the impression it is fashionable that everyone and his grandmother design a Vulcan compatible GPU for FPGA.
I am very fine with that. It might push forward openXC7, the open source Xilinx tools
Perhaps a picture would do a better job explaining what happened ... The good news is that regressions are now passing (again) following a simple fix (S/W change only) to move the sample clock earlier.
Today's bug: two simulators (XCelium, Icarus), same logic, one test case passes, one doesn't.
Why? It's a race condition. The model sets its data on the same cycle as it gets sampled. One simulator samples the data before it gets set by the model, the other afterwards.
Today's bug of the week is a story. It starts with a commercial memory controller (built by yours truly), that passes all of its simulation tests. Reads tested, writes tested, WRAP tested, Exclusive access checked, etc.
Many, but not all components were formally verified.
Formally verifying the components involved required building proper interface property sets--to make sure any input assumptions were guaranteed by the prior component and so on. In the process, another bug was found whereby reads (or writes) crossing different devices might get merged. Likewise, reads might have accidentally merged requests across WRAP requests--turning WRAP requests of the H/W into hybrid WRAP requests--even though not all memories support hybrid wrap.
1
2
234
This stack exchange post has a good description of the problems with using AES-CTR for memory encryption. I love the included pictures. They tell the story well.
crypto.stackexchange.com/que…
19
1,592








