Skip to content

Commit 590c90b

Browse files
authored
docs(dn): Ghala Buarish 11/09/25 (#427)
* docs(dn)-Ghala-Buarish-11/09/25 * docs(dn)-Ghala-Buarish-11/09/25
1 parent 27dac26 commit 590c90b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

src/design_notebooks/2025fall/gb2789.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,33 @@ The hardest part is figuring out how to set up the testbench and write the first
6464
[RiSC-16 Project repository](https://github.com/Ghqlq/Processor-Design-Projects) - New files: instruction_mem.v, control.v
6565

6666
**Discussion:** The instruction memory was easier than I thought. I took so long because I was overthinking it. The control file was easy to write since it's based off the files we wrote earlier. It just took some time to write because I had to go back and forth to check what each case should be assigned as. This week when I looked at the design sheets for the processor I feel like I am starting to understand completely. Writing the control file made me put together all parts of the processor which gave me a more complete understanding of the design.
67+
68+
## Week9: 11/03/25 - 11/09/25
69+
- Completed labs 1 from Onboarding Labs.
70+
- Started on lab 2.
71+
72+
[Processor-Design VIP Project repository](https://github.com/Ghqlq/Processor-Design-Projects) - New folders: Lab1_Ghala, Lab2_Ghala
73+
74+
**Discussion Lab 1:** CMake
75+
76+
Answer the following:
77+
1. The paths used by target_sources and target_include_directories are relative, not absolute. What file or folder are they relative to?
78+
79+
To parent directory that contains CMakeLists.txt. In my case it's "Lab1_Ghala".
80+
81+
2. What are some differences between cmake and ninja?
82+
83+
CMake reads CMakeLists.txt and generates files that build the system.
84+
Ninja executed the generated build.
85+
86+
1. Why is it important to run cmake in its own directory?
87+
88+
Keeps the mess out of the src directory.
89+
90+
**Discussion Lab 2:** System Verilog
91+
92+
I had no major difficulty with writing the RTL files but I couldn't build the simulations using CMake/Ninja.
93+
I keep getting error `CMake Error at CMakeLists.txt:8 (nyu_link_sv):
94+
Unknown CMake command "nyu_link_sv".` and I am unsure of how to solve this.
95+
96+
**Confusions:** I still don't quiet get the differences between Ninja and CMake and I don't get the full purpose of them and why we're running them this way instead of directly from the src file. It says we are building a system, where is this system located and where is it running in the hardware?

0 commit comments

Comments
 (0)