From 4b2d7002dc850f9598691ec44f5e6e401a5423ba Mon Sep 17 00:00:00 2001 From: logicog Date: Sun, 30 Nov 2025 22:25:59 +0100 Subject: [PATCH] Add physical/logical mapping of ports --- html/ports.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html/ports.js b/html/ports.js index a8f0392..0a2fe2a 100644 --- a/html/ports.js +++ b/html/ports.js @@ -1,3 +1,6 @@ +const logToPhysPort = [0, 0, 0, 5, 1, 2, 3, 4, 6]; +const physToLogPort = [ 4, 5, 6, 7, 3, 8]; + function drawPorts() { var f = document.getElementById('ports'); console.log("DRAWING PORTS: ", numPorts);