Skip to content

Commit 504781e

Browse files
committed
Added system verilog video
1 parent acf2cbd commit 504781e

File tree

3 files changed

+25
-22
lines changed

3 files changed

+25
-22
lines changed

src/assets/style.css

+16-18
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
/*
2-
If your CSS is over 500 lines long
2+
If your CSS is over 1000 lines long
33
then you're doing something wrong.
44
*/
55

6+
/* Font */
7+
68
@font-face {
79
font-family: 'FiraSans';
810
font-display: swap;
@@ -24,7 +26,8 @@ body {
2426

2527
main {
2628
flex: 1;
27-
width: min(95%, 50rem);
29+
max-width: 50rem;
30+
width: 95%;
2831
margin: auto;
2932
}
3033

@@ -46,7 +49,7 @@ h1 {
4649
}
4750

4851
h2 {
49-
padding-bottom: 0.4em;
52+
padding-bottom: 0.3em;
5053
border-bottom: 1px solid #595959;
5154
}
5255

@@ -74,12 +77,11 @@ a:hover {
7477
/* Lists */
7578

7679
li {
77-
line-height: 1.8;
7880
margin: 1em;
7981
}
8082

8183
li.post-item {
82-
line-height: 1.5em;
84+
line-height: 1.3;
8385
list-style: none;
8486
}
8587

@@ -96,7 +98,6 @@ ul.comma-list {
9698

9799
ul.comma-list li {
98100
display: inline;
99-
line-height: 1;
100101
margin: 0;
101102
}
102103

@@ -117,14 +118,13 @@ ul.comma-list li:last-child:after {
117118
table {
118119
border-collapse: collapse;
119120
background-color: #2f2f2f;
121+
margin: auto;
120122
box-shadow: 0 0 0.5rem #000000;
121-
margin-left: auto;
122-
margin-right: auto;
123123
}
124124

125125
th,
126126
td {
127-
padding: 1em;
127+
padding: 0.8em;
128128
}
129129

130130
tr:nth-child(even) {
@@ -135,27 +135,25 @@ tr:nth-child(even) {
135135
/* Content */
136136

137137
img,
138-
video {
138+
video,
139+
iframe {
139140
display: block;
140141
max-width: 100%;
141-
height: auto;
142142
margin: 2rem auto 2rem auto;
143143
border-radius: 1rem;
144144
box-shadow: 0 0 0.5rem #000000;
145145
}
146146

147-
iframe {
148-
display: block;
149-
max-width: 100%;
150-
margin: 2rem auto 2rem auto;
151-
border-radius: 1rem;
152-
box-shadow: 0 0 0.5rem #000000;
147+
img,
148+
video {
149+
height: auto;
153150
}
154151

155152

156153
#glcanvas {
157154
width: 100%;
158-
height: min(50rem, 80vh);
155+
max-height: 50rem;
156+
height: 60vh;
159157
border-radius: 1rem;
160158
box-shadow: 0 0 0.5rem #000000;
161159
}

src/assets/verilog_snake.mp4

1.19 MB
Binary file not shown.

src/index.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Download my <a href="https://raw.githubusercontent.com/manforowicz/resume/main/r
99

1010
## Circuit Boards
1111

12-
I really like designing circuit boards.
12+
I enjoy designing circuit boards.
1313
Here are a few that I'm particularly proud of:
1414

1515
<div class="horizontal-container">
@@ -77,10 +77,15 @@ Some relevant courses I've taken at the University of Washington include:
7777

7878
- **The Hardware/Software Interface** - Here I learned to use gdb, read assembly, and understand memory layout.
7979

80-
- **Introduction to Digital Design** - Here I made a snake game on an FPGA, by writing a multi-file system verilog program.
81-
8280
- **Machine Learning** - Here I used PyTorch and Numpy to implement algorithms such as LASSO regression, stochastic gradient descent, and backpropagation.
8381

82+
- **Introduction to Digital Design** - Here I wrote a snake game in SystemVerilog. SystemVerilog is a language that compiles into logic gates and can be run on FPGAs (field programmable gate arrays).
83+
84+
<video width="854" height="480" controls preload="metadata" style="max-width: 75%;">
85+
<source src="/assets/verilog_snake.mp4" type="video/mp4">
86+
Your browser does not support the video tag.
87+
</video>
88+
8489

8590
## Book Recommendations
8691

@@ -112,4 +117,4 @@ This book derives a comprehensive framework for analyzing negotiations and creat
112117

113118

114119
### [How to Drive a Nuclear Reactor](https://www.goodreads.com/en/book/show/50878951) - Colin Tucker
115-
Ever wondered how a nuclear reactor works? How do they reliably and safely produce [10% of the world's electricity](https://ourworldindata.org/electricity-mix)? This book, written by a reactor operator, strikes the perfect balance between dumbed-down and too-technical.
120+
Ever wondered how a nuclear reactor works? How do they reliably and safely produce about [10% of the world's electricity](https://ourworldindata.org/electricity-mix)? This book, written by a reactor operator, strikes the perfect balance between dumbed-down and too-technical.

0 commit comments

Comments
 (0)