YouTube2Text

[CS61C FA20] Weekly Lecture 04.LIVE - RISC-V — Transcript

by CS 61C Departmental · 9,882 words · 1,623 segments · language en · Watch on YouTube

Full transcript

  1. 0:00panelists we could we we should mute
  2. 0:03and then borah will welcome us in and
  3. 0:04then we'll end up uh you know
  4. 0:06spotlighting you when we're talking to
  5. 0:07you that'd be good yeah and i'll read
  6. 0:09the the
  7. 0:11first the weekly news perfect wonderful
  8. 0:14and we should see some people up here
  9. 0:15look at this we already have
  10. 0:1750 folks here wonderful so great to see
  11. 0:20everybody
  12. 0:26hello hello everybody hello
  13. 0:32another minute yeah we'll start and here
  14. 0:35we go pushing record we remembered it
  15. 0:36this time
  16. 0:38recorded this computer
  17. 0:43all right all right ladies and gentlemen
  18. 0:47welcome to our fourth once a week series
  19. 0:50live lectures with more of myself ladies
  20. 0:52and gentlemen 621c
  21. 0:55[Music]
  22. 0:56great to see everybody all right four
  23. 1:00take us home
  24. 1:00all right agenda for the day where
  25. 1:03are we uh are my slides working
  26. 1:07and almost so what are we going to do
  27. 1:11we are in week four now so we're gonna
  28. 1:13cover interesting stuff
  29. 1:14that we have for this week um
  30. 1:18first we are going to cover things that
  31. 1:22are computing in the news there are two
  32. 1:24very interesting and very relevant
  33. 1:26to this class announcements um in the
  34. 1:29press
  35. 1:29this morning or overnight um and then
  36. 1:33you know incidentally i did i don't know
  37. 1:35how this was timed i think this
  38. 1:37is just incredible we have two
  39. 1:40you know rare experience for everybody
  40. 1:43in the class
  41. 1:44um two guests uh andrew waterman and
  42. 1:47janssep lee
  43. 1:48from sci-fi who if you did not know
  44. 1:51they created or at least
  45. 1:54heavily participated in creation of this
  46. 1:57five
  47. 1:58um and so they'll and they founded a
  48. 2:01startup company called
  49. 2:02sci-five that is making these five
  50. 2:06processors so after that we're going to
  51. 2:09talk about
  52. 2:10quest due dates and open mic
  53. 2:14but for now the news if you haven't seen
  54. 2:18last night finally um nvidia and
  55. 2:23arm enter the deal in which
  56. 2:26nvidia will be acquiring arm if you
  57. 2:30are not following things we mentioned
  58. 2:31this early on we had that in discussion
  59. 2:33in that open session with
  60. 2:35apple arm is a dominant architecture at
  61. 2:38the moment in
  62. 2:39the commercial world in embedded
  63. 2:41processors
  64. 2:43they have been acquired a few years ago
  65. 2:45by softbank they've been a
  66. 2:47public company incorporated in uk
  67. 2:50back in 1990 and
  68. 2:53they are essentially in pretty much
  69. 2:56every
  70. 2:58mobile phone that is out there so they
  71. 3:00are now
  72. 3:02gone to uh nvidias nvidia purchased them
  73. 3:06nvidia is a
  74. 3:08big graphics or a gpu company and
  75. 3:12there is a lot of speculations out there
  76. 3:14why did then be they buy
  77. 3:16arm and what is going through the future
  78. 3:17of arm are they going to continue
  79. 3:19licensing immediately immediately
  80. 3:21immediately commented about three hours
  81. 3:24after acquisition that
  82. 3:25the licensing stays unchanged so the
  83. 3:28world can
  84. 3:29be relieved but that also puts a huge
  85. 3:33spotlight on
  86. 3:34risk five now
  87. 3:38you know we are all at least five
  88. 3:39experts by now right we have
  89. 3:41seen two lectures already hopefully two
  90. 3:43of them are out
  91. 3:45the other piece of the news that came
  92. 3:47out it was in the shadow of this
  93. 3:49is that sci 5 is to introduce a new risk
  94. 3:525
  95. 3:53processor architecture and risk by pc
  96. 3:57at the conference in october
  97. 4:00i you know this is like kind of a press
  98. 4:02release
  99. 4:03came down the business fire and so on so
  100. 4:05it's kind of not that easy to understand
  101. 4:07it so
  102. 4:08we have uh jensep and andrew over here
  103. 4:12they may be able to tell us something
  104. 4:14may not you know they're now in
  105. 4:16in the corporate world so um
  106. 4:20andrew and janssep both graduated from
  107. 4:23cal about
  108. 4:24five years ago with their phds they made
  109. 4:28risk 5 possible
  110. 4:29they invented risk 5. and
  111. 4:33they after their graduation they went to
  112. 4:35found
  113. 4:36a hardware company which was sci-fi that
  114. 4:39made risk 5 it makes nowadays five
  115. 4:41processor
  116. 4:42processors they've been quite a bit in
  117. 4:44the news it's an exciting life
  118. 4:46uh sometimes uh they may tell you that
  119. 4:48maybe too exciting
  120. 4:50um and um
  121. 4:54so maybe i i don't need to labor too
  122. 4:57much
  123. 4:57i'll just ask them perhaps to each one
  124. 5:00of them tell us how
  125. 5:01they what were their career paths how
  126. 5:04did they end up
  127. 5:05at cal in grad school and how did they
  128. 5:08end up in the startup
  129. 5:10after that so maybe start with andrew
  130. 5:13okay yeah so uh thanks for having me
  131. 5:15borah so uh
  132. 5:17i guess uh my going to cal and starting
  133. 5:19working on instructions and
  134. 5:20architectures is
  135. 5:21actually kind of serendipitous uh when i
  136. 5:23was a first semester
  137. 5:25senior in undergrad at duke um i was
  138. 5:28taking
  139. 5:28a graduate computer architecture course
  140. 5:30because it sounded interesting and the
  141. 5:32professor dan sworn who was teaching it
  142. 5:34brought me into
  143. 5:35his office and asked me like you know so
  144. 5:37what are you doing have you applied for
  145. 5:38any jobs
  146. 5:39no have you applied to grad school no
  147. 5:41you're an idiot andrew uh you should
  148. 5:43become a computer architect i'll write
  149. 5:44you a letter of recommendation
  150. 5:46so uh so um you know he recommended a
  151. 5:48few places to go
  152. 5:49uh calcium pretty awesome uh berkeley
  153. 5:52the city is being pretty awesome so i
  154. 5:53ended up coming here
  155. 5:55um and uh you know over the course of uh
  156. 5:58of grad school like you know youngstock
  157. 6:00me and some other folks were
  158. 6:02uh building processors and simulators
  159. 6:04you know to conduct our research
  160. 6:06experiments
  161. 6:06and uh we you know got kind of tired of
  162. 6:09the vagaries of the
  163. 6:10more popular uh computer architectures
  164. 6:12at the time there's like a lot of
  165. 6:13complexity in them
  166. 6:15and you know some complexity has its
  167. 6:16purpose you know it can lead to good
  168. 6:18performance but a lot of the complexity
  169. 6:20and other instruction sets
  170. 6:21is not there for some technical reasons
  171. 6:24so
  172. 6:24you know we ended up you know starting
  173. 6:26on this project to simplify our research
  174. 6:28lives and also to make it easier to
  175. 6:29teach
  176. 6:30some of the undergrad courses and grad
  177. 6:33as a cow
  178. 6:34because it's also easier to teach
  179. 6:35simpler isa and
  180. 6:37you know i don't think that we had uh
  181. 6:39any expectations that things are going
  182. 6:40to take off quite the way they did
  183. 6:42but um you know over the course of time
  184. 6:44it became apparent that it was a niche
  185. 6:45for an o
  186. 6:46for a high quality open instruction set
  187. 6:48architecture
  188. 6:50um and you know towards the end of my
  189. 6:52grad school career
  190. 6:53uh we you know had the you know the
  191. 6:55great opportunity to start a company to
  192. 6:56commercialize some of the ideas uh you
  193. 6:58know to build microprocessors
  194. 7:07all right how did you end up here oh
  195. 7:10yeah
  196. 7:11hello everybody my name is joseph lee uh
  197. 7:14i actually did my undergraduate in korea
  198. 7:16a university called curry advanced
  199. 7:18institute of science and technology or
  200. 7:20kaist
  201. 7:21uh you know i always wanted to learn how
  202. 7:25to build processors
  203. 7:27and at the time i have applied to a
  204. 7:30couple of grad schools in in the states
  205. 7:32uh berkeley was gracious enough to admit
  206. 7:36me
  207. 7:36to to the program and i came
  208. 7:39and worked with krista sanovich
  209. 7:43and dave patterson and borah and andrew
  210. 7:48we and uh
  211. 7:51you know as i said i wanted to learn how
  212. 7:53to build computers the best way to learn
  213. 7:55is to build
  214. 7:56we actually ended up building a spark
  215. 7:59machine
  216. 7:59first and then a mips machine and then
  217. 8:02we had a couple things we didn't like
  218. 8:04about it
  219. 8:05um and we kind of ended up
  220. 8:08doing our own thing and as you all know
  221. 8:11uh
  222. 8:12the term risk has been coined by dave
  223. 8:14patterson in the 80s
  224. 8:16and so we actually
  225. 8:19asked for advice on what we should name
  226. 8:22the isa
  227. 8:23um and dave kind of had a brilliant idea
  228. 8:26to call it
  229. 8:27risk five the fifth version of risk
  230. 8:28coming out of berkeley
  231. 8:30and i think that really helped kind of
  232. 8:32pushing the name out
  233. 8:33because everybody had learned from the
  234. 8:35same textbook that you know
  235. 8:37um i think you're you're learning from
  236. 8:40and risk was not a foreign term
  237. 8:41um so risk five started in 2010
  238. 8:45actually we had a 10 year virtual
  239. 8:48reunion
  240. 8:50of the risk by project where we had a
  241. 8:52bunch of interviews and things like that
  242. 8:55talking about how we got here uh and
  243. 8:59in 2015 as andrew said we started sci-fi
  244. 9:02and the risk five foundation to
  245. 9:04commercially
  246. 9:05kind of make risk five happen and it's
  247. 9:08been five years
  248. 9:09since uh we were at it
  249. 9:13and i'm very disappointed in that
  250. 9:15picture and you know that picture
  251. 9:17of the first blue t-shirts of this five
  252. 9:19were taken at hot chips
  253. 9:21and you know what i was doing on that
  254. 9:22day i was giving an ic prelim
  255. 9:24and berkeley that's a phd program so i
  256. 9:27did not go
  257. 9:28to i did not go to hardships
  258. 9:31that here and i'm missing in the picture
  259. 9:33i need to photoshop myself in because i
  260. 9:35do have a blue
  261. 9:36shirt it's the first five shirt
  262. 9:39um anyway um can you guys
  263. 9:42either one of you can share something
  264. 9:45about how a risk fight
  265. 9:46got started i mean we have a lot of
  266. 9:50young students here who are learning
  267. 9:51about risk five and i think they would
  268. 9:53love to hear something about that is not
  269. 9:56you know that that that may not be
  270. 9:58that well known i mean risk five is well
  271. 10:02known now but it has kind of started out
  272. 10:04of a
  273. 10:05blue i kind of gave my version uh
  274. 10:09briefly
  275. 10:10uh young stuff you want to go yeah
  276. 10:13um i think it was probably summer 2010
  277. 10:17i think it was about may uh
  278. 10:20i think it was andrew who kind of came
  279. 10:24um into the office
  280. 10:28saying you know why are we fixing
  281. 10:31or discovering other people's problems
  282. 10:34in the isa and trying to replicate them
  283. 10:37so i guess a bit of backstory on the
  284. 10:39spark machine that we
  285. 10:40originally built it was a spark v8
  286. 10:43machine
  287. 10:45um the whole idea of using a
  288. 10:47commercially
  289. 10:49you know available isa was we thought we
  290. 10:52could reuse
  291. 10:52all the software ecosystem you know like
  292. 10:56the compilers the operating system ports
  293. 10:58that were already
  294. 10:59already built for the isa and it turned
  295. 11:03out
  296. 11:03you know we have read the sparkv manual
  297. 11:06in and out
  298. 11:07and we have implemented the processor
  299. 11:09correctly
  300. 11:10and we thought after we did that we
  301. 11:13could just put
  302. 11:14linux um you know on from the main
  303. 11:17source tree on it
  304. 11:19and it turns out it didn't boot so
  305. 11:20obviously we thought it was our problem
  306. 11:22so we kept debugging it to the point
  307. 11:25where we found out that
  308. 11:26actually the linux kernel of spark b
  309. 11:28worked around a hardware bug
  310. 11:30uh in the silicon and we were just
  311. 11:33finding it
  312. 11:34and we were replicating the same bug so
  313. 11:36that we could use the same software and
  314. 11:37i think that day
  315. 11:38in summer 2010 andrew comes in and says
  316. 11:40why are we doing all this
  317. 11:42there are probably some curse words in
  318. 11:44the middle of that sentence yeah we're
  319. 11:45being recorded so
  320. 11:47um you know andrew was saying why are we
  321. 11:48doing this
  322. 11:50and it was like why don't we just do
  323. 11:51something that we like because
  324. 11:53you know the myths i say um i don't know
  325. 11:55whether
  326. 11:56some folks know about this but there are
  327. 11:58some kind of weird things about it
  328. 11:59there's like
  329. 12:00something called the branch delay slot
  330. 12:03which um the shadow
  331. 12:04instruction of a branch would be
  332. 12:06executed and it was really tied to a
  333. 12:08five-stage pipeline that they
  334. 12:10initially developed so they kind of
  335. 12:11couple the hardware to the software
  336. 12:14and we obviously didn't like about that
  337. 12:16so when we're building our second
  338. 12:17machine on mips we kind of got rid of
  339. 12:19that and
  340. 12:21at the point we were like you know let's
  341. 12:23just go do something we like and
  342. 12:24we started doing some stuff we changed
  343. 12:27um some of it um i think we actually
  344. 12:30used a very initial version in cs 152
  345. 12:34so if you go look back in like
  346. 12:372012 cs 152 um you'll probably see the
  347. 12:41initial versions of wrist five
  348. 12:43which um basically is not the same isa
  349. 12:47actually the one that's available today
  350. 12:49but
  351. 12:50you know we kind of incrementally made
  352. 12:52first five
  353. 12:53better and better and better um to the
  354. 12:56point where
  355. 12:57in 2013 i think we put everything online
  356. 13:03risk5.eke.berkeley.edu
  357. 13:04and we didn't really know who would be
  358. 13:06interested in
  359. 13:08using it and but but andrew kept
  360. 13:12changing clients saying to the point
  361. 13:15where some people started emailing us
  362. 13:17asking stop changing the isa we're
  363. 13:20trying to do something with it
  364. 13:21so so this game was quite a surprise to
  365. 13:23us uh so um you know researchers at
  366. 13:25other universities and
  367. 13:26and actually even a couple of people at
  368. 13:29uh
  369. 13:30for-profit corporations were using this
  370. 13:32thing that we had just put on the
  371. 13:33internet that we were using
  372. 13:34you know for our only for our own
  373. 13:35research and teaching purposes
  374. 13:37at the time or so we thought so we
  375. 13:40weren't being uh
  376. 13:41you know a bunch of meanies by uh by
  377. 13:44like
  378. 13:44keep continuing to tweak and make
  379. 13:46backwards and compatible changes to the
  380. 13:47design we were doing so because
  381. 13:49we were trying to improve it and didn't
  382. 13:50realize that other people were relying
  383. 13:51on what we were doing yet
  384. 13:54yeah that stuff happens when you put
  385. 13:55stuff on something open in the internet
  386. 13:57somebody may be watching you
  387. 13:59indeed actually absolutely true
  388. 14:04all right a few so i'm assuming folks
  389. 14:06who are dialing in are the ones that uh
  390. 14:09are keeping up with the lectures and so
  391. 14:11on so
  392. 14:12so far i mean if they watch i recorded
  393. 14:14videos and uh
  394. 14:16up to the stuff we haven't posted quite
  395. 14:18the stuff for the for wednesday
  396. 14:21but up to wednesday we have covered the
  397. 14:23base isa
  398. 14:24integer is a 32
  399. 14:27bit version so can you share some
  400. 14:30insights you know
  401. 14:31were there some instructions there that
  402. 14:33didn't quite make it
  403. 14:34that for early on in and then they
  404. 14:38uh get dropped well i guess there's kind
  405. 14:41of two answers to this question
  406. 14:42one thing is like we we developed this
  407. 14:44philosophy of having a very small base
  408. 14:46isa and then having a bunch of
  409. 14:48optional extensions uh idea being that
  410. 14:51the the base isa is
  411. 14:52suitable for like very simple embedded
  412. 14:54computers and is
  413. 14:56also suitable for you know for
  414. 14:58educational purposes
  415. 14:59um and then there's a whole bunch of
  416. 15:01instructions in these other extensions
  417. 15:02which are not
  418. 15:03bad ideas they just are more than you
  419. 15:06need for certain kinds of systems like
  420. 15:07for example
  421. 15:08um floating point arithmetic
  422. 15:10instructions and virtual delivery
  423. 15:12but i think to uh but i guess the other
  424. 15:14answer is like was there stuff in there
  425. 15:15that got dropped i think you know one
  426. 15:17thing that comes to mind is
  427. 15:18some other architectures have uh fairly
  428. 15:21complex
  429. 15:22addressing modes for their loading store
  430. 15:23instructions like you know you can
  431. 15:25compute an effective address by like uh
  432. 15:27taking a register and adding it to a
  433. 15:30shifted copy of another register and
  434. 15:32adding a constant stuff like that like
  435. 15:33the intel architecture for example has
  436. 15:34this addressing mode
  437. 15:36and stuff like that we considered they
  438. 15:38didn't end up making the cut because it
  439. 15:39adds complexity to the simplest
  440. 15:41implementations makes the isa
  441. 15:43harder to teach and for a lot of
  442. 15:45applications it does it just doesn't end
  443. 15:46up helping that much
  444. 15:48and i think andrew yeah and andrew i
  445. 15:51think you got rid of zero
  446. 15:52extension right in the i say oh that's
  447. 15:54true so um
  448. 15:56yeah so one property of the uh
  449. 15:57arithmetic instructions in this five is
  450. 15:59that uh some of them have immediate
  451. 16:00operands
  452. 16:01and the immediate operands are always
  453. 16:03side extended even when they're
  454. 16:04logically
  455. 16:05describing unsigned quantities and this
  456. 16:07simplifies the hardware implementation
  457. 16:09and it actually
  458. 16:10didn't have any negative effect on
  459. 16:11performance despite being simpler
  460. 16:13so uh i think uh yeah the lesson is
  461. 16:15don't assume that you know the people
  462. 16:17who came before you necessarily got
  463. 16:18everything right
  464. 16:20and there were things that actually got
  465. 16:21more complicated as well
  466. 16:23um you probably all wonder why
  467. 16:26the complicated immediate kind of person
  468. 16:30there is i'll tell you the original
  469. 16:32version of risk five
  470. 16:34you can actually go back um in history
  471. 16:37on cs152 lectures
  472. 16:39it didn't start out like that and i
  473. 16:41actually for the record i was against it
  474. 16:44and this is kind of you know caution um
  475. 16:46uh cautioning you all
  476. 16:48just you know optimizing some stuff
  477. 16:53maybe andrew can talk a little bit about
  478. 16:55why it ended up that way
  479. 16:57yeah i don't want to go into too much
  480. 16:58detail since y'all haven't covered that
  481. 17:00yet in 61c but
  482. 17:01um but the basic uh premise here is that
  483. 17:03sometimes you can make trade-offs that
  484. 17:05slightly reduce harbor cost but
  485. 17:07significantly increase the logical
  486. 17:08complexity of the thing and
  487. 17:10that's a tough judgment call to make
  488. 17:13right uh yeah and it's it's a
  489. 17:16that rastness rat's nest that is going
  490. 17:19to show up in next week's lectures
  491. 17:21is a tough one to explain uh by the way
  492. 17:24i mean i
  493. 17:25i when i learned computer architecture
  494. 17:28as an undergrad i
  495. 17:29they spent about two weeks on x86
  496. 17:31addressing modes and i
  497. 17:32don't remember them all anymore because
  498. 17:34there are so many of them
  499. 17:38you know this is risk five i didn't
  500. 17:39mention that it's a simple load store
  501. 17:41machine
  502. 17:42the only thing you can do are loads of
  503. 17:43swords
  504. 17:45a few other questions um
  505. 17:48i was going to ask you about envionness
  506. 17:50but uh i'll skip on on that
  507. 17:53um well i'm going to answer that anyway
  508. 17:56let me ask you the question yeah i'm
  509. 17:58still about the envy on this
  510. 18:00and there is a lot of uh people i mean
  511. 18:02rhys 5 is a little indian but there was
  512. 18:04people who are pushing for this fight to
  513. 18:06be uh by
  514. 18:06indian andrew strong opinions
  515. 18:10so um okay so here's my strong opinion
  516. 18:13it's not that i'm a bigot for little
  517. 18:15indians
  518. 18:15so uh i make the analogy to
  519. 18:19which side of the road you drive a car
  520. 18:20on so you know it's the opposite in the
  521. 18:22uk as it is in north america
  522. 18:24and both systems are perfectly valid no
  523. 18:26one has neither has any significant
  524. 18:28advantage of the other
  525. 18:29the screw-up is that there are two
  526. 18:30systems and you have to learn two
  527. 18:32systems in order to operate in both
  528. 18:33contexts so little indian isn't better
  529. 18:36than big indian
  530. 18:36or vice versa really but uh but you know
  531. 18:39different distance
  532. 18:40different like systems designers back in
  533. 18:42the middle of the 20th century made
  534. 18:43their choices there unfortunately um so
  535. 18:46we chose little and even initially
  536. 18:47because that was most popular in
  537. 18:48applications and server processors at
  538. 18:50the time like the intel architecture for
  539. 18:52example
  540. 18:54um
  541. 19:00so the thing is the pendulum might be
  542. 19:02swinging back a bit in the sense that
  543. 19:04we probably will have to make it a buy
  544. 19:05indian isa ultimately because
  545. 19:08um some markets are big indian like uh
  546. 19:11like pretty much everything in japan
  547. 19:12that's what is big indian um so uh in
  548. 19:15order to make risk five applicable there
  549. 19:17we don't wanna say
  550. 19:18you know you know japan shouldn't build
  551. 19:20just five processors because we prefer
  552. 19:22little india
  553. 19:23so it's going to end up being
  554. 19:26a big deal all right so shifting gears a
  555. 19:29bit
  556. 19:30so i before sci-fi they were
  557. 19:33really for about five years there are no
  558. 19:35hardware startups
  559. 19:37you guys went into what was considered
  560. 19:39to be in completely uncharted territory
  561. 19:41so
  562. 19:42how is life in a hardware startup i mean
  563. 19:44this is you guys are not a time
  564. 19:46startup anymore i i don't know can you
  565. 19:47share how many people are in
  566. 19:49sci-fi but a lot more than uh
  567. 19:52three or four of you that were early on
  568. 19:56yeah so how's the light in in our
  569. 19:57startup uh
  570. 20:00is a cto and and uh andrew is a chief
  571. 20:03architect and you know they
  572. 20:05are still maybe in their 20s or
  573. 20:08you know just left their 20s you can
  574. 20:12go for it yeah um we're currently 500
  575. 20:16people so
  576. 20:17life is pretty different compared to
  577. 20:19when we started the company when we were
  578. 20:21three people
  579. 20:22but yeah um five years ago when we
  580. 20:24started the company hardware startups
  581. 20:26were not a thing it was actually two
  582. 20:29years ahead of the ai
  583. 20:30kind of wave of hardware startups
  584. 20:34uh i've been kind of talking with lots
  585. 20:36of
  586. 20:38investors on you know starting a
  587. 20:41free and open processor based you know
  588. 20:45startup and just think about that sound
  589. 20:49when there's no harm virtually no
  590. 20:51hardware startups and you go meet an
  591. 20:52investor and say hi i'm jensep lee i
  592. 20:55am interested in building a you know
  593. 20:57open source processor based startup
  594. 20:59the running joke was the more the
  595. 21:02investor knew about hardware they would
  596. 21:03cut me off earlier and the world's
  597. 21:05record is two sentences actually it was
  598. 21:07it was an investor who had a stanford ee
  599. 21:11phd perhaps that was the problem
  600. 21:13but that uh he he i went in two
  601. 21:16sentences i said hi i'm joseph lee i'm
  602. 21:18i'm interested in building a
  603. 21:20open source processor-based startup he
  604. 21:22just cuts me off there and says
  605. 21:24not interested good luck you know i
  606. 21:28later you know to thank him he saved my
  607. 21:30time he saved his time but
  608. 21:32you know eventually um we found
  609. 21:35surrey hill ventures who were interested
  610. 21:37in building infrastructure-based
  611. 21:40startups and they were they thought
  612. 21:43verse 5 would become a big thing and i
  613. 21:46think
  614. 21:47obviously we can't predict a lot of the
  615. 21:50news like the one that came out
  616. 21:51yesterday where
  617. 21:53nvidia acquires arm and all of a sudden
  618. 21:56the
  619. 21:56entire semiconductor industry is kind of
  620. 22:00you know just trying to cope with what's
  621. 22:02what's going to happen and
  622. 22:04i think it's a it's it's a it's a big
  623. 22:07opportunity for risk buy but
  624. 22:08obviously you can't kind of predict
  625. 22:11those events
  626. 22:12when we're doing a startup but you know
  627. 22:15startup life is interesting in that
  628. 22:17sense where there's a lot of twists and
  629. 22:18turns
  630. 22:19um on a lot of external factors but you
  631. 22:22know i think
  632. 22:23the parts that we can control is what we
  633. 22:26do
  634. 22:27internally at sci-fi where you know we
  635. 22:30get
  636. 22:31we get at it every day and we make
  637. 22:34incremental progress every day
  638. 22:37thank you this is it's pretty crazy i
  639. 22:40mean
  640. 22:41what you guys went through is pretty
  641. 22:42crazy um
  642. 22:44and i mean i i can share that one of the
  643. 22:48um of the venture capitalists before
  644. 22:52funding you you know comes to me and
  645. 22:54says have you heard of
  646. 22:55open source hardware i mean is this is
  647. 22:57this
  648. 22:58make any sense totally
  649. 23:01totally yeah it's amazing
  650. 23:05how much things have changed since then
  651. 23:06uh you know i think a lot of it has to
  652. 23:08do with uh
  653. 23:09you know with the these revolutions
  654. 23:10happening in machine learning and
  655. 23:11artificial intelligence
  656. 23:13but uh you know venture capitalists seem
  657. 23:15to be letting like willing to let a
  658. 23:16thousand flowers view
  659. 23:17and they're funding a whole bunch of
  660. 23:18parker startups including some that are
  661. 23:20fairly similar to each other it's
  662. 23:22very different than it was even just a
  663. 23:23few years ago
  664. 23:25yeah even though even though it sounds
  665. 23:28like a
  666. 23:29pretty big change i think a lot of the
  667. 23:31external factors were there
  668. 23:34i think perhaps the biggest one is the
  669. 23:36slowdown of moore's law
  670. 23:38where you know when it was the golden
  671. 23:42era of moore's law was every 18 months
  672. 23:44you would get smaller bigger i mean
  673. 23:47smaller transistors and
  674. 23:49exponential amount of them 2x of them
  675. 23:52so in that era um there was kind of no
  676. 23:56need to customize
  677. 23:57the hardware per se where you get out of
  678. 24:00your way to go
  679. 24:01you know build a custom architecture for
  680. 24:04a certain domain
  681. 24:05you really didn't need to do that the
  682. 24:07the job of a computer architect was turn
  683. 24:09those
  684. 24:10extra transistors into better faster
  685. 24:13computers right
  686. 24:14and there's obvious places to use those
  687. 24:17transistors you know
  688. 24:18make the caches bigger you know
  689. 24:20integrate a floating point unit
  690. 24:22those type of ideas but now like
  691. 24:25once moore's law slows down there's
  692. 24:28really no
  693. 24:28golden formula to make your processor or
  694. 24:31your compute chip better
  695. 24:32and you know the need for customization
  696. 24:36was rising and
  697. 24:37there was just it was not really
  698. 24:39possible
  699. 24:40and you kind of see how linux changed
  700. 24:43the entire world
  701. 24:45so i think there was those trends i
  702. 24:47think the betting part the gambling part
  703. 24:49was really how fast it would all unfold
  704. 24:51and i think
  705. 24:52that part was kind of to our surprises
  706. 24:55going really really fast we're still
  707. 24:57going fast
  708. 24:58so it's it's a really exciting time to
  709. 24:59be a computer architect uh even
  710. 25:01because moore's law is ending uh you
  711. 25:03know it's it's pushing a lot more uh
  712. 25:05effort into customization apart
  713. 25:08therefore you know specific
  714. 25:09complications and algorithms
  715. 25:11which uh as you have said you know
  716. 25:13people hardly considered doing
  717. 25:14in general purpose computing even 20
  718. 25:17years ago
  719. 25:20that sounds um all really exciting so
  720. 25:23i mean our students are definitely now
  721. 25:25confused i mean here are a lot of things
  722. 25:26i mean
  723. 25:27believe me dan and i pitched in like the
  724. 25:29first lecture this
  725. 25:30need for customization it's not that
  726. 25:33easy
  727. 25:34to do that it's a really good marketing
  728. 25:37pitch
  729. 25:38for now it really sells well at all
  730. 25:40levels but it
  731. 25:41will need a few villages to implement
  732. 25:43that
  733. 25:44um the question do you have career
  734. 25:46advice for our students
  735. 25:48you know and then related to that um do
  736. 25:50you hire undergrad interns by any chance
  737. 25:52uh you know how does that happen i mean
  738. 25:55uh do we
  739. 25:56you know should they just apply on the
  740. 25:57website is there a magical way how
  741. 26:00how does that happen um do you hire is
  742. 26:02there a secret handshake that's what i
  743. 26:04wanted is there a secret handshake they
  744. 26:05could the berkeley
  745. 26:07you know secret handshake to get in
  746. 26:08that's so that's what we're right now
  747. 26:10yeah what's the password 61c
  748. 26:14well you can email younsep at scifi.com
  749. 26:16or android scifi.com
  750. 26:18while i give our 150 of those
  751. 26:21well you know bring it on uh yeah i
  752. 26:24think um
  753. 26:25i think curry advice um you know i i had
  754. 26:28great great mentors throughout
  755. 26:30i guess my you know limited career so
  756. 26:33far but
  757. 26:34i think one thing that really resonated
  758. 26:35with me was um
  759. 26:38uh when i
  760. 26:41say something you know an idea to
  761. 26:43somebody else
  762. 26:44and you know i get like a murky kind of
  763. 26:48response
  764. 26:49uh well i you know don't get discouraged
  765. 26:52by that there there could be a couple
  766. 26:53reasons behind that
  767. 26:54um uh or when people say well that
  768. 26:58sounds impossible
  769. 26:59you know it's kind of a moment to stop
  770. 27:02and think about it
  771. 27:03um obviously not all ideas are great but
  772. 27:05at least don't get
  773. 27:06discouraged by some people saying you
  774. 27:08know like maybe that's not a good idea
  775. 27:10or something you know because
  776. 27:12if i heard all those things so far we
  777. 27:14probably wouldn't have
  778. 27:15you know gotten to risk five but you
  779. 27:18know
  780. 27:18i i ended up you know kind of doing
  781. 27:21interesting things exciting things that
  782. 27:23really was fun to me with
  783. 27:25you know great friends and colleagues
  784. 27:27like andrew and i think you know it's
  785. 27:28it's it's really it's really great yeah
  786. 27:32so i find it kind of difficult to give
  787. 27:33career advice because i think a lot of
  788. 27:35uh the success stories that we've had is
  789. 27:37serendipitous not to say that we haven't
  790. 27:39worked really hard for it as well but
  791. 27:41you know i think like a lot of things
  792. 27:42lined up in ways that that we didn't
  793. 27:44really anticipate
  794. 27:45but i guess like you know one bit of
  795. 27:46advice i have is find people you like
  796. 27:48working with
  797. 27:48and continue working with them that's
  798. 27:50been a consistent theme the whole time
  799. 27:52you've been doing this so it's worked
  800. 27:53really well
  801. 27:55we got plenty of those but i mean this
  802. 27:57is pretty crazy story right 2010
  803. 27:59junior graduate students
  804. 28:02started a new architecture 10 years
  805. 28:05later
  806. 28:05it's not just that sci-fi has 500
  807. 28:07employees
  808. 28:09doing their dream job but there is like
  809. 28:11a dozen
  810. 28:12risk-five hardware startups startup
  811. 28:15seller or more i i don't know how many
  812. 28:17um i i stopped counting when when we got
  813. 28:19to i don't know five or six or something
  814. 28:21like that
  815. 28:22um um i have
  816. 28:26two quick questions and then we need to
  817. 28:27go back to to our agenda
  818. 28:30one is
  819. 28:34in today's news in a shadow of the arm
  820. 28:37acquisition there is the announcement
  821. 28:38that
  822. 28:40sci-fi will in october present uh risk
  823. 28:445 pc you know that's a dream right at
  824. 28:46that moment that we have closed
  825. 28:47everything
  826. 28:48is there anything you can say i i know
  827. 28:50that you know that you're supposed to
  828. 28:52make an announcement and you know
  829. 28:54yonsept is the one that is supposed to
  830. 28:55do
  831. 28:56to do the speaking there is there
  832. 28:58something that you can say
  833. 28:59msbs or you know a couple of bits of
  834. 29:01that yeah
  835. 29:02um so so far when we started sci-fi
  836. 29:07perhaps the biggest problem or the
  837. 29:09biggest challenge rather
  838. 29:12was to build a software ecosystem around
  839. 29:14a new
  840. 29:15isa or new architecture because
  841. 29:18at the end of the day what sells
  842. 29:20hardware is software there needs to be a
  843. 29:22lot of interesting software that runs on
  844. 29:24top of
  845. 29:24you know the hardware that's the only
  846. 29:26reason why the hardware is interesting
  847. 29:28right
  848. 29:28so we're built we're trying to bootstrap
  849. 29:31a linux software ecosystem
  850. 29:34and it's kind of a well-known secret
  851. 29:36that software people only start working
  852. 29:38once there's like a piece of hardware on
  853. 29:39your
  854. 29:40desk and that's definitely true and at
  855. 29:42the time we really didn't have that
  856. 29:44you know that that piece of hardware on
  857. 29:46the desk so
  858. 29:47we ended up building a development board
  859. 29:49called high five unleashed
  860. 29:51that was our initial version we had very
  861. 29:54limited production of the board
  862. 29:56a lot of people were very excited um
  863. 29:59using that board to develop their
  864. 30:02favorite risk five software um since
  865. 30:05then we had a lot of requests to
  866. 30:06continue developing on that so you can
  867. 30:08kind of
  868. 30:09you know continue thinking that it's you
  869. 30:11know it's a next step up to that board
  870. 30:14and if you're going to build a
  871. 30:15development board why not kind of make
  872. 30:17it
  873. 30:17like a pc you know i think lioness said
  874. 30:21it
  875. 30:21you know in order for a architecture to
  876. 30:24thrive you need more developers
  877. 30:26actually using it for their daily kind
  878. 30:28of day-to-day um
  879. 30:29jobs and i think it's gonna be a very
  880. 30:33interesting milestone for risk five at
  881. 30:35sci five to market that board
  882. 30:37massively to the you know to the market
  883. 30:39for people to
  884. 30:41use it for their daily lives
  885. 30:45i mean you you guys can just imagine
  886. 30:48having hive machines built out of risk
  887. 30:50five
  888. 30:51such that you know just the whole thing
  889. 30:52makes total sense suddenly without
  890. 30:54having to learn
  891. 30:55x86 addressing modes for three weeks
  892. 30:59and yeah that's right and i mean
  893. 31:03the main kind of part of starting sci-fi
  894. 31:06for me was
  895. 31:07um when i was learning computer
  896. 31:09architecture i always
  897. 31:10kept learning something partially and
  898. 31:12then once i went to like
  899. 31:14to work at a company they would always
  900. 31:17tell me like
  901. 31:18here's the real isa it gave me like 10
  902. 31:20volumes of
  903. 31:21like books i think if we actually
  904. 31:25take risk five off the ground at the way
  905. 31:26we think we want to then
  906. 31:28whatever you learn in your 61c class
  907. 31:30would be exactly the same thing that's
  908. 31:32going to be used
  909. 31:33when you go get a job so there's no
  910. 31:36additional learning that you need
  911. 31:37you need to be doing i thought that
  912. 31:38would be really cool right and i think
  913. 31:40the moment
  914. 31:41for me um on kind of the linux
  915. 31:44thing was when their web browser came up
  916. 31:47on on risk
  917. 31:48on a on on on like a graphical screen
  918. 31:52you you know click the web browser and
  919. 31:53you could go to risk 5. and you can kind
  920. 31:55of see it
  921. 31:56actually working that was
  922. 32:00yeah that's cool um we have a couple of
  923. 32:02questions from students uh
  924. 32:03maybe there may be a question from ta so
  925. 32:06one is how do you make money off of
  926. 32:08open source hardware um it's very hard
  927. 32:11to so sci-fi sells proprietary
  928. 32:13processors as well as maintaining open
  929. 32:15source ones
  930. 32:18magical specialization yeah
  931. 32:21i see a question um i guess
  932. 32:25ask towards me when do you know when to
  933. 32:27quit an idea um that's that's a good one
  934. 32:30i actually had an internal deadline um
  935. 32:32not
  936. 32:33posed by myself but from my family
  937. 32:36saying
  938. 32:37you will you will pursue your dream
  939. 32:39until
  940. 32:40october 2015. and if it doesn't work out
  941. 32:43well
  942. 32:44you know tough love um you know it's
  943. 32:46time to move on so that was kind of my
  944. 32:49deadline and it kind of had two effects
  945. 32:51on me actually
  946. 32:52one was that well if i want to make my
  947. 32:54dream happen i kind of think it happened
  948. 32:56before october and
  949. 32:57kind of um you know i had a good you
  950. 33:00know outcome
  951. 33:01um as a deadline so i think that that
  952. 33:04that was the one that worked for me
  953. 33:06i think having a deadline um until you
  954. 33:09give it your best and
  955. 33:11you know if it doesn't work out maybe
  956. 33:12there's another chance for it it's kind
  957. 33:14of how i
  958. 33:14used to think but you know for me
  959. 33:16obviously it's easy to say because
  960. 33:18everything worked out um but you know
  961. 33:20it's hard to say
  962. 33:21it's a really tough call
  963. 33:25all right um
  964. 33:30oh to you who has been your most
  965. 33:33important mentor
  966. 33:34during undergrad
  967. 33:38um that's a very good question let me
  968. 33:40think about it um
  969. 33:42i had such great friends and professors
  970. 33:47i think it was a professor back at my
  971. 33:49undergrad who
  972. 33:51was kind of teaching things very
  973. 33:54in an interesting way where he would
  974. 33:57just
  975. 33:57keep things very open-ended and he would
  976. 34:00basically
  977. 34:02you know tell me a lot of things were
  978. 34:05not impossible to do
  979. 34:06um but i think it was really
  980. 34:10friends as you know that i work with
  981. 34:12together
  982. 34:13that you know kept doing things that
  983. 34:16seemed pretty hard
  984. 34:18and you kind of reinforce yourself that
  985. 34:21you can if you work hard you can
  986. 34:23actually make things happen
  987. 34:25um and with you know a dedicated small
  988. 34:28team
  989. 34:29with small you know smart people you can
  990. 34:31actually make things happen
  991. 34:32i think it was kind of that
  992. 34:33reinforcement mechanism that kept me
  993. 34:35going
  994. 34:36um and you know eventually say you know
  995. 34:39building a processor well you know let's
  996. 34:41see
  997. 34:41let's see whether it can be done and
  998. 34:43come to berkeley and you meet you know
  999. 34:45like people like andrew bora
  1000. 34:47you know krista dave actually borah i
  1001. 34:49think the one unique thing about the
  1002. 34:51berkeley phd program is nobody told us
  1003. 34:53that building a computer was impossible
  1004. 35:01that's an excellent one any other quick
  1005. 35:04questions from the others in the
  1006. 35:14dantes
  1007. 35:18all right uh let's thank uh yonzap and
  1008. 35:22andrew um this is a i hope people
  1009. 35:25understand this is a quite unique
  1010. 35:27experience
  1011. 35:28having two founders of this five who
  1012. 35:30actually
  1013. 35:31made risk by possible and founded the
  1014. 35:33company that is making that that are
  1015. 35:35going to make a risk by pc
  1016. 35:38um and make it available to the world in
  1017. 35:41a couple of months
  1018. 35:42pretty crazy stuff i know if you guys
  1019. 35:45feel the vibe feel the electricity and
  1020. 35:48the
  1021. 35:48in the air how the world is changing
  1022. 35:51thanks insane andrew
  1023. 35:52uh we are going to go back to our main
  1024. 35:54program and deal with the rest
  1025. 35:57of the stuff that we have in the agenda
  1026. 35:59thanks so much
  1027. 36:00thank you so much for joining us folks
  1028. 36:03go bears thanks again folks that was
  1029. 36:06great
  1030. 36:08control yeah i'll take over the next
  1031. 36:11piece of it um
  1032. 36:12let's talk a little bit about the quest
  1033. 36:14uh the quest happened this weekend
  1034. 36:17hopefully you all knew about it you
  1035. 36:19could in theory join 621c tomorrow and
  1036. 36:21find out about the quest
  1037. 36:23happened a day ago thank you all for the
  1038. 36:25feedback uh this is our first time
  1039. 36:28launching this new system prairie learn
  1040. 36:30i want to certainly put a lot of
  1041. 36:32love to cc who put a lot of the work
  1042. 36:34into building in the background and
  1043. 36:36and making sure she knew all about
  1044. 36:38technically how to make it run so that
  1045. 36:39all the questions we were designing
  1046. 36:40together could get in there correctly
  1047. 36:42and all that
  1048. 36:43and i also think a lot of tas are
  1049. 36:45helping with the auto grading because
  1050. 36:46one of the things we did is that is
  1051. 36:48complicated but we couldn't turn the
  1052. 36:50grading off so you all would have
  1053. 36:51clicked the button and immediately got
  1054. 36:52your grade and that we didn't want that
  1055. 36:54to happen so we
  1056. 36:55turned that off but it meant that we
  1057. 36:56couldn't use the default auto graders
  1058. 36:58that are part of it
  1059. 36:58we have to now extract all the data out
  1060. 37:00of the system and then put it back into
  1061. 37:02grade scope and then figure out how to
  1062. 37:03make all that work so we're doing all
  1063. 37:05that
  1064. 37:05a ton of great folks are working with
  1065. 37:06that on the tiers i want to thank those
  1066. 37:08folks for
  1067. 37:08working with that as well so i wanted to
  1068. 37:12say keep it coming keep on
  1069. 37:13flowing with that kind there's a whole
  1070. 37:15long thread about quest timing so please
  1071. 37:17do do
  1072. 37:17do talk about that we do know that it
  1073. 37:20was too long
  1074. 37:21our estimates for how long it should
  1075. 37:23have taken was was way under under
  1076. 37:25under budgeted and by the way when that
  1077. 37:26happens normally here's how
  1078. 37:28when that happens in a real exam happens
  1079. 37:29also in real exams too are you under
  1080. 37:31budget how long the exam should take
  1081. 37:33what typically happens is
  1082. 37:34people can't finish and it's really
  1083. 37:36unfair um so i still think that this
  1084. 37:38unlimited i mean 24 hour time model is a
  1085. 37:41better model
  1086. 37:41even though we'll try to do better not
  1087. 37:43to say we're going to keep aiming for a
  1088. 37:44seven hour exam
  1089. 37:45let's always go back and try to aim for
  1090. 37:46one hour exam but that gave us a little
  1091. 37:48bit of breathing room that we normally
  1092. 37:49wouldn't have had i've had final exams
  1093. 37:51that were too long
  1094. 37:52and people were just angry because they
  1095. 37:53said i know the how to answer question
  1096. 37:55seven
  1097. 37:55i just couldn't get to it and so that's
  1098. 37:57really unfair didn't happen this time so
  1099. 37:59i do think that this is a better system
  1100. 38:01taking this thing as homes and we're
  1101. 38:02gonna try to do better in terms of time
  1102. 38:03scales
  1103. 38:04our expectations also need to be better
  1104. 38:06in terms of making sure you'll get a
  1105. 38:07sense of
  1106. 38:08a practice exam being kind of the same
  1107. 38:10topic and range
  1108. 38:11uh we did have a you know coding
  1109. 38:12question the practice exam but people
  1110. 38:14didn't somehow didn't think that that
  1111. 38:15was going to be
  1112. 38:15what you'd be doing for the final one
  1113. 38:17you know that was kind of a little bit
  1114. 38:18of a taste of that
  1115. 38:18we made it a little bit harder than that
  1116. 38:20but we'll try to have a similar thing so
  1117. 38:22that
  1118. 38:22you'll get a sense of roughly the
  1119. 38:23difficulty and roughly the kind of
  1120. 38:24problem so maybe we'll write two
  1121. 38:25problems and give one away and then
  1122. 38:26we'll
  1123. 38:27actually ask the second one that are
  1124. 38:28obviously different topics not exactly
  1125. 38:30the same problem
  1126. 38:31um because i mentioned the technical
  1127. 38:34issues of taking all the
  1128. 38:35all of your i mean it's a massive file
  1129. 38:37of of the csv of every submission you've
  1130. 38:40given not the video part but just the
  1131. 38:41data from the
  1132. 38:42from the prairieland and getting it out
  1133. 38:44and putting into prairieland and then
  1134. 38:45hacking on that to get the great grades
  1135. 38:47done
  1136. 38:47we're going to try to get that done by
  1137. 38:48tuesday night all of our tas are working
  1138. 38:51overtime to make this happen and i want
  1139. 38:52to thank them for again for that work
  1140. 38:53that they're doing
  1141. 38:54uh and we're hopefully tuesday night is
  1142. 38:55the deadline the worst case wednesday
  1143. 38:57morning but
  1144. 38:57that's the hard deadline you guys need
  1145. 38:58to know whether to drop the class or not
  1146. 39:00i don't want anybody to drop the class
  1147. 39:03based on bombing the quest
  1148. 39:04i mean chalk it up to bad expectations
  1149. 39:07not telling you how much it took if you
  1150. 39:09started the exam with two hours to go
  1151. 39:10thinking yeah the game has said an hour
  1152. 39:12that it's not fair because you probably
  1153. 39:14needed seven hours or four hours or two
  1154. 39:15a lot of people did less and and if you
  1155. 39:18knew you see or
  1156. 39:19you know more flu and that kind of thing
  1157. 39:20you probably took less time and
  1158. 39:23we've learned all about those things and
  1159. 39:24so uh what we're going to do
  1160. 39:27get the grades back to you as soon as we
  1161. 39:28can wednesday morning i want to
  1162. 39:29encourage you all to stay with the class
  1163. 39:32okay all to stay with the class i
  1164. 39:34believe
  1165. 39:35because we have in yellow a full clobber
  1166. 39:38available
  1167. 39:40almost no other class offers it almost
  1168. 39:42no other class offers it
  1169. 39:43so what that means is that times two
  1170. 39:46times yeah
  1171. 39:47double clobber you can even clobber from
  1172. 39:49the final
  1173. 39:50to the quest or from the midterm to the
  1174. 39:52quest so please stay with it we we want
  1175. 39:55us to we want you to lose you guys we
  1176. 39:56want you to stay with the class you put
  1177. 39:57a lot of work into it
  1178. 39:58it's a great class we put a lot of you
  1179. 40:00know effort into hiring great people
  1180. 40:02stay with this if you can i mean
  1181. 40:04obviously if you're finally okay you
  1182. 40:05know what this quest is one data point
  1183. 40:07to tell me that i can't manage the
  1184. 40:08semester
  1185. 40:09we understand if you drop it that case
  1186. 40:10but don't take a bad score if you you
  1187. 40:12know had enough time to study for it
  1188. 40:14uh and you think you can work to fit the
  1189. 40:16workload in with your schedule please
  1190. 40:17don't drop it
  1191. 40:18because of that because we'll give you a
  1192. 40:19chance to overwrite that grade
  1193. 40:20completely uh 100
  1194. 40:22not some people actually only got a
  1195. 40:24partial credit a clubber where like
  1196. 40:26you have to own 25 of it you can clap
  1197. 40:28for 75.
  1198. 40:29now we are certainly uh doing this uh
  1199. 40:32doing this
  1200. 40:33oh look at this i didn't know this i'm
  1201. 40:34seeing some everybody gets an extra
  1202. 40:36emergency drop so even there you can use
  1203. 40:38the emergency drop you get one free one
  1204. 40:40one free get out of jail card that's get
  1205. 40:41a jail free card um
  1206. 40:44so that's great uh so that's the full
  1207. 40:46clubber um we will
  1208. 40:48there are a lot of questions about you
  1209. 40:49know how do i know when i need to retake
  1210. 40:50it
  1211. 40:51we're all just trying to survive this
  1212. 40:53week so we're going to try to if we can
  1213. 40:54get the grades back to you by wednesday
  1214. 40:56i'll consider the week a success
  1215. 40:58the week starting monday not starting on
  1216. 41:00sunday because we we
  1217. 41:01did learn about the quest but we're
  1218. 41:03going to start monday get the grades
  1219. 41:04back to you then phew you all make a
  1220. 41:05decision get
  1221. 41:06there there's obviously people can be
  1222. 41:07unhappy with this um
  1223. 41:10we are not the current planners we are
  1224. 41:12not going to look at code if you
  1225. 41:13couldn't get it to compile
  1226. 41:14it might be 99 there but if you couldn't
  1227. 41:17get to compile we're not going to give
  1228. 41:18you points for those things
  1229. 41:19it has to compile but we're going to
  1230. 41:20give a lot of partial credit for all the
  1231. 41:22pieces if you only turned a bit on
  1232. 41:24but couldn't rotate right or couldn't
  1233. 41:25turn a bit off we'll give you points for
  1234. 41:27turning the bit on
  1235. 41:28if you only turn it off we'll give you
  1236. 41:29points for that we only rotate it
  1237. 41:30without turning on and off
  1238. 41:31like so we'll try to do that part of it
  1239. 41:33give you that some part a partial if you
  1240. 41:35couldn't get the whole problem done
  1241. 41:36similar to the other part if you've got
  1242. 41:37some of it working if you didn't do any
  1243. 41:39malice if you didn't do the freeze
  1244. 41:40you have supposed to free it and then
  1245. 41:42move it over and do the split
  1246. 41:43let's see did this put without the
  1247. 41:44without the freeing well we give you
  1248. 41:46some partial for that so there's partial
  1249. 41:47for all the pieces of it as much as we
  1250. 41:48can
  1251. 41:49but if it doesn't work we're not going
  1252. 41:50to give partial credit that's kind of
  1253. 41:51how this works we give you enough time
  1254. 41:52to get it working and if you can get it
  1255. 41:54working we're sorry that's the current
  1256. 41:55plan
  1257. 41:57now here we go what's going to happen is
  1258. 42:01next week we're going to take a look at
  1259. 42:03how the grades looked
  1260. 42:04look at what all the technical issues
  1261. 42:06were there's a ton boy i i've never been
  1262. 42:08on piazza for six hours straight like i
  1263. 42:10was
  1264. 42:10all of us were just on it trying to
  1265. 42:12answer questions as fast as we could
  1266. 42:14um try to give you that feedback um so
  1267. 42:17what we're going to do is take a look at
  1268. 42:18who needs it based on how
  1269. 42:20you know if your camera dropped off for
  1270. 42:2220 seconds we're not going to make you
  1271. 42:23retake it okay if you
  1272. 42:24drop off for 30 seconds you know so
  1273. 42:26we'll look at how the camera drop-off
  1274. 42:28was all the issues every issue needs to
  1275. 42:30be looked at one by one and that takes a
  1276. 42:31lot of time that's a thousand twelve
  1277. 42:33hundred people
  1278. 42:33when you look at all the and uh boys
  1279. 42:35some people have technical issues well
  1280. 42:36my
  1281. 42:37thing was i didn't run out of space so i
  1282. 42:38lost the last minute you know what
  1283. 42:40you did you did fine last minute that's
  1284. 42:42okay whatever we'll look at the numbers
  1285. 42:43we'll look how you did
  1286. 42:44we'll decide whether you know to
  1287. 42:46basically lose the berkeley you all
  1288. 42:47signed the book the honor code you all
  1289. 42:49said hours and cheating
  1290. 42:50well to make a look at how you do how if
  1291. 42:52you had no video we're probably going to
  1292. 42:53ask you to
  1293. 42:54retake it but if you only drop for a
  1294. 42:55little bit we can maybe work out and
  1295. 42:56talk about it
  1296. 42:57and maybe maybe just say it will be fine
  1297. 42:59we'll take your grade okay so we want to
  1298. 43:00ask
  1299. 43:01everybody but we may ask for some of you
  1300. 43:02to do a retake
  1301. 43:04all the details we told next week we'll
  1302. 43:05announce this next monday we'll announce
  1303. 43:07how that's going to work
  1304. 43:08we're going to have different problems
  1305. 43:09we're going to give you not exactly the
  1306. 43:11same problem different
  1307. 43:12problems similar and then go it's just
  1308. 43:14some amazing amount
  1309. 43:15i had by the way how much footage i have
  1310. 43:17i had the last second cc knows this i
  1311. 43:18clicked the button on the forum
  1312. 43:20to allow for one terabyte on that form
  1313. 43:22because it was like a hundred gigs
  1314. 43:24as another gigs no that's two uh how do
  1315. 43:26you don't know let's make our tera
  1316. 43:27literally is the biggest number i could
  1317. 43:29choose on the silly form there's a
  1318. 43:30terabyte of data now and by the way
  1319. 43:32my computer started to hum i was like
  1320. 43:34why is my computer because my computer
  1321. 43:35synced that stupid folder so my google
  1322. 43:37drive was downloading every
  1323. 43:40video as i'm ah that says free
  1324. 43:43why is my free space going from 200 gigs
  1325. 43:45to zero
  1326. 43:46so i unsynced it but it's there and it's
  1327. 43:48crazy so anyway summary is left
  1328. 43:50never exactly my ssd is in paid uh so
  1329. 43:53we're gonna um
  1330. 43:54free snt no don't free ssd
  1331. 43:57rm minus rf star okay no so long story
  1332. 44:01short
  1333. 44:02um we are gonna let you know next week
  1334. 44:03okay and that's the idea
  1335. 44:05now you ready for the next one the next
  1336. 44:07one are you ready for it for the next
  1337. 44:08one i click the next slide here we go
  1338. 44:10the next slide is that the drum roll
  1339. 44:16hey we're giving you an extension of the
  1340. 44:20project
  1341. 44:23so basically a lot of people said and we
  1342. 44:25heard you guys we are hearing you i
  1343. 44:27can't think of a course or we're not
  1344. 44:28listening more than we are we're
  1345. 44:29listening everything you think you say
  1346. 44:31you're saying dan i expected to spend
  1347. 44:32one hour on the exam
  1348. 44:34i spent seven hours that was the time i
  1349. 44:36would have done my project
  1350. 44:38we were gonna and all of us don't just
  1351. 44:39thank me thank the whole team remember
  1352. 44:41the whole team
  1353. 44:42thought about this and made this call uh
  1354. 44:44all of us heads top tiers
  1355. 44:46everybody was bartered at this so long
  1356. 44:49story short you get
  1357. 44:50one extra day on 1a and 1b but no else
  1358. 44:53okay only one that that just give you
  1359. 44:56one day
  1360. 44:57to kind of make up for that but i mean
  1361. 44:59it's
  1362. 45:00look folks what's my most most famous
  1363. 45:02phrase from my number representation
  1364. 45:04come on everybody type it famous phrase
  1365. 45:05four words
  1366. 45:07ain't no free lunch what it means is if
  1367. 45:10i
  1368. 45:10give you a day on this it means you have
  1369. 45:13less days on the stuff after it okay i'm
  1370. 45:15sorry about that but that's how it works
  1371. 45:16we got we can't be slipping too much
  1372. 45:18ain't no free lunch over here so just
  1373. 45:20let you know that's what we got
  1374. 45:22so don't don't don't don't like oh i'll
  1375. 45:25figure that but let me
  1376. 45:26keep going you got to keep pushing this
  1377. 45:27is hard by the way 61c this
  1378. 45:29is the hard weeks am i bored give me
  1379. 45:31some love this is exactly the hardest
  1380. 45:33weeks of this
  1381. 45:34if you can survive these weeks where we
  1382. 45:35throw sea at you and throw risk at you
  1383. 45:37and then
  1384. 45:38the project one in the project it's like
  1385. 45:39literally back to back it br you get to
  1386. 45:41breathe more
  1387. 45:42it's really hard to have any time to
  1388. 45:43breathe here this is just a push push
  1389. 45:45through this
  1390. 45:46my wife i have two kids it's like labor
  1391. 45:49you gotta just
  1392. 45:50push through push push and then you can
  1393. 45:52get to the breathing then breathe
  1394. 45:53breathe
  1395. 45:55push and then breathe so this is a push
  1396. 45:57time four
  1397. 45:59yeah go i mean if you listen to just dan
  1398. 46:01speaking now
  1399. 46:02that's how he speaks in lectures he's
  1400. 46:04about 20 faster than the average i'm
  1401. 46:06about 20
  1402. 46:07slower than the average so you actually
  1403. 46:09get a breather this week
  1404. 46:14so if you watch lectures at half speed
  1405. 46:17or double speed and you can adjust that
  1406. 46:19depending on what you're exactly yeah
  1407. 46:22oh goodness we are learning i mean we're
  1408. 46:24learning how to
  1409. 46:25we haven't done a class like this yeah
  1410. 46:28this is all of us i've never done this
  1411. 46:29for a while
  1412. 46:30exactly and we're learning this and you
  1413. 46:32know you're going to adjust for the for
  1414. 46:33limiter we're going to see a little bit
  1415. 46:35different
  1416. 46:36style of homeworks that are going to
  1417. 46:38help you prepare you know so you don't
  1418. 46:39get the surprise
  1419. 46:41of how does the you know the style of a
  1420. 46:44question
  1421. 46:45um and then we'll practice a little bit
  1422. 46:47more and
  1423. 46:49hopefully the we're going to take out
  1424. 46:52the surprise
  1425. 46:53effect element from the exactly from the
  1426. 46:55from the midterm and the final
  1427. 46:57so your knowledge yeah exactly exactly
  1428. 47:00and that's basically it but yes this
  1429. 47:02i mean week two uh is the toughest i
  1430. 47:05mean this is the fastest
  1431. 47:06quickest store to see and if you
  1432. 47:10if you got it you got it if not i you
  1433. 47:13get more time to to nail it down to
  1434. 47:16to basically code and see that's a
  1435. 47:19really
  1436. 47:19that thing is going to stay forever i
  1437. 47:21wrote my masters and see
  1438. 47:23i lost my speed i mean i lost i wrote
  1439. 47:26twenty thousand lines i'm sticking i
  1440. 47:28wrote my master's in c2 i brought my
  1441. 47:30masters into
  1442. 47:30two i love it it's the old school old
  1443. 47:32school i wrote a power line power line
  1444. 47:34modem
  1445. 47:35uh in c
  1446. 47:38anyway back to that okay yeah yeah yeah
  1447. 47:40well we have about five minutes or four
  1448. 47:42minutes three minutes left now look at
  1449. 47:43the time
  1450. 47:43okay so let's quickly go to what those
  1451. 47:45calendar before you want to take
  1452. 47:46ourselves for the calendar what we're
  1453. 47:47looking at here
  1454. 47:48we got a couple of projects and stuff
  1455. 47:49yeah we have a
  1456. 47:51yeah we have project due dates i can't
  1457. 47:53see this uh
  1458. 47:55well over there so we have a couple of
  1459. 47:57project dues uh
  1460. 47:58do we have a homework and i think uh
  1461. 48:00there is a
  1462. 48:01floating point homework that's out there
  1463. 48:03if you're going to release
  1464. 48:05a risk five homework um relatively early
  1465. 48:08this week
  1466. 48:09um so you can get going if as soon as
  1467. 48:12you finish
  1468. 48:12um floating point this is hopefully a
  1469. 48:14little bit later week
  1470. 48:16conceptually is i would think it's
  1471. 48:18easier risk 5 is a little easier but
  1472. 48:20it's a
  1473. 48:21completely different concept so you're
  1474. 48:23just gone
  1475. 48:24you know from c dove into assembly
  1476. 48:28some people might have seen c before but
  1477. 48:31nobody
  1478. 48:32probably has seen assembly so it's a
  1479. 48:33different concept we are going a little
  1480. 48:35bit slower
  1481. 48:37and you're going to pick up a bit of a
  1482. 48:38speed uh however things when you see how
  1483. 48:41does the memory system really work
  1484. 48:43in assembly that will help really
  1485. 48:46understand how does you know why does
  1486. 48:47the sea do things
  1487. 48:49see do things in a particular way all
  1488. 48:51these
  1489. 48:53mallocs and things like those are going
  1490. 48:55to suddenly make sense
  1491. 48:57sure and we can look forward to next
  1492. 48:59week's calendar as well
  1493. 49:00so just to give you this is we're in
  1494. 49:01week four and week five we can see
  1495. 49:03so this is all the week of risk five
  1496. 49:05we're deep into risk five folks it's
  1497. 49:07five
  1498. 49:07straight lectures of and now we already
  1499. 49:10had one on friday so we've got
  1500. 49:11you know load word story decisions
  1501. 49:13procedures
  1502. 49:14instruction formats so now so this week
  1503. 49:16is kind of how to write risk five
  1504. 49:18so you're there and then we lift the
  1505. 49:20hood next week which is exciting and
  1506. 49:21boris covered these lectures i can't
  1507. 49:22wait to see them
  1508. 49:23which is how what does it actually mean
  1509. 49:25to look at the ones and zeros that what
  1510. 49:27these each of these mean so look at the
  1511. 49:29format of each of these guys how do you
  1512. 49:30translate it from
  1513. 49:31assembly code to machine code i'm going
  1514. 49:33to come back on friday of next week and
  1515. 49:35do a compiling assembly linking and
  1516. 49:37loading and then we're going to
  1517. 49:38do the low level we'll jump all the way
  1518. 49:39down to the low-level stuff after that
  1519. 49:41so we're looking forward to that being
  1520. 49:42kind of a break
  1521. 49:43kind of a breather the first five weeks
  1522. 49:44a third of the class is done and week
  1523. 49:46six we get to the low level stuff which
  1524. 49:48is really really fun too
  1525. 49:49so i'll come back in like at week six
  1526. 49:52and again i mean
  1527. 49:53if you watch me i can't match that i
  1528. 49:56mean there is
  1529. 50:01[Laughter]
  1530. 50:06but i i think i tried to really
  1531. 50:10go relatively slowly and thoroughly
  1532. 50:11through the concepts and
  1533. 50:13they're there they're in a fairly
  1534. 50:15compact form uh we're gonna release the
  1535. 50:17rest of the videos tomorrow for this
  1536. 50:19week
  1537. 50:20and then the next week is also going to
  1538. 50:22be is
  1539. 50:23kind of a bit boring about uh how the do
  1540. 50:26we translate assembly to machine code
  1541. 50:28but then you will see you know some of
  1542. 50:30these things that andrew mentioned about
  1543. 50:32the rats nest or
  1544. 50:33young suspension of transmission
  1545. 50:35immediates
  1546. 50:38we get to the details details exactly by
  1547. 50:40the way i want to say
  1548. 50:42go ahead bart go ahead well i just want
  1549. 50:45to say
  1550. 50:45you don't realize everybody doesn't
  1551. 50:47realize how lucky you are
  1552. 50:49borah helped make risk five happen do
  1553. 50:52you realize this you're learning about
  1554. 50:53risk five from the guy that made it
  1555. 50:54happen that's very exciting i
  1556. 50:56i had nothing to do with it i'm just
  1557. 50:57writing on the coattails of him
  1558. 50:59so you guys please give that love that
  1559. 51:01way because that's
  1560. 51:02great i'm so pleased i've learned to be
  1561. 51:04honest what did i learn from risk five i
  1562. 51:05learned from borah okay if you ask me a
  1563. 51:07question i'll say what did borah teach
  1564. 51:08me last year
  1565. 51:09that's what it is so borah is the
  1566. 51:11awesome guy in the risk five
  1567. 51:12conversation so i love it it's great
  1568. 51:14stuff
  1569. 51:14but a bigger biggest thing would be to
  1570. 51:17get
  1571. 51:17you know uh dan record all of these
  1572. 51:20videos eventually no no
  1573. 51:21no no no no keep up keep it up
  1574. 51:25keep it up you guys are awesome a lot of
  1575. 51:26love both ways both ways good stuff
  1576. 51:29we'll try to bring also very interesting
  1577. 51:31people i mean one thing that we have we
  1578. 51:33have both we have connections to this
  1579. 51:35industry and that there is an
  1580. 51:36opportunity here to bring joseph and
  1581. 51:37andrew and
  1582. 51:38some other people that there is there is
  1583. 51:40no way
  1584. 51:41to bring life into a lecture so i think
  1585. 51:44stay tuned for the next week's lecture
  1586. 51:46we're going to be lucky this is amazing
  1587. 51:48and borah knows a lot of people his
  1588. 51:50list of people he's going to contact is
  1589. 51:51much bigger than a list of people i
  1590. 51:52would contact so we're going to have a
  1591. 51:53lot of really great people
  1592. 51:54all relevant to 621c in some way that's
  1593. 51:56the idea so it's just great so so i'm
  1594. 51:58really thankful for all the work you put
  1595. 52:00into to get the guest
  1596. 52:01and today was great i really appreciate
  1597. 52:02meeting those two guys i had met them
  1598. 52:03before that was nice
  1599. 52:05good stuff all right so
  1600. 52:08that's it i think we try to answer most
  1601. 52:10of these guys in the future
  1602. 52:12uh partial credit we're again we're not
  1603. 52:14gonna do partial credit we're gonna pass
  1604. 52:15your credit on the
  1605. 52:16auto grading kind of stuff but not
  1606. 52:17looking at code and next time if you
  1607. 52:19need to go to the bathroom that's why i
  1608. 52:20broke it up into pieces
  1609. 52:21hit the restroom and then jump in and
  1610. 52:23lock in there and then hit the restroom
  1611. 52:24again for pieces so we'll break up an
  1612. 52:26example a lot more pieces like that and
  1613. 52:27we'll do that next time all right
  1614. 52:28thanks everybody we'll see you next week
  1615. 52:34thanks everybody we got 200 people all
  1616. 52:36right good stuff
  1617. 52:38hey we got 120 at some point you did you
  1618. 52:40got me on this i can't believe i was
  1619. 52:42i was thinking we'd have four cc
  1620. 52:47you win the price is right conversation
  1621. 52:49good stuff see you guys we'll see you
  1622. 52:50next week all right
  1623. 52:52thanks folks okay bye

About this transcript

This page contains the full transcript of [CS61C FA20] Weekly Lecture 04.LIVE - RISC-V by CS 61C Departmental, generated from the public captions YouTube serves with the video. The transcript has 9,882 words across 1,623 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.