举一反三
- verilogHDL中 reg[n-1:0] mema;与 reg mema [n-1:0] ;两个语句是相同的,都是定义了reg型变量mema。
- reg[n-1:0]mema;与regmema[n-1:0];是相同的,都是定义了reg型变量。
- 如果要对输出y(位宽为8位)在过程块always里赋值,下列定义正确的是( )。 A: output [7:0] y; B: output reg [7:0] y; C: output [7:0] y;reg y; D: output [7:0] y;reg [7:0] y;
- 要用VerilogHDL定义一个1KB的RAM空间,下列语句合适的是 A: reg [7:0] my_RAM[0:1023] B: reg my_RAM[0:1023] C: wire [7:0] my_RAM[0:1023] D: wire my_RAM[0:1023]
- B类地址的缺省子网掩码是() A: 255、255、255、128 B: 255、255、255、0 C: 255、255、0、0 D: 255、255、128、0
内容
- 0
下列Verilog语句正确的是() A: wire[7..0] DATA; B: assign y<;=a&b; C: input reg d_in; D: reg [7:0] q;
- 1
【填空题】RGB( 0 , 0 , 0 )表示()色 RGB ( 255 , 255 , 255 ) 表示 ()色 RGB ( 255 , 0 , 0 )表示()色 RGB ( 0 , 0 , 255 )表示()色 RGB ( 0 , 255 , 0 )表示()色 RGB ( 255 , 255 , 0 )表示 ()色 RGB ( 255 , 0 , 255 )表示()色 RGB ( 0 , 255 , 255 )表示()色 RGB ( 128 , 128 , 128 )表示()色 RGB ( 1 , 1 , 1 )表示()色
- 2
在VBA中,将某个单元格的背景填充为绿色,文字颜色改为蓝色,则正确的是 A: Cells(row, col).Interior.Color = RGB(0, 255, 0):Cells(row, col).Font.Color = RGB(0, 0, 255) B: Cells(row, col).Interior.Color = RGB(0, 0, 255):Cells(row, col).Font.Color = RGB(0, 255, 0) C: Cells(row, col).Interior.Color = RGB(255, 255, 255):Cells(row, col).Font.Color = RGB(0, 0, 255) D: Cells(row, col).Interior.Color = RGB(0, 0, 0):Cells(row, col).Font.Color = RGB(0, 0, 255)
- 3
B类地址的缺省子网掩码是( )[br][/br]0分) A: 255、255、255、128 B: 255、255、255、0 C: 255、255、0、0 D: 255、255、1
- 4
下列数组描述中不正确的代码是()。 A: integercou[7:0]; B: regbool[16:0]; C: integermat[4:0][0:127]; D: reg[8*8:1]carray_value;