<address id="ousso"></address>
<form id="ousso"><track id="ousso"><big id="ousso"></big></track></form>
  1. AMD筆試試題

    時間:2022-08-08 15:58:42 筆試題目 我要投稿
    • 相關推薦

    AMD筆試試題

      PART I: C++

    AMD筆試試題

      1. static global variable vs normal global variable; static local variable vs normal global variable.

      2. how to get current source file's filename and current line number using c++?

      3. use variable "a" to represent below contents

      1) "a" is a pointer to a integer,int *a;

      2) "a" is a pointer to a pointer to an integer. int **a;

      3) "a" is an array of 10 integers int a[10];

      4) "a" is an array to 10 pointers of integers int *a[10];

      5) "a" is a pointer to an array of 10 integers int (*a)[10]

      6) "a" is a pointer to a function that takes an integer argument and returns an integer.

      int (*a)(int);

      7) "a" is a pointer of 10 pointers to functions that takes an integer argument and returns an integer int (*a[10])(int)

      4. In c++ class, why does the destructor usually use virtual function? why doesnot use virtual function as constructor?

      5. What's the purpose of below function, func(2009)

      omitted (count how many 1s in the binary of n)

      6. write a recursive function to reverse a one-way linked list and return the head node.

      PART II. Verilog

      1. Computer architecture. Please draw the 5level pipeline structure of classic MIPS CPU.

      2. What's "Gray Code"? Please list the advantage of "Gray code". and implement (in verilog) a 2-bit Gray counter.

      3. What's the difference between synchronous fifoand asynchronous fifo? Please list the keys when asynchronous fifo.

      4. Use verilog the write a state-machine to cache a sequence of 11001101

      5. Use verilog to design a 8-bit comparer (only with atomic operator like "~, &, |, ^ and d=a?b:c)

      6. Describe an algorithm (fastest) to find the position of the highest bit 1 in a 16-bit unsigned integer.

      PART III.On Linux Design Verification and Computer Graphics

      1. Regular expression_r of IP address.

      2. Linux command. List 5 history commands entered.

      3. Shell programming. Please count the total line number of all the .c, .cpp, .hfiles under directory "mydir"

      4. Perl programming. Given arbitrary two strings, str1 and str2, and a file of name fn. write a program to replace all str1 in fn with str2.

      5. Design verification. What's the significance of coverage in Design Verification? Please list kinds of coverage and illuminate their function. How to improve coverage ?

      6. Computer Graphics. what's the difference between flat shading and gourand shading?

      7. Computer Graphics. what's the main advantage to render scene from Vertax and Index?

      8. Computer Graphics. Please describe the stages of how to transform a model space vertax?

      9. Computer Graphics. What's viewport clipping?

      10. Computer Graphics. What's the disadvantage to use Mipmap?

      筆試題

      1.選擇下面哪一個是時序電路。四個選項分別是ADD XOR Latch D-Flop

      2.問系統工作的最大時鐘頻率是否跟Hold time有關,并說明理由

      3.畫出下面兩個代碼綜合出來的電路圖,并說明原因

      a:if(aflag)

      begin

      opt1 <= a;

      opt2 <= b;

      end

      esle

      begin

      opt1 <= c;

      opt2 <= d;

      end

      always@(posedge clk)

      out_data <= opt1 +opt2;

      b: if(aflag)

      out_data <= a+b;

      else

      opt2 <= d;

      end

      always@(posedge clk)

      out_data <= opt1 +opt2;

      b: if(aflag)

      out_data <= a+b;

      else

      out_data <= c+d;

      4.用圖表說明下列腳本命令

      a: set_multicycle_path 4 -setup -from dffa/cp -to dffb/d

      b: set_multicycle_path 4 -setup -from dffa/cp -to dffb/d

      set_multicycle_path 4 -hold -from dffa/cp -to dffb/d

      //這三個命令不一定完全正確,憑記憶大概是這個樣子的

      5. 5分頻,用Verilog HDL/VHDL實現

      6. `timescale 1ns/1ps 與`timescale 1ns/50ps分別代表的意義以及區別

      7.分別用shell以及perl(或任一你熟知的腳本語言)將當前目錄下所有".c"文件后綴改成".cc"

    【AMD筆試試題】相關文章:

    2006年12月AMD筆試題07-31

    AMD GPU ASIC Design Engineer筆試題08-09

    2006年11月ATI(下屬AMD)筆試題及答案07-31

    java筆試題,筆試題目分享08-10

    ITT HR的筆試題目,筆試試題08-09

    synopsys CS筆試題,筆試試題分享08-09

    亞信科技筆試題,筆試題目分享08-09

    揚智Ali的筆試題,筆試題目分享08-09

    騰訊筆試題 試題分享08-09

    電廠筆試題 試題題目08-10

    <address id="ousso"></address>
    <form id="ousso"><track id="ousso"><big id="ousso"></big></track></form>
    1. 日日做夜狠狠爱欧美黑人