
英伟达笔试题目ASIC.doc
3页英伟达笔试题目ASIC英伟达笔试题目-ASIC篇11.一段RTL代码,最终的电路面积不一样,请分析所有的可能2.If(a==1rs;b1)$display(“breakpoint1”);Else$display(“breakpoint2”);If(b===1rs;bz)$display(“breakpoint3”);Else$display(“breakpoint4”);如果a.b的输入都为_,请分析结果是什么3.分析主从端的req/ack信号的timing,给出了R_DATA.ADDR.W_DATA.CTRL.REQ.ACK信号,请画出时序图并分析英伟达笔试题目-ASIC篇24.给出一个电路图,分析有几个pipe stages,分别的功能是什么分析从发送数据到接受数据需要几级pipeline.修改电路减少pipeline但是pipe stages不变5.给出5个人的薪水,其中有三个人的是一样的,请用perl/tcl/c排列出薪水值由大到小,薪水一样的按照姓名的ACSII大小值排列英伟达笔试题目-ASIC篇36.将下列的C Code转换为RTL code.mem[256] = {6 5 5 4 4 4 4 3 3 3 3 3 3 3 32 2 2 2 2 2 2 2 2 2 2 2 2 2 2 21 1 1 1 1 1 1 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0} intarith_c::bin(int bit, intprob) {int left = 1 + (((high-1)_prob)>>8);if (bit) {low +=left;high -=left;} else {high =left;}int shift = norm[high];high <<=shift; count += shift;return count;}RTL codeModule arith(); input clk;input reset;//negative async resetinput bit;input [7:0] prob;input [31:0] count;Output [31:0] count_new; //this one is the return count in C code reg [31:0] low;//reset to 0;reg [7:0] high; //reset to 255;//fill your RTL here;// 第 3 页 共 3 页。
