WordPress.com
Part A1:An interconnect switch (IS) contains the following components, a shared memory (MEM), a system controller (SC) and a data crossbar (Xbar).Define the modules MEM, SC, and Xbar, using the module/endmodule keywords. You do not need to define the internals. Assume that the modules have no terminal lists.Define the module IS, using the module/endmodule keywords. Instantiate the modules MEM, SC, Xbar and call the instances mem1, sc1, and xbar1, respectively. You do not need to define the internals. Assume that the module IS has no terminals.Define a stimulus block (Top), using the module/endmodule keywords. Instantiate the design block IS and call the instance is1. This is the final step in building the simulation environment.2:A 4-bit ripple carry adder (Ripple_Add) contains four 1-bit full adders (FA).Define the module FA. Do not define the internals or the terminal list.Define the module Ripple_Add. Do not define the internals or the terminal list. Instantiate four full adders of the type FA in the module Ripple_Add and call them fa0, fa1, fa2, and fa3.Part B1:Practice writing the following numbers:Decimal number 123 as a sized 8-bit number in binary. Use _ for readability.A 16-bit hexadecimal unknown number with all x's.A 4-bit negative 2 in decimal . Write the 2's complement form for this number.An unsized hex number 1234.2:Are the following legal strings? If not, write the correct strings."This is a string displaying the % sign""out = in1 + in2""Please ring a bell \007""This is a backslash \ character\n"3:Are these legal identifiers?system11reg$latchexec$4:Declare the following variables in Verilog:An 8-bit vector net called a_in.A 32-bit storage register called address. Bit 31 must be the most significant bit. Set the value of the register to a 32-bit decimal number equal to 3.An integer called count.A time variable called snap_shot.An array called delays. Array contains 20 elements of the type integer.A memory MEM containing 256 words of 64 bits each.A parameter cache_size equal to 512.5:What would be the output/effect of the following statements?latch = 4'd12;$display("The current value of latch = %b\n", latch);in_reg = 3'd2;$monitor($time, " In register value = %b\n", in_reg[2:0]);`define MEM_SIZE 1024$display("The maximum memory size is %h", 'MEM_SIZE);Solution to Assignment 1 Part AQ: 1a) b)c)Q:2307657512382500a) b)Part B SolutionQ: 1a) 123 = 8’b0111_1011b) 16’hxc) -4’d2=4’b1110d) 32‘h1234Q:2a) “This is a string displaying the %% sign”b) “out=in1+in2”c) “Please ring a bell \007”d) “This is a backslash \\ character”Q:3Only (a) is identifier Q:4a) wire [7:0] a_in;b) reg [31:0] address=32’d3;c) integer cout;d) time snap_shot;e) integer delays [0:19];f) reg [63:0] MEM [0:255];g) parameter cache_size=512;Q:5a) The current value of latch =4’b1100b) 0 In register value = 3’b010c) The maximum memory size is ‘h400 ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- thapar institute of engineering and technology
- university of texas at austin
- lab 1 obtaining the quartus prime lite design tools intel
- overview creating web pages in your account computer
- systemverilog for verification a guide to learning the
- emips a dynamically extensible processor
- facultatea de automatica si calculatoare upb
Related searches
- wordpress passing data between pages
- wordpress business templates
- wordpress rss feed not working
- wordpress jquery is not defined
- create wordpress blog
- wordpress roles editor
- wordpress full rss feed
- wordpress rss feed settings
- wordpress rss feed plugin
- wordpress display rss feed
- wordpress rss feed link
- wordpress rss feed to post