var INPUT_DAYS = [
  // week 0
  {topic: 'Course Overview'},

  // week 1
  {
    topic: 'Representing Numbers',
    read: [{name: 'BO 2.1.1, 2.2.2, 2.2.3', url: './syllabus.html#textbooks'}],
    extra: [
      {name: 'BO 2.1-2.3', url: './syllabus.html#textbooks'},
      {name: 'PP 2.1, 2.2, 2.3', url: './syllabus.html#textbooks'},
    ],
  },
  {
    topic: 'Boolean Logic',
    read: [{name: 'BO 2.1.6'}],
    extra: [
      {name: 'BO 2.1'},
      {name: 'CODF 5', url: './CODF_v02b.pdf'},
      {name: 'PP 2.8'},
    ],
  },
  {
    topic: "<a xhref='labs/lab01.html'>Lab 1</a>",
    class: 'lab',
    due: "<a href='labs/prelab01.html'>Prelab 1</a>",
  },
  {
    topic: 'Combinational Logic',
    read: [
      {name: 'BO 4.2.1, 4.2.2'},
      {name: 'Logic Handout', url: './logic_handout.pdf'},
    ],
    due:
      "<a xhref='./homework/homework1.pdf'>Homework 1</a>,<br/>" +
       /*"(<a href='./homework/homework1_solutions.pdf'>Solutions</a>)<br/>" + */
      "<a href='https://practic.csse.rose-hulman.edu'>CloudCoder Exercises</a><br/>",
    extra: [
      {name: 'BO 4.2'},
      {name: 'PH B.3', url: './syllabus.html#textbooks'},
      {name: 'CODF 8'},
    ],
  },

  // week 2
  {
    topic: 'Adders and ALUs',
    extra: [{name: 'BO 2.3.1-2.3.4'}, {name: 'PH B.5'}],
  },
  {
    topic: 'Verilog',
    extra: [{name: 'PH B.4'}],
  },
  {
    topic: "<a xhref='labs/lab02.html'>Lab 2: Making an ALU</a>",
    class: 'lab',
    due: "<a xhref='./labs/prelab02.html'>Prelab 2</a>",
  },
  {
    topic: 'Sequential Logic',
    read: [{name: 'BO 4.2.5'}],
    due:
      "<a xhref='./homework/homework2.pdf'>Homework 2</a><br/>" +
      /*"(<a href='./homework/homework2_solutions.pdf'>Solutions</a>)<br/>" + */
      "<a href='https://practic.csse.rose-hulman.edu'>CloudCoder Exercises</a><br/>",
    extra: [{name: 'PH B.8'}, {name: 'CODF 10'}],
  },

  // week 3
  {topic: 'Addressing', read: [{name: 'BO 2.1.3'}], due: 'Lab 2<br/>'},
  {
    topic: 'Memory Hierarchy',
    read: [{name: 'BO 6.1.1-6.1.3'}],
    extra: [{name: 'BO 6.1-6.3'}, {name: 'PP 6.2, 6.3'}],
  },
  {
    topic: "<a xhref='labs/lab03-pi3.html'>Lab 3: Linux</a>",
    class: 'lab',
    read: [{name: 'Bring your Pi'},
        {name:'An Ethernet Cable (and an adapter if needed)'}
    ],
    extra: [
      {
        name: 'Linux Commands',
        url: 'https://files.fosswire.com/2007/08/fwunixref.pdf',
      },
    ],
    /* due:   "<a href='./labs/prelab03.html'>Prelab 3</a>", -- no prelab yet for this one */
  },
  {
    topic: 'Assembly',
    due:
      "<a xhref='./homework/homework3.pdf'>Homework 3</a><br/>" +
       /*"(<a href='./homework/homework3_solutions.pdf'>Solutions</a>)<br/>" +*/
      "<a href='https://practic.csse.rose-hulman.edu'>CloudCoder Exercises</a><br/>",
    extra: [
      {name: 'ARM handout', url: './ARM_qrc.pdf'},
      {name: 'ARM Examples', url: './examples/assembly/arm-asm.pdf'},
    ],
  },

  // week 4
  {
    topic: 'C Programming',
    extra: [
      {name: 'KR 1', url: './syllabus.html#textbooks'},
      {name: 'C handout', url: './c-refcard.pdf'},
    ],
  },
  {topic: 'Exam Review', due: 'Lab 3'},
  {
    topic: 'Exam 1',
    class: 'exam',
    read: [
      {name: 'Review Guide', url: './e1-reviewguide.pdf'},
     /* {name: "Sample Exam", url: "./e1-sampleexam.pdf"},
                            {name: "(Partial Solution)", url: "./e1-sampleexam-solutions.pdf"}*/
    ],
  },
  {
    topic: 'Pointers and Arrays',
    read: [{name: 'BO 3.8.1-3.8.3, 3.9.1, 3.10.1'}],
    extra: [{name: 'BO 3.10'}, {name: 'KR 5, 6'}, {name: 'PP 3.36, 3.41.A-B'}],
  },

  // week 5
  {topic: 'Return Exam 1', read: [], due: ''},
  {
    topic: 'Procedures and the Stack',
    read: [{name: 'BO 3.7.1'}],
    extra: [
      {
        name: 'Stack Writeup',
        url: 'https://azeria-labs.com/functions-and-the-stack-part-7/',
      },
    ],
  },
  {
    topic: "<a xhref='labs/lab04.html'>Lab 4: Operating the Machine</a>",
    class: 'lab',
  },
  {
    topic: 'Fall Break',
    class: 'noclass',
    due: "<a xhref='./homework/homework4.pdf'>Homework 4</a>",
  },

  // week 6

  {
    topic: 'Memory Allocation',
    read: [{name: 'BO 3.7.4, 9.9.0-9.9.2'}],
    extra: [{name: 'BO 3.7, 9.9'}, {name: 'KR 8.7'}],
  },
  {
    topic: 'Recursion and Performance',
  },
  {
    topic: "<a xhref='labs/lab05.html'>Lab 5: Managing Memory</a>",
    class: 'lab',
    extra: [{name: 'Debugging Segfaults', url: 'debugging-segfaults.html'}],
    due: "<a xhref='./labs/prelab05.html'>Prelab 5</a>",
  },
  {
    topic: 'Data Representation',
    read: [{name: 'BO 2.4.1'}],
    extra: [{name: 'BO 2.4'}, {name: 'KR 2.2'}, {name: 'PP 2.45, 2.46'}],
    due: "<a xhref='./homework/homework5.pdf'>Homework 5 (11:59pm)</a><br/>",
  },


  // week 7
  {
    topic: 'Processing Data',
    due: "Lab 5 (11:59pm)" 
  },
  {topic: 'Exam Review'},
  {
    topic: 'Exam 2',
    class: 'exam',
    read: [
      {name: 'Review Guide', url: './e2-reviewguide.pdf'},
      /*{name: "Sample Exam", url: "./e2-sampleexam.pdf"},
                                {name: "(Partial Solution)", url: "./e2-sampleexam-solutions.pdf"} */
    ],
    extra: [
      {name: 'Stack/Heap Practice', url: './stack_heap_practice_solutions.pdf'},
    ],
  },
  {topic: 'IO', read: [{name: 'BO 10.1-10.4'}]},

  // week 8
  {topic: 'Return Exam 2'},
  {
    topic: 'IO in Linux',
    read: [{name: 'BO 10.8-10.11'}],
    extra: [{name: 'KR 7.5, 7.7, 8.1, 8.2'}],
  },
  {topic: "<a xhref='labs/lab06.html'>Lab 6: IO</a>", class: 'lab'},
  {
    topic: 'The Internet',
    read: [{name: 'BO 11.0-11.2'}],
    due: "<a xhref='./homework/homework6.pdf'>Homework 6</a><br/> "
   /* + "(<a href='./homework/homework6_solutions.pdf'>Solutions</a>)"*/
  },

  // week 9
  {topic: 'Socket Programming', read: [{name: 'BO 11.3-11.4'}]},
  {topic: 'Building a Server', read: [{name: 'BO 11.3-11.4'}]},
  {
    topic: "<a xhref='labs/lab07.html'>Lab 7: Client/Server</a>",
    class: 'lab',
    due: "<a xhref='./labs/prelab07.html'>Prelab 7</a>",
  },
  {topic: 'Practice C',
      read: [{name: 'Bring your Pi &amp; Laptop!'}],
    due: "<a xhref='./homework/homework7.pdf'>Homework 7</a> <br/> "
    /*+"(<a href='./homework/homework7_solutions.pdf'>Solutions</a>)"*/,
  },

  // week 10
  {
    topic: 'Concurrent Programming',
    read: [{name: 'BO 12.1-12.2'}],
  },
  {
    topic: 'Our Little Internet',
    /*due: "Lab 7",*/
  },
  {
    topic: "<a xhref='labs/lab08.html'>Lab 8</a>",
    class: 'lab',
    extra: [
      {name: 'Practice Problems', xurl: 'homework/practice_c.pdf'},
      /*{name: "(Solutions)", url: "practice-solutions/"}*/
    ],
    /*due:   "<a href='./labs/prelab08.html'>Prelab 8</a>",*/
  },
  /*due: "Homework 8",*/
  {topic: 'Course Wrap-Up'},

  {
    final: "Final exam on Tuesday at 8am this week -- " +
     "<a xhref='./fe-reviewguide.pdf'>Review Guide</a>",
  },
];
