Skip to content

Commit

Permalink
updated something
Browse files Browse the repository at this point in the history
  • Loading branch information
wulffern committed Dec 28, 2023
1 parent bb8c1e1 commit 9afb796
Show file tree
Hide file tree
Showing 8 changed files with 236 additions and 29 deletions.
41 changes: 17 additions & 24 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@ SITE=${shell pwd}/docs

.PHONY: slides

FILES = lectures/l00_diode \
lectures/l00_refresher \
lectures/lp_project_report \
lectures/l01_intro \
lectures/l02_esd \
# lectures/l03_refbias \
lectures/l04_afe \
lectures/l05_sc \
lectures/l06_adc \
lectures/l07_vreg \
lectures/l08_pll \
lectures/l09_osc \
lectures/l10_lpradio \
lectures/l11_aver \
lectures/lx_energysrc
FILES = l00_diode \
l00_refresher \
lp_project_report \
l01_intro \
l02_esd \
# l03_refbias \
l04_afe \
l05_sc \
l06_adc \
l07_vreg \
l08_pll \
l09_osc \
l10_lpradio \
l11_aver \
lx_energysrc

all: posts latex book

posts:
-rm images.txt
cp syllabus.md docs/syllabus.md
cp plan.md docs/plan.md
${foreach f, ${FILES}, python3 py/lecture.py post ${f}.md || exit; }
${foreach f, ${FILES}, python3 py/lecture.py post lectures/${f}.md || exit; }
cd lectures; cat ../images.txt |xargs git add -f


Expand All @@ -36,17 +36,10 @@ jstart:
latex:
-mkdir pdf/media
python3 py/lecture.py latex lectures/tex_intro.md
${foreach f, ${FILES}, python3 py/lecture.py latex ${f}.md || exit ; }
${foreach f, ${FILES}, python3 py/lecture.py latex lectures/${f}.md || exit ; }
cd pdf; make one
cp pdf/aic.pdf docs/assets/

book:
cd pdf; make ebook
cp pdf/aic.epub docs/assets/

slides:
${foreach f, ${FILES}, ${MAKE} slide FILE=$f; }


slide:
python3 py/deckpdf.py ${FILE}.md docs/slides/
32 changes: 32 additions & 0 deletions dot/dig_des_lr.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
digraph G{

rankdir="LR";

node [margin=0.5 color=blue fontcolor=black fontsize=20 width=0.5 shape=box fontname="Helvetica"]
I [label="Idea",shape=egg]
D [label="Digital Design \n SystemVerilog"]
S [label="Digital Simulation \n iverilog/vpp/verilator/gtkwave"]
PNR [label="RTL to GDSII \nOpenRoad"]
TO [label="Tapeout",shape=egg]

AD [label="Analog Design \nXschem" color=red]
ASV [label="Analog Model \nSystemVerilog" color=blue]
AS [label="Analog Simulation \nngspice" color=red]
AL [label="Analog Layout \nMagic" color=red]
AV [label="LVS\nnetgen" color=red]
LPE [label="Parasitics\nMagic" color=red]
AGDS [label="GDSII"]

D -> S -> PNR -> TO
PNR -> S -> D


AD -> ASV -> D

I -> AD
I -> D

AD -> AS -> AL -> AV -> AGDS -> PNR
AV -> LPE -> AS
AL -> AS -> AD
}
31 changes: 31 additions & 0 deletions ex/pv_v.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/usr/bin/env python3

import numpy as np
import matplotlib.pyplot as plt

m = 1e-3
i_load = np.logspace(-5,-3)
i_load = np.linspace(1e-5,1e-3,200)

i_s = 1e-12

i_ph = 1e-3

V_T = 1.38e-23*300/1.6e-19

V_D = V_T*np.log((i_ph - i_load)/(i_s) + 1)

P_load = V_D*i_load


plt.subplot(2,1,1)
plt.plot(V_D,i_load/m)
plt.ylabel("Current load [mA]")
plt.grid()
plt.subplot(2,1,2)
plt.plot(V_D,P_load/m)
plt.xlabel("Diode voltage ")
plt.ylabel("Power Load [mW]")
plt.grid()
plt.savefig("pv.pdf")
plt.show()
74 changes: 74 additions & 0 deletions lectures/g00_m1p1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
footer: Carsten Wulff 2023
slidenumbers:true
autoscale:true
theme: Plain Jane, 1
text: Helvetica
header: Helvetica
date: 2024-01-06


<!--pan_title: Lecture 1 - Introduction -->

<!--pan_skip: -->
## TFE4188 - Advanced Integrated Circuits

# Project

---

![fit](../media/project_plan.pdf)

---

| Time | What |
|-------------|-----------------------------|
| 1015 - 1025 | Check-in |
| 1025 - 1100 | Ideas for Milestone |
| 1100 - 1115 | Break |
| 1115 - 1135 | Plan |
| 1135 - 1140 | Reflect |
| 1140 - 1150 | Discuss how the session was |

---

#[fit] 1015 - 1025: Check-in

Answer one question

- Share one thing that is going on in your life (personal or professional.)
- What is one thing that you are grateful for right now?
- What is something funny that happened?

---

#[fit] 1025 - 1100: Ideas for Milestone

#[fit] [M1 Checklist](https://www.ntnu.no/wiki/display/tfe4487/CNR+-+M1+checklist)

#[fit] $$ I = f(T) $$

---

#[fit] 1100 - 1115: Break

---

#[fit] 1115 - 1135: Plan

---

#[fit] 1135 - 1140: Reflect (Individual)

- On a scale of 1 to 5, how useful was todays meeting?
- What should you stop, continue, improve next time.


---
#[fit] 1140 - 1150: Discuss reflections

---


# Thanks!


76 changes: 76 additions & 0 deletions lectures/g01_m1p2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
footer: Carsten Wulff 2023
slidenumbers:true
autoscale:true
theme: Plain Jane, 1
text: Helvetica
header: Helvetica
date: 2024-01-06


<!--pan_title: Lecture 1 - Introduction -->

<!--pan_skip: -->
## TFE4188 - Advanced Integrated Circuits

# Project

---

![fit](../media/project_plan.pdf)



---

| Time | What |
|----|----|
| 1015 - 1025 | Check-in |
| 1025 - 1100 | Ideas for Milestone|
| 1100 - 1115 | Break |
| 1115 - 1135 | Plan |
| 1135 - 1140 | Reflect |
| 1140 - 1150 | Discuss how the session was |

---

#[fit] 1015 - 1025: Check-in

Answer one question

- Share one thing that is going on in your life (personal or professional.)
- What is one thing that you are grateful for right now?
- What is something funny that happened?

---

#[fit] 1025 - 1100: Ideas for Milestone

#[fit] $$ I = f(T) $$

---

#[fit] 1100 - 1115: Break

---

#[fit] 1115 - 1135: Plan

---

#[fit] 1135 - 1140: Reflect (Individual)

- On a scale of 1 to 5, how useful was todays meeting?
- What should we stop, continue, improve next time.


---
#[fit] 1140 - 1150: Discuss reflections




---

# Thanks!


7 changes: 4 additions & 3 deletions pdf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ hash:

one: fix hash
chmod -R 755 media
pdflatex aic.latex
pdflatex aic.tex
#-pdflatex -interaction nonstopmode --shell-escape aic.latex
-bibtex aic
pdflatex aic.latex
pdflatex aic.tex
#-pdflatex -interaction nonstopmode --shell-escape aic.latex

compress:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook \
-dNOPAUSE -dQUIET -dBATCH -sOutputFile=aic_compress.pdf aic.pdf

ebook:
cat aic.latex |perl -pe "s/fiximg/fiximg_png/ig" > aic_epub.latex
cat aic.tex |perl -pe "s/fiximg/fiximg_png/ig" > aic_epub.latex
pandoc --gladtex -o aic.epub aic_epub.latex

clean:
Expand All @@ -46,3 +46,4 @@ clean:
-rm *.xml
-rm *.pdf
-rm *.bcf
-rm *fiximg*.tex
File renamed without changes.
4 changes: 2 additions & 2 deletions pdf/version.tex
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{\noindent Built on Thu Dec 7 15:16:23 CET 2023} \\
{\noindent from 351ef746c1bd7329bf3a2ed348b26e895a2e7d46}
{\noindent Built on Thu Dec 28 11:34:47 CET 2023} \\
{\noindent from bb8c1e150c8c017cf4cf1801be7f35ec6c2a3c4b}

0 comments on commit 9afb796

Please sign in to comment.