Skip to content

Commit

Permalink
Fix Mux4way16.cmp typo (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
netalondon authored Sep 16, 2024
1 parent eb30f71 commit 4aa4507
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/src/project_01/11_mux4way16.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const cmp = `| a | b | c |
| 0001001000110100 | 1001100001110110 | 1010101010101010 | 0101010101010101 | 00 | 0001001000110100 |
| 0001001000110100 | 1001100001110110 | 1010101010101010 | 0101010101010101 | 01 | 1001100001110110 |
| 0001001000110100 | 1001100001110110 | 1010101010101010 | 0101010101010101 | 10 | 1010101010101010 |
| 0001001000110100 | 1001100001110110 | 1010101010101010 | 0101010101010101 | 11 | 0101010101010101 ||`;
| 0001001000110100 | 1001100001110110 | 1010101010101010 | 0101010101010101 | 11 | 0101010101010101 |`;
export const hdl = `// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
Expand Down
5 changes: 4 additions & 1 deletion web/src/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { FileSystem } from "@davidsouther/jiffies/lib/esm/fs.js";
import { resetFiles, resetTests } from "@nand2tetris/projects/loader.js";

const VERSION_KEY = "version";
const CURRENT_VERSION = 11;
const CURRENT_VERSION = 12;

export function getVersion() {
return Number(localStorage.getItem(VERSION_KEY) ?? "0");
Expand Down Expand Up @@ -67,4 +67,7 @@ const versionUpdates: Record<number, (fs: FileSystem) => Promise<void>> = {
10: async (fs: FileSystem) => {
await resetTests(fs, [5]);
},
11: async (fs: FileSystem) => {
await resetTests(fs, [1]);
},
};

0 comments on commit 4aa4507

Please sign in to comment.