Mini-CPU ASM Chart & Datapath
ออกแบบและเขียนเอกสาร ASM chart กับ datapath ของ Mini-CPUDesigning and documenting the ASM chart and datapath of a Mini-CPU.
งานในรายวิชาCoursework · 2024
- ช่วงเวลาPeriod
- Aug 2024 — Sep 2024
- บทบาทRole
- ออกแบบและทำเอกสารDesign & documentation
- สถานะStatus
- เสร็จแล้วCompleted
- เทคโนโลยีที่ใช้Stack
- Digital logic, ASM chart, Datapath design
ภาพรวมOverview
งานในวิชา Digital Logic ที่ต้องออกแบบและจัดทำเอกสาร ASM diagram พร้อมเส้นทางข้อมูลของ Mini-CPU ตามข้อกำหนดที่โจทย์ให้มาA Digital Logic assignment: design and document the ASM diagram and datapath of a Mini-CPU to the given specification.
ผลลัพธ์คือชุดเอกสารที่ไล่ตั้งแต่สถานะ Idle ไปจนถึง Done ครบทุกเส้นทาง รวมถึงการโหลดโปรแกรมลง pRAM การอ่านคำสั่ง การตรวจความถูกต้อง และการเขียนผลลัพธ์ออกThe result is a document set covering every path from Idle to Done, including loading the program into pRAM, reading instructions, validating them, and writing results out.
สิ่งที่สำคัญWhat mattered
Every state accounted for
ทุกสถานะมีเส้นทางออกที่ชัดเจน รวมถึงเส้นทางของ reset ที่ต้องเคลียร์รีจิสเตอร์และที่อยู่ของ rRAM ให้กลับสู่ค่าเริ่มต้นEvery state has an explicit exit, including the reset path that clears the registers and returns the rRAM address to its initial value.
Datapath that matches the chart
แผนผังเส้นทางข้อมูลถูกวาดให้ตรงกับ ASM chart ทีละสัญญาณควบคุม ทั้งสองเอกสารจึงอ่านคู่กันได้โดยไม่ขัดกันเองThe datapath diagram was drawn to match the ASM chart control signal by control signal, so the two documents can be read side by side without contradicting each other.
Documented for the reader
เขียนคำอธิบายกำกับไว้ข้างแผนผังว่าแต่ละบล็อกทำอะไรและทำงานที่ขอบสัญญาณนาฬิกาช่วงไหน เพื่อให้คนที่ไม่ได้ออกแบบเองก็อ่านตามได้Notes beside the diagram explain what each block does and on which clock edge it acts, so someone who did not design it can still follow along.