... discussed in Chapter 12
,
User-Defined Primitives.)
12 'b 111 1_0000 _10 10 // Use of underline characters for readability
4'b10?? // Equivalent of a 4'b10zz
3 .1. 5 Strings
A string ... from 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b,
c, d, e, f. Only a subset of these digits is legal for a particular base. Uppercase letters are
legal for number specification.
4'b 111...
... variable part select, one can choose parts
byte = data1[ 31- :8]; //starting bit = 31, width =8 => data[ 31: 24]
byte = data1[24+:8]; //starting bit = 24, width =8 => data[ 31: 24]
byte = data2[ 31- :8]; ... between n 1- bit
registers and one n-bit register. A particular word in memory is obtained by using the
address as a memory array subscript.
reg mem1bit[0 :10 23]; // Memor...
... of 41- bit virtual address 1fe0000001c at time 200
reg [0:40] virtual_addr;
$display("At time %d virtual address is %h", $time, virtual_addr);
At time 200 virtual address is 1fe0000001c ...
Partial output of the monitor statement:
0 Value of signals clock = 0 reset = 1
5 Value of signals clock = 1 reset = 1
10 Value of signals clock = 0 reset = 0
Stopping and fini...
... [ Team LiB ]
2 .1 Design Methodologies
There are two basic types of digital design methodologies: a top-down design
methodology and ... leaf cells, which are the
cells that cannot further be divided. Figure 2 -1
shows the top-down design process.
Figure 2 -1. Top-down Design Methodology
In a bottom-up design methodology, we ...
2.3 Modules
We now relate these hierarchical mod...