2f
Content-Disposition: inline; filename="Makefile
299
Last-Modified: Wed, 24 Jun 2026 13:58:57 GMT
Expires: Sat, 21 Jun 2036 13:58:57 GMT
ETag: "493a2d2a628ea5c0f0ad3779192bf6d3752c5e5c"

TOP = top

all: check top.bin

check:
	verilator --lint-only --top $(TOP) top.v

clean:
	rm -f top.asc top.bin top.json

gui:
	nextpnr-ice40 --hx1k --package tq144 --json top.json --pcf top.pcf --asc top.asc --top $(TOP) --gui

load: all
	iceprog top.bin

.PHONY: all check clean gui load

top.asc: top.json top.pcf
	nextpnr-ice40 --hx1k --package tq144 --json top.json --pcf top.pcf --asc top.asc --top $(TOP)

top.bin: top.asc
	icepack top.asc top.bin

top.json: top.v
	yosys -q -p "synth_ice40 -json top.json -top $(TOP)" top.v

0

HTTP/1.0 500 Internal Server Error
Date: Wed, 24 Jun 2026 13:58:57 GMT
Server: OpenBSD httpd
Connection: close
Content-Type: text/html
Content-Length: 518

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>500 Internal Server Error</title>
<style type="text/css"><!--
body { background-color: white; color: black; font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif; }
hr { border: 0; border-bottom: 1px dashed; }
@media (prefers-color-scheme: dark) {
body { background-color: #1E1F21; color: #EEEFF1; }
a { color: #BAD7FF; }
}
--></style>
</head>
<body>
<h1>500 Internal Server Error</h1>
<hr>
<address>OpenBSD httpd</address>
</body>
</html>
