Questions
- What are the advantages of an I2C bus?
a) We can move large amounts of data quickly.
b) We only need two wires to communicate.
c) Multiple devices can be connected using only two wires.
d) All of the above.
e) Only (b) and (c).
- What would be the preferred order of preference when you require a memory?
a) Use the IP catalog, infer, use
xpm_memory
b) Use
xpm_memory
, use the IP catalog, inferc) Infer, use
xpm_memory
, use the IP catalogd) Use the IP catalog, use
xpm_memory
, infer assign data = (data_en) ? 'z : '0;
a) Infers a multiplier
b) Infers a register
c) Infers a tristate IO
- Gray coding is used in FIFOs.
a) Always
b) To pass counter information across clock domains in an asynchronous FIFO
c) Only in synchronous FIFOs
The following code creates what kind of memory?
always @(posedge clk) begin if (wren) store[addr] <= din; dout <= store[addr]; end
a) Simple dual port
b) True dual port
c) Single port
d) ROM
...