Skip to content

Commit eef5296

Browse files
authored
Merge pull request zangman#22 from kirkster96/simple-adder-improvements
move motivation section to top of page.
2 parents b751599 + fd56a02 commit eef5296

2 files changed

+8
-6
lines changed

docs/Simple-Hardware-Adder_-Initial-Project-Setup.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@
2424

2525
We're going to create a template project and save it so that we can reuse it for other projects. To do this, we'll start with the GHRD project that comes with the de10-nano CD-ROM and remove a bunch of stuff to make it as simple as possible.
2626

27+
#### Why are we doing this?
28+
29+
Strictly speaking, you don't need to do all these edits. But it helps to make it as simple as possible to understand what is actually going on under the hood. I've found this approach helpful for my own learning and hope you will find it useful too. It also compiles the design much faster. For me, the original design with everything takes about 15 mins to compile. The trimmed down version takes less than 10 mins.
30+
31+
Of course, you can leave everything as is in the GHRD, in the platform designer as well as in quartus, and it will work perfectly.
32+
33+
2734
## Getting the project ready
2835

2936
Complete the following steps explained at the links below and proceed to the next section when done:
@@ -229,11 +236,6 @@ endmodule
229236

230237
Save the file and compile the design. If everything went right, you should not see any errors (ignore the warnings).
231238

232-
#### Why are we doing this?
233-
234-
Strictly speaking, you don't need to do all these edits. But it helps to make it as simple as possible to understand what is actually going on under the hood. I've found this approach helpful for my own learning and hope you will find it useful too. It also compiles the design much faster. For me, the original design with everything takes about 15 mins to compile. The trimmed down version takes less than 10 mins.
235-
236-
Of course, you can leave everything as is in the GHRD, in the platform designer as well as in quartus, and it will work perfectly.
237239

238240
#### Create a backup of this project
239241

docs/Simple-Hardware-Adder_-Wiring-the-components.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Let's talk a little bit about the memory addressing. We want our components to b
105105

106106
However, the `Base` and `End` addresses for all the 3 components that we added is exactly the same which won't work. Each one needs to have it's own non-overlapping address space.
107107

108-
For this, we edit the values in the `Base` column to ensure they're not overlapping. I prefer to keep them continuous, but you can give any address as long as it's between `0` and `0x3FF` as provided by the bridge component. Here is what my screen now looks like:
108+
For this, we edit the values in the `Base` column to ensure they're not overlapping. I prefer to keep them contiguous, but you can give any address as long as it's between `0` and `0x3FF` as provided by the bridge component. Here is what my screen now looks like:
109109
![](images/wiring_9.png)
110110

111111
#### Auto adjust address width

0 commit comments

Comments
 (0)