Skip to content

Commit 73c70ff

Browse files
committed
2 parents d966af1 + 268fd54 commit 73c70ff

5 files changed

Lines changed: 23 additions & 27 deletions

File tree

_CS126/digraphs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ title: "Directed Graphs"
1313
1414
### Properties
1515

16-
If a **simple** directed graph has $$m$$ edges and $n$ vertices, then $$m \leq n \cdot (n-1)$$, since every vertex can connect to every other vertex bar itself
16+
If a **simple** directed graph has $$m$$ edges and $$n$$ vertices, then $$m \leq n \cdot (n-1)$$, since every vertex can connect to every other vertex bar itself
1717

1818
There is more terminology specifically about digraphs:
1919

_CS132/index.md

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,6 @@ title: CS132
77

88
## Topics and content
99

10-
There are five broad topics in the module, which are as follows:
11-
12-
1. Data representation
13-
2. Digital logic
14-
3. Assembler
15-
4. Memory systems
16-
5. I/O mechanisms
17-
6. Processor architecture
18-
1910
In the words of Matt, **all of the above topics are examinable**. However, there
2011
are varying degrees of usefulness for each of the topics - if something is not
2112
deemed overly useful, it will typically be omitted in the notes. For example,
@@ -24,19 +15,7 @@ omitted (for example, specific operations of the circuit).
2415

2516
## Complete notes
2617

27-
Detailed handwritten notes for CS132 by **Josh Fitzmaurice** which cover the
28-
entire module can be found [here](./CS132_full.pdf).
29-
30-
Detailed typed notes for CS132 by **Yijun Hu** can be found [here](https://www.yijun.hu/blog-cs/cs132/index.html).
31-
32-
1. [x] [Data representation](https://www.yijun.hu/blog-cs/cs132/index.html#)
33-
2. [x] [Digital logic](https://www.yijun.hu/blog-cs/cs132/index.html#)
34-
3. [x] [Assembler](https://www.yijun.hu/blog-cs/cs132/index.html#)
35-
4. [x] [Memory systems](https://www.yijun.hu/blog-cs/cs132/index.html#)
36-
5. [x] [I/O mechanisms](https://www.yijun.hu/blog-cs/cs132/index.html#)
37-
6. [x] [Processor architecture](https://www.yijun.hu/blog-cs/cs132/index.html#)
38-
39-
Another source of type notes (from **Akram Ahmad** and **Justin Tan**’s notes) can be found below in parts or
18+
Detailed typed notes for CS132 by **Akram Ahmad** and **Justin Tan**’s can be found below in parts or
4019
here for [CS132 One Page Notes](opnotes):
4120

4221
1. [x] [Data representation](part1)
@@ -46,7 +25,17 @@ here for [CS132 One Page Notes](opnotes):
4625
5. [x] [I/O mechanisms](part5)
4726
6. [x] [Processor architecture](part6)
4827

28+
Another source of type notes by **Yijun Hu** can be found [here](https://www.yijun.hu/blog-cs/cs132/index.html).
4929

30+
1. [x] [Data representation](https://www.yijun.hu/blog-cs/cs132/index.html#)
31+
2. [x] [Digital logic](https://www.yijun.hu/blog-cs/cs132/index.html#)
32+
3. [x] [Assembler](https://www.yijun.hu/blog-cs/cs132/index.html#)
33+
4. [x] [Memory systems](https://www.yijun.hu/blog-cs/cs132/index.html#)
34+
5. [x] [I/O mechanisms](https://www.yijun.hu/blog-cs/cs132/index.html#)
35+
6. [x] [Processor architecture](https://www.yijun.hu/blog-cs/cs132/index.html#)
36+
37+
Detailed handwritten notes for CS132 by **Josh Fitzmaurice** which cover the
38+
entire module can be found [here](./CS132_full.pdf).
5039

5140
## Unofficial worksheet solutions
5241

@@ -69,4 +58,4 @@ A document containing all of the typed solutions linked above concatenated toget
6958

7059
Here are a set of flashcards for the module by **Leon Chipchase** (they still need to be refined), and please message me if there is something incorrect on there.
7160

72-
[Flash Cards](https://quizlet.com/_9pgkq4?x=1jqt&i=18al03)
61+
[Flash Cards](https://quizlet.com/_9pgkq4?x=1jqt&i=18al03)

_CS132/part6.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ The dominant technique, since roughly 1980s, for implementing control units in R
8585
| ------------------------------------------------------- | ------------------------------------------------------------ |
8686
| **Sequencer** – takes clock input of our microprocessor | Regulates/aligns the operation of the combinatorial logic circuit in the CU with the control steps/rounds we have for each macro instruction. These regulated signals should ideally match the clock frequency. |
8787
| **Instruction Decoder** | Depending on the opcode, send a signal to a certain path that corresponds to a particular macro instruction. |
88-
| **Fetch/Execute flip-flop** | Works together with the sequencer to regulate control rounds. It asserts when a control round starts and ends, essentially ensuring that the sequencer is in sync. |
88+
| **Fetch/Execute flip-flop** | Depending on the `START_FETCH` and `START_EXECUTE` signals, the flip-flop ensures that the CPU is only ever **fetching** or carrying out an opcode instruction (XOR relationship). |
89+
| `START_FETCH` & `START_EXECUTE` | When high, these two signals reset the sequencer so that it is in sync with the fetch/execute flip-flop’s signals (either the Enable signal to the opcode decoder or the fetch signal). |
8990

9091
> **Advantages.** Fast (operates as fast as logic gates).
9192
>

_CS141/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Given the large number of topics, it makes sense to break these down into broade
99

1010
1. [x] [General Functional Programming](part1)
1111
2. [x] [Lazy Evaluation & Recursion](part2)
12-
3. [ ] Higher-Order Functions
12+
3. [ ] Higher-Order Functions
1313
4. [x] [Data types](datatypes)
1414
5. [x] [Equational reasoning](equationalReasoning)
1515
6. [x] [Functors, Applicatives, Monads](FAM)
16-
7. [ ] Type-level programming
16+
7. [x] [Type-level programming](type-level-programming)
1717

1818
## Crib Sheets
1919

_CS141/type-level-programming.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
layout: CS141
3+
part: true
4+
title: Type Level Programming
5+
---
6+
17
## Kinds
28

39
> Just like how expressions have **types**, types have **kinds**.

0 commit comments

Comments
 (0)