Lab 7 - ECE 421L
To create an array, change the end of the object name to have numbers in brackets, separated by a colon. For example, ending the object name with [7:0] will create an array of eight inverters, each referred to as 0 through 7.
Once the properties have been changed, we want to connect the inverters to a circuit. To work with arrays, we use a bus. A bus is essentially multiple arcs that will connectcorresponging arrays together. To begin, select the bus tool.
We will connect the inverter array to the bus using exports, as we have done before. Export the off-page pins using the same [7:0] numbering we have used for the inverter.
To connect a bus to a wire, we use a junction. The junction allows us to change the sizes of the bus. In this example, we will be using it to connect a single arc input to all eight bus connections. We will be testing the inverters on different loads, using identical inputs but different outputs.
As we can see, we treat each segment of the bus as its own node. In this situation, they are all identical as there is no load, the inputs and outputs to all eight inverters is identical. Lets try connecting different loads to a few of the bus segments.
To connect to a bus segment, create a wire arc, and name it with a number at the end, for example out[0]. Once named, this can connect directly to the bus, and will be connected to the 0 segment. We will run a simulation below.A link to my .jelib file is located here.
This concludes the Lab 7 report for EE 421. Please direct any comments or suggestions to Stryder Loveday, at the e-mail address listed above.