HalfAdder半加法器,兩個bit相加,輸出sum和carry
123456789101112131415161718192021// This file is part of www.nand2tetris.org// and the book "The Elements of Computing Systems"// by Nisan and Schocken, MIT Press.// File name: projects/02/HalfAdder.hdl/** * Computes the sum of two bits. */CHIP HalfAdder
2024-01-03412 字1 分鐘
Nand2tetris心得
感想Nand2tetris是以實作project來讓學生更加認識電腦底層,project會設計到數位邏輯、設計簡單的cpu、組合語言、指令集、虛擬機,目前本人才開始做第一章,是利用HDL設計邏輯閘,且只限定使用Nand來實作,當中複習了笛摩根定理、真值表…等觀念,以下為我目前的實作
1234567891011121314AND閘 Nand自己做反相器CHIP And { IN a, b; OUT out; PARTS: //// Replace this comment with your code. Nand(a=a,b=b,out=n
2023-11-14186 字1 分鐘
如何將hexo建置在s3
需要用到
安裝aws-cli 在自己的電腦
安裝 hexo-deployer-aws-s3
建立hexo框架
配置
使用指令aws configure
利用LearnLab 配置SDK的config可以從 show detail查看
配置後檔案放在 user/.aws 有config和credentials
開啟bucket的ACL 才能將hexo deploy上12345deploy: type: aws-s3 bucket: bucketName region: Your Region
配置hexo config.yaml的deply
配置bucket Policy