This uses my language, X_eTaL to generate FPGA Verilog inputs.  

I started with the Tang Nano 9K because of its UART.  The first pass did not generate efficient verilog code, so I plan to improve that so that I can build an actual hardware calculator using a Tang Nano 1K (goal) or 4K (fall-back).