Using a spreadsheet to simulate VCV Rack digital logic

Found it: