DMux error - Help needed (Fixed)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DMux error - Help needed (Fixed)

joaodjulio
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/01/DMux.hdl
 /**
 * Demultiplexor:
 * [a, b] = [in, 0] if sel == 0
 *          [0, in] if sel == 1
 *

ERROR: "Line 18, Unexpected end of file". I've been looking for a fix for this error for a long time, any help will be appreciated. Thanks in advance!

EDIT: The file given is missing a "/" in the last comment. I deleted the solution, so that nobody that has the same problem can have a spoiler alert moment :)