All posts by tallen

RISC V

The HiFive 1 development board, got this a few months back, forgot to post.

So far I have OpenOCD sorta working–yea GDB!, well okay gdb’s not actually working for me yet. Yes I could just use the freedom SDK but that’s too easy! …and no I have no idea what I’m going to do with it, SDR radio transmitter, I dunno.

.gdbinit

.gitconfig

.clang-format

local .vimrc

clang-format

Persistence (bloody mindedness) Pays Off

Update: Found a better way to do this!

Well, I loaded the Windoze version in to a VM. This was instructive in that Diamond looks almost as bad in Tonka Toy 10 as it does on Linux. So I kept poking at the app and finally found the very unintuitive way to get it to compile. I then poked at the programmer for about an hour and got it to do something other than throw meaningless and useless errors referencing Windows–I got it to flash the MachXOLF Starter Kit. Er… success…? Okay, yeah it works.

Hey Lattice, have you noticed a surge in sales of the ICE40 line?! Ya know the line that the open source community has reversed the bitstream of. People can use IceStorm (really I mean icestorm, arachne, yosys et al) on those FPGAs. Now, I have no doubt that Synopsys, BoolDozer, Cadence etc. have better tools but several thousand per seat is a big barrier to entry. For many of us we hate IDE’s. We are perfectly happy with say vi, or Emacs, or whatever text editor, and a make file. So for most of your product line I have to choose between your crappy IDE or something I can’t afford. But for the ICE40 line I have an additional choice. Here’s a suggestion: How about you concentrate your limited resources on making better FPGAs and leave the development tools and weird lawyer enriching contractual crap behind. Or just keep doing what your doing (and wasting resources), we’ll eventually reverse the rest of your product line and if your still in business (and not part of “communist” China) you’ll be forced to evolve anyway. Hmm Latice, maybe you could lead Xylinx and Altera for once.

Lattice Diamond was Written in Crayon

I have spent about a day trying to coax Lattice Diamond in to programming a Mach OX3. Maybe the Windows version is useable but really Windows, no thanks I’m working here. The upshot is this: if you need anything outside the ice40 series–for which there are open source tools that one can find by searching IceStorm–then it’s time to move on to Xilinx or Altera. Quartus uses a version of Synopsys and, more to the point, it is usable.

Altera Cyclone 4 DE2-115

Ordered this from Taiwan to follow Bruce Land’s ECE5760 FPGA course.

IDE = bad, Synopsys = good

Altera FPGAs are being integrated into newer servers. For now they are accessed via a PCIe lane, I’m wagering they move closer to the CPU and eventually wind up on die.

Server Health Monitor Screen

Clever things one can do with byobu / screen. I have a bunch of servers I need to monitor more or less constantly. I rigged up this aesthetically pleasing array of monitors so I get to look smart when someone, whilst I’m in the middle of programming or something, asks if server blah is having problems.
KmacMonitorScreenshot

This one is of our main router / firewall / phone switch. Note the upper right pane where I can quickly sort out who’s using all the bandwidth; it’s iftop with the colorization patch. The left one is the Asterisk console. The bottom one is just syslog washed through grc.
RouterAndPhoneSwitchMonitorScreenshot